Handsome Savings - Limited Time Offer 30% OFF - Ends In 0d 0h 0m 0s Coupon code: 50OFF
Welcome to QA4Exam
Logo

- Trusted Worldwide Questions & Answers

RedHat EX447 Exam Actual Questions

The questions for EX447 were last updated on Sep 30, 2024.
  • Viewing page 1 out of 5 pages.
  • Viewing questions 1-5 out of 26 questions
Unlock Access to All 26 Questions & Answers
Question No. 1

Create a file called mysecret.yml on the control host using ansible vault in home/bob/ansible. Set the password to 'notasafepass' and inside the file create a variable called dev_pass with the value of devops. Save the file. Then go back in the file and change dev_pass value to devops123. Then change the vault password of mysecret.yml to verysafepass

Show Answer Hide Answer
Correct Answer: A

Question No. 2

Create a playbook /home/bob/ansible/timesync.yml that runs on hosts in the webservers host group and does the following:

* Uses the timesync RHEL system role.

* Sets the ntp server to 0.uk.pool.ntp.org

* Sets the timezone to UTC

Show Answer Hide Answer
Correct Answer: A

Question No. 3

Create a role called sample-apache and store it in /home/bob/ansible/roles. The role should

satisfy the following requirements:

*In the role, install and enable httpd. Also enable the firewall to allow http. Also run the template

*index.html.j2 and make sure this runs Create a template index.html.j2 that displays "Welcome to the server HOSTNAME"

In a play called apache.yml in /home/bob/ansible/ run the sample-apache role.

Show Answer Hide Answer
Correct Answer: A

Question No. 4

Using the Simulation Program, perform the following tasks:

1. Use an ansible ad-hoc command, check the connectivity of your servers.

2. Use an ad-hoc ansible command, find the free space of your servers.

3. Use an ad-hoc ansible command, find out the memory usage of your servers.

4. Do an ls -l on the targets /var/log/messages file.

5. Tail the contents of the targets /var/log/messages file.

Show Answer Hide Answer
Correct Answer: A

Question No. 5

Using the Simulation Program, perform the following tasks:

Ad-Hoc Ansible Commands (Number Two) Task:

1. Use the ad-hoc command to make sure php is installed.

2. Use the ad-hoc command to make sure that php is installed and is the latest version.

3. Use the ad-hoc command to make sure that httpd is installed.

4. Use the ad-hoc command to remove httpd from the servers.

Show Answer Hide Answer
Correct Answer: A

Product Image

Unlock All Questions for RedHat EX447 Exam

Full Exam Access, Actual Exam Questions, Validated Answers, Anytime Anywhere, No Download Limits, No Practice Limits

Get All 26 Questions & Answers