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

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

Install and configure ansible

User sandy has been created on your control node with the appropriate permissions already, do not change or modify ssh keys. Install the necessary packages to run ansible on the control node. Configure ansible.cfg to be in folder /home/sandy/ansible/ansible.cfg and configure to access remote machines via the sandy user. All roles should be in the path /home/sandy/ansible/roles. The inventory path should be in /home/sandy/ansible/invenlory.

You will have access to 5 nodes.

node3.example.com

Configure these nodes to be in an inventory file where node I is a member of group dev. nodc2 is a member of group test, node3 is a member of group proxy, nodc4 and node 5 are members of group prod. Also, prod is a member of group webservers.

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Alexis
4 months ago
Not sure about the host_key_checking=false setting. Seems risky!
upvoted 0 times
...
Aileen
4 months ago
Definitely prefer B for the sudo method.
upvoted 0 times
...
Gwenn
4 months ago
Surprised they didn't mention the inventory typo in A!
upvoted 0 times
...
Solange
4 months ago
I think A is missing the proxy group for node3.
upvoted 0 times
...
Jules
4 months ago
Looks like option B has the right become_method!
upvoted 0 times
...
Claudia
5 months ago
I think I remember that "host_key_checking=false" is important for avoiding SSH issues, but I’m not completely confident about the indentation in the inventory file.
upvoted 0 times
...
Aliza
5 months ago
I feel like I might have mixed up the node names in the inventory. Did we have to include all nodes in their respective groups exactly as mentioned?
upvoted 0 times
...
Julene
5 months ago
I think the inventory file needs to have the correct groupings, but I'm not sure if I got the syntax right for the groups.
upvoted 0 times
...
Erick
5 months ago
I remember practicing a similar question where I had to set the roles path, but I can't recall if I should use "become_method=sudo" or just leave it out.
upvoted 0 times
...
Laila
5 months ago
Okay, I remember learning about the HDFS file access model in class. The key is that it's optimized for large, unchanging data, so the answer is definitely True.
upvoted 0 times
...
Laurene
5 months ago
Okay, let me see. I remember learning that Cimetidine can interfere with testosterone metabolism, leading to gynecomastia. I'm pretty confident that's the right answer here.
upvoted 0 times
...

Save Cancel