New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

RedHat EX294 Exam - Topic 11 Question 39 Discussion

Actual exam question for RedHat's EX294 exam
Question #: 39
Topic #: 11
[All EX294 Questions]

Create a playbook called regulartasks.yml which has the system that append the date to /root/datefile every day at noon. Name is job 'datejob'

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Serina
3 months ago
Totally agree, cron jobs are the way to go!
upvoted 0 times
...
Kris
3 months ago
Wait, does it really append instead of overwrite?
upvoted 0 times
...
Jarod
3 months ago
This is a neat way to log dates daily.
upvoted 0 times
...
Lizette
4 months ago
Sounds good, but what if the server is down at noon?
upvoted 0 times
...
Kristin
4 months ago
Just use cron to schedule the task!
upvoted 0 times
...
Ricarda
4 months ago
I think I need to use the 'cron' module, but I can't remember if I should specify the user or just the command.
upvoted 0 times
...
Mee
4 months ago
I feel a bit confused about the indentation in YAML files. I hope I don't mess that up while defining the job 'datejob'.
upvoted 0 times
...
Willard
4 months ago
This seems similar to the practice question where we had to schedule a backup. I hope I can recall the correct module to use for this task.
upvoted 0 times
...
Bambi
5 months ago
I think I remember how to set up a cron job in a playbook, but I'm not entirely sure about the syntax for appending the date.
upvoted 0 times
...
Adolph
5 months ago
This is straightforward, I've got this. I'll just put together the playbook with the cron task and test it out. Shouldn't take long at all.
upvoted 0 times
...
Suzan
5 months ago
Wait, do I need to create the /root/datefile first, or will Ansible handle that? I don't want to assume anything.
upvoted 0 times
...
Cruz
5 months ago
No problem, I've done this kind of thing before. I'll use the cron module to schedule the job and make sure the file gets updated daily.
upvoted 0 times
...
Andra
5 months ago
Okay, this looks straightforward. I'll need to create a playbook file and define the task to append the date to the /root/datefile at noon.
upvoted 0 times
...
Buffy
5 months ago
Hmm, not sure how to schedule the task to run at a specific time. I'll need to research Ansible's time-based modules or triggers.
upvoted 0 times
...
Dana
5 months ago
The OS Administration Page sounds like it could be the right answer, but I'm not 100% confident. I'll have to think this through a bit more.
upvoted 0 times
...
Darrin
5 months ago
This looks like a pretty straightforward setup for posting Use Tax to separate accounts by tax rate. I think option A is the best approach - setting up the automatic accounting instructions to post to a BU.OBJ and then creating the chart of accounts with the tax authority as the SUB.
upvoted 0 times
...
Camellia
10 months ago
This is straightforward enough, but I wonder if there's a way to make it more dynamic, like getting the date from a variable or something.
upvoted 0 times
Silva
9 months ago
User1: Exactly, that way your playbook will always use the current date without hardcoding it.
upvoted 0 times
...
Denny
9 months ago
User2: That's a good idea. Then you can use that variable in your playbook to append the date to the file.
upvoted 0 times
...
Kenny
9 months ago
User1: You can use the date command to get the current date and time in a variable.
upvoted 0 times
...
...
Barrett
10 months ago
Haha, 'datejob' - sounds like a job even I could do without messing up!
upvoted 0 times
Yuki
9 months ago
The solution provided in the image looks clear and easy to follow for creating the playbook.
upvoted 0 times
...
Lorean
9 months ago
Yeah, 'datejob' does sound like a job anyone could handle without any issues.
upvoted 0 times
...
Donte
9 months ago
That playbook seems pretty straightforward, just need to append the date to a file at noon every day.
upvoted 0 times
...
...
Meaghan
10 months ago
Wait, is 'datejob' the name of the task or the cron job? I'm a little confused there.
upvoted 0 times
...
Nancey
10 months ago
Looks good to me! Cron job to append the date to a file - easy peasy!
upvoted 0 times
Earnestine
9 months ago
User1: Got it, thanks for the explanation!
upvoted 0 times
...
Malcolm
9 months ago
User3: The job name should be 'datejob' as mentioned in the question.
upvoted 0 times
...
Robt
10 months ago
User2: Yes, and make sure to add the system that appends the date to /root/datefile every day at noon.
upvoted 0 times
...
Mattie
10 months ago
User1: I think I got it, just need to create a playbook called regulartasks.yml, right?
upvoted 0 times
...
...
Cathrine
11 months ago
The solution provided in the image seems clear and straightforward. We just need to follow the steps to complete the task.
upvoted 0 times
...
Edmond
11 months ago
Yes, that's correct. We need to name the job 'datejob' and the playbook 'regulartasks.yml'.
upvoted 0 times
...
Cathrine
11 months ago
I think the question is asking us to create a playbook for a task that appends the date to a file every day at noon.
upvoted 0 times
...

Save Cancel