BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

RedHat Exam EX447 Topic 9 Question 21 Discussion

Actual exam question for RedHat's EX447 exam
Question #: 21
Topic #: 9
[All EX447 Questions]

Create a file called packages.yml in /home/sandy/ansible to install some packages for the following hosts. On dev, prod and webservers install packages httpd, mod_ssl, and mariadb. On dev only install the development tools package. Also, on dev host update all the packages to the latest.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Tyra
5 months ago
True. Ensuring all packages are up-to-date on dev is key.
upvoted 0 times
...
Melina
5 months ago
Yes, the update part is crucial. Shouldn't miss that.
upvoted 0 times
...
Mireya
5 months ago
I agree. Also, important not to forget updating dev host with latest packages.
upvoted 0 times
...
Adell
5 months ago
The solution mentions 'present' state. Makes sense because it’s not asking for the latest.
upvoted 0 times
...
Tyra
5 months ago
Yeah, it requires understanding of Ansible and YAML.
upvoted 0 times
...
Melina
6 months ago
The exam question seems pretty detailed.
upvoted 0 times
...
Stephane
7 months ago
You can use the 'yum' module with the state set to 'latest'.
upvoted 0 times
...
Cassi
7 months ago
How can I update all packages on the dev host?
upvoted 0 times
...
Bettye
7 months ago
And on dev, also install the development tools package.
upvoted 0 times
...
Jerry
7 months ago
For dev, prod, and webservers, install httpd, mod_ssl, and mariadb.
upvoted 0 times
...
Cassi
7 months ago
What packages should I install on dev, prod, and webservers?
upvoted 0 times
...
Bettye
7 months ago
You can use the touch command to create the file.
upvoted 0 times
...
Cassi
7 months ago
How do I create a file called packages.yml?
upvoted 0 times
...

Save Cancel