Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

RedHat Exam EX294 Topic 5 Question 62 Discussion

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

Create and run an Ansible ad-hoc command.

--> As a system administrator, you will need to install software on the managed

nodes.

--> Create a shell script called yum-pack.sh that runs an Ansible ad-hoc command to

create yum-repository on each of the managed nodes as follows:

--> repository1

-----------

1. The name of the repository is EX407

2. The description is "Ex407 Description"

3. The base URL is http://content.example.com/rhel8.0/x86_64/dvd/BaseOS/

4. GPG signature checking is enabled

5. The GPG key URL is http://content.example.com/rhel8.0/x86_64/dvd/RPM-GPG-KEYredhat-

release

6. The repository is enabled

--> repository2

-----------

1. The name of the repository is EXX407

2. The description is "Exx407 Description"

3. The base URL is http://content.example.com/rhel8.0/x86_64/dvd/AppStream/

4. GPG signature checking is enabled

5. The GPG key URL is http://content.example.com/rhel8.0/x86_64/dvd/ RPM-GPG-KEYredhat-

release

6. The repository is enabled

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Ellen
9 days ago
I feel confident about running the shell script yum-pack.sh as it simplifies the task of creating and enabling repositories on multiple nodes.
upvoted 0 times
...
Meaghan
10 days ago
I agree with you, Omer. It helps in automating the process and ensures consistency across all managed nodes.
upvoted 0 times
...
Omer
12 days ago
I think creating the Ansible ad-hoc command for setting up yum repositories is important for managing nodes efficiently.
upvoted 0 times
...

Save Cancel