Which of these are valid as the first thing in a playbook? (Choose all that apply.)
A. --
B. - tasks: name=
C. --- # this is a comment
D. - hosts: local
State whether the following statement is true or false.
You can change the no of forks ansible uses from the /etc/ansible/ansible.cfg file.
A. True
B. False
State whether the following statement is true or false.
The following command can be used to filter facts to pull out the ip address for the target host.
ansible local -m setup -a "filter=ansible_default_ipv4"
A. True
B. False
State whether the following statement is true or false.
A template can only use 1 variable.
A. True
B. False
State whether the following statement is true or false.
The following is allowed in a playbook.
-
tasks:
yaml:
name=yum.
-
hosts: local
A.
True
B.
False
State whether the following statement is true or false.
If you create your own ansible facts file, it can be executable.
A. True
B. False
State whether the following statement is true or false.
Ansible tower can be used to manage your ansible systems.
A. True
B. False
State whether the following statement is true or false.
There is a 10 user trial available.
A. True
B. False
SIMULATION
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.
A.
SIMULATION
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.
A.
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Red Hat exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your EX407 exam preparations and Red Hat certification application, do not hesitate to visit our Vcedump.com to find your solutions here.