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 22 Discussion

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

Create user accounts

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

--> A list of users to be created can be found in the file called user_list.yml

save to /home/admin/ansible/

--> Using the password vault created elsewhere in this exam, create a playbook called

create_user.yml

that creates user accounts as follows:

--> Users with a job description of developer should be:

--> created on managed nodes in the "dev" and "test" host groups assigned the

password from the "dev_pass"

variable and these user should be member of supplementary group "devops".

--> Users with a job description of manager should be:

--> created on managed nodes in the "prod" host group assigned the password from

the "mgr_pass" variable

and these user should be member of supplementary group "opsmgr"

--> Passwords should use the "SHA512" hash format. Your playbook should work using

the vault password file

created elsewhere in this exam.

while practising you to create these file hear. But in exam have to download as per

questation.

user_list.yml file consist:

---

user:

- name: user1

job: developer

- name: user2

job: manager

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Lashaunda
4 months ago
I thought we were supposed to create users for "dev" only, not "test" too?
upvoted 0 times
...
Charlene
4 months ago
Yup, and don't forget to verify the vault password file is set up correctly!
upvoted 0 times
...
Filiberto
4 months ago
Wait, are we really using SHA512 for passwords? Seems a bit outdated.
upvoted 0 times
...
Rikki
4 months ago
Totally agree, the YAML structure is key for this to work.
upvoted 0 times
...
Elizabeth
4 months ago
Just a heads up, make sure to check the user_list.yml format!
upvoted 0 times
...
Deonna
5 months ago
I definitely need to double-check the syntax for the `loop` and `vars_files` sections; I remember making a mistake in those areas during practice.
upvoted 0 times
...
Jovita
5 months ago
I feel confident about using the `when` condition to filter users based on their job descriptions, but I hope I don't mix up the groups for developers and managers.
upvoted 0 times
...
Mitzie
5 months ago
I think we had a similar question about user creation in one of the mock exams, but I can't recall if we used the SHA512 hash format for passwords back then.
upvoted 0 times
...
Davida
5 months ago
I remember we practiced creating user accounts with Ansible, but I'm a bit unsure about how to reference the vault password correctly in the playbook.
upvoted 0 times
...
Cyndy
5 months ago
This looks like a tricky BGP routing question. I'll need to carefully analyze the network topology and configuration details to determine the correct number of routing entries in Client2's BGP table.
upvoted 0 times
...
Brittney
5 months ago
Okay, I've got a strategy here. Since the question is specifically about the default deny action, I'm guessing I need to look at the Security policy to see how that traffic is being handled. Option B sounds like the right approach to me.
upvoted 0 times
...
Kiley
5 months ago
Okay, I think I've got a handle on this. The key is to make sure the build pipeline can access the on-premises dependency management system. The Microsoft-hosted agent pool with the Windows Server 2019 image should work, and the Java Tool Installer task will set up the necessary Java environment. I'll go with the provided solution.
upvoted 0 times
...

Save Cancel