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 7 Question 19 Discussion

Actual exam question for RedHat's EX447 exam
Question #: 19
Topic #: 7
[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:

Larae
4 months ago
Candidate 6: It seems like a detailed question that tests our ability to configure package installations in Ansible playbooks.
upvoted 0 times
...
Emile
4 months ago
Candidate 5: I agree, and we should also be careful with the syntax and indentation in the YAML file to ensure it runs correctly.
upvoted 0 times
...
Reiko
4 months ago
Candidate 4: So, the solution involves using the yum module with the state parameter set to present for most packages and latest for updating all packages on dev.
upvoted 0 times
...
Mireya
5 months ago
Candidate 3: Additionally, on dev host we also need to install the development tools package and update all packages to the latest.
upvoted 0 times
...
Brynn
5 months ago
Candidate 2: Yes, we need to make sure that on dev, prod, and webservers the packages httpd, mod_ssl, and mariadb are installed.
upvoted 0 times
...
Berry
5 months ago
Candidate 1: I think the question is asking us to create a file called packages.yml and install specific packages on different hosts.
upvoted 0 times
...
Milly
5 months ago
Got it, I'll make sure to follow the solution explanation provided for this question.
upvoted 0 times
...
Tula
5 months ago
The key here is to use the 'present' state for installing packages and 'latest' state for updating on dev.
upvoted 0 times
...
Dean
5 months ago
Yeah, and don't forget to mention updating all packages to the latest on the dev host only.
upvoted 0 times
...
Milly
5 months ago
Makes sense, we need to specify the packages for dev, prod, and webservers accordingly.
upvoted 0 times
...
Tula
6 months ago
I think we should use YAML syntax to define the packages and hosts.
upvoted 0 times
...
Dean
6 months ago
This question seems tricky, we need to create a file with specific packages installed.
upvoted 0 times
...

Save Cancel