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 2 Question 40 Discussion

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

Create a playbook called packages.yml that:

----------------------------------------------

--> Installs the php and mariadb packages on hosts in the dev, test, and prod host

groups.

--> Installs the Development Tools package group on hosts in the dev host group.

--> Updates all packages to the latest version on hosts in the dev host group.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Jame
3 months ago
Just a heads up, make sure the hosts are properly defined in your inventory!
upvoted 0 times
...
Rasheeda
3 months ago
Solid playbook, but why not use `apt` for Debian-based systems?
upvoted 0 times
...
Jerry
3 months ago
Wait, why exclude kernel packages? Seems risky.
upvoted 0 times
...
Raelene
4 months ago
Agree, using `state: latest` is the way to go.
upvoted 0 times
...
Filiberto
4 months ago
Looks good, but don't forget to check the syntax!
upvoted 0 times
...
Eden
4 months ago
I think the playbook structure looks right, but I'm a bit confused about how to handle the `hosts` declaration for the Development Tools installation. Should it be separate?
upvoted 0 times
...
Estrella
4 months ago
I believe we should definitely include the `exclude` option for the kernel packages when updating, but I wonder if there are other packages we should exclude as well.
upvoted 0 times
...
Marisha
4 months ago
I practiced a similar question where we had to install multiple packages, but I can't recall if we used `vars` correctly in this context.
upvoted 0 times
...
Jarod
5 months ago
I think I remember that we need to use the `yum` module for installing packages, but I'm not entirely sure about the syntax for the `state` parameter.
upvoted 0 times
...
Shanda
5 months ago
The playbook structure looks good. I like how they're using variables for the package names. That'll make it easy to update in the future.
upvoted 0 times
...
Josphine
5 months ago
Okay, I see we need to install packages on different host groups. The tasks look clear, but I'm a bit unsure about the "state: latest" part. Does that mean it will update all the packages?
upvoted 0 times
...
Sabine
5 months ago
Hmm, not sure about the "hosts" line. Do we need to specify the host groups explicitly or can we just use "all"?
upvoted 0 times
...
Justine
5 months ago
This looks like a pretty straightforward Ansible playbook. I think I can handle this.
upvoted 0 times
...
Lawrence
5 months ago
This is a good example of using Ansible to manage packages across different environments. I think I've got a handle on how to approach this type of question.
upvoted 0 times
...
Yvonne
5 months ago
This seems like a pretty straightforward question. The users need a single screen in a model-driven app, so I think the answer is to modify the site map. That should give me the functionality I need to configure the app correctly.
upvoted 0 times
...
Gregoria
5 months ago
I'm a bit confused by all the TOGAF terminology in this question. I'll need to review my notes on the TOGAF ADM to make sure I understand the different steps and deliverables they're asking about.
upvoted 0 times
...
Latanya
5 months ago
I think the answer is B. Step Over allows you to bypass a node without single-stepping through it.
upvoted 0 times
...
Junita
2 years ago
So, we just follow the solution provided and create the playbook accordingly.
upvoted 0 times
...
Paul
2 years ago
Yes, and don't forget we also have to install the Development Tools on the dev host group.
upvoted 0 times
...
Alpha
2 years ago
The playbook also needs to update all packages to the latest version on the dev hosts, right?
upvoted 0 times
...
Junita
2 years ago
I believe we have to specify the packages like php and mariadb to be installed on different host groups.
upvoted 0 times
...
Paul
2 years ago
I think we need to use the yaml format to define the tasks and hosts.
upvoted 0 times
...
Alpha
2 years ago
I have no idea how to create a playbook for this.
upvoted 0 times
...
Lorrine
2 years ago
Got it, thanks for clarifying the importance of updating packages. I feel more confident now.
upvoted 0 times
...
Hana
2 years ago
Yes, updating packages regularly can help prevent vulnerabilities and ensure smooth operation of the system.
upvoted 0 times
...
Muriel
2 years ago
I believe it's important to keep all packages up to date for security and performance reasons.
upvoted 0 times
...
Lorrine
2 years ago
I'm a bit confused about the part where we need to update all packages on hosts in the dev group.
upvoted 0 times
...
Hana
2 years ago
I agree, but the solution provided looks clear and straightforward.
upvoted 0 times
...
Muriel
2 years ago
I think the question about creating a playbook called packages.yml seems tricky.
upvoted 0 times
...

Save Cancel