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 14 Question 38 Discussion

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

Create the users in the file usersjist.yml file provided. Do this in a playbook called users.yml located at /home/sandy/ansible. The passwords for these users should be set using the lock.yml file from TASK7. When running the playbook, the lock.yml file should be unlocked with secret.txt file from TASK 7.

All users with the job of 'developer' should be created on the dev hosts, add them to the group devops, their password should be set using the pw_dev variable. Likewise create users with the job of 'manager' on the proxy host and add the users to the group 'managers', their password should be set using the pw_mgr variable.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Elza
3 months ago
Why do we need a separate group for managers? Seems unnecessary.
upvoted 0 times
...
Vincenza
3 months ago
I thought all users should be created on the same host?
upvoted 0 times
...
Nancey
3 months ago
Totally agree, using variables for passwords is a smart move!
upvoted 0 times
...
Glory
4 months ago
Wait, we have to unlock the lock.yml? That's a bit extra.
upvoted 0 times
...
Bronwyn
4 months ago
Sounds straightforward, just need to follow the playbook steps.
upvoted 0 times
...
Sharee
4 months ago
I recall something about using variables for passwords, like pw_dev and pw_mgr. I just need to make sure I apply them to the right user groups in the playbook.
upvoted 0 times
...
Lavonda
4 months ago
I feel a bit confused about how to unlock the vault with the secret.txt file. Was it just a command line argument we needed to use?
upvoted 0 times
...
Edna
4 months ago
I think we did a similar question where we had to create users based on their roles. I hope I can remember the right syntax for adding them to groups.
upvoted 0 times
...
Salome
5 months ago
I remember we practiced creating users in a YAML file, but I'm not entirely sure how to reference the lock.yml for passwords correctly.
upvoted 0 times
...
Justine
5 months ago
Hmm, this looks like it might require a bit of conditional logic to handle the different user types and password variables. I'll need to review my Ansible knowledge on conditionals and variables to make sure I approach this correctly.
upvoted 0 times
...
Olen
5 months ago
I think I've got a good handle on this. I'll create the playbook, use the usersjist.yml file to define the users, and leverage the lock.yml file with the secret.txt file to set the passwords. Should be a straightforward task as long as I follow the instructions carefully.
upvoted 0 times
...
Mozell
5 months ago
The part about creating the 'developer' users on the dev hosts and the 'manager' users on the proxy host, and setting their passwords using different variables, seems a bit tricky. I'll need to make sure I have the right host groups and variable names.
upvoted 0 times
...
Paris
5 months ago
Okay, so I need to create users based on the usersjist.yml file, and set their passwords using the lock.yml file. I'll need to make sure I have the secret.txt file to unlock the lock.yml file.
upvoted 0 times
...
Lou
5 months ago
This looks like a straightforward task, but I'll need to carefully read through the requirements to make sure I don't miss anything.
upvoted 0 times
...
Kristel
5 months ago
This is a great opportunity to showcase my machine learning skills. I think I would start with option C - using Ground Truth to label the data and then training a binary classification model with IP Insights. That way I can leverage Amazon's specialized security algorithm while still having control over the model training process.
upvoted 0 times
...
Glory
5 months ago
Hmm, this question seems a bit tricky. I'll need to think through the VLAN switching scheme options carefully.
upvoted 0 times
...
Ira
2 years ago
And users with the job 'manager' go on proxy host and added to 'managers' group with password set using pw_mgr variable.
upvoted 0 times
...
Aleta
2 years ago
Exactly, they should also be added to the group devops and their password set using pw_dev variable.
upvoted 0 times
...
Buddy
2 years ago
So, all users with the job 'developer' should be created on the dev hosts, right?
upvoted 0 times
...
Ira
2 years ago
The passwords for these users should be set using the lock.yml file from TASK7.
upvoted 0 times
...
Aleta
2 years ago
Yes, we need to create users in the usersjist.yml file provided.
upvoted 0 times
...
Buddy
2 years ago
I think the question is about creating users in a file using Ansible playbook.
upvoted 0 times
...
Chaya
2 years ago
I will make sure to include the explanation command when running the playbook.
upvoted 0 times
...
Daron
2 years ago
Adding users to specific groups based on job roles makes managing access easier.
upvoted 0 times
...
Joni
2 years ago
Yes, running the playbook with the vault password file is crucial for securing the passwords.
upvoted 0 times
...
Chaya
2 years ago
I think using the playbook and variables provided can simplify the task.
upvoted 0 times
...
Daron
2 years ago
I agree, creating users in different groups based on host and job can be complex.
upvoted 0 times
...
Joni
2 years ago
This question seems tricky.
upvoted 0 times
...

Save Cancel