What switch needs to be added to prevent the following command from failing: ansible all -m user -a "name=jsmith state=present"
A. -b
B. -f
C. -x
D. -v
Which of the following are valid default locations for Ansible configuration? (Choose all that apply.)
A. etc/ansible/ansible.cfg
B. ${HOME}/.ansible.cfg
C. ${ANSIBLE_CONFIG}
D. /etc/ansible/config
Presuming the inventory is not dynamic, Ansible inventories can be specified using what two file formats?
A. XML and JSON
B. JSON and JAML
C. YAML and INI
D. XML and INI
An Ansible inventory may contain which of the following? (Choose all that apply.)
A. Variable declarations
B. Groups
C. Hosts
D. Plays
Which module returns Ansible facts?
A. The facts module
B. It is a side effect of the ping module
C. Facts are gathered when you run any module in ad-hoc mode
D. The setup module
What does the -a flag allow you to specify?
A. Allows a user to specify arguments for a given module.
B. Tells ansible to run in ad-hoc mode.
C. The -a flag has no use in Ansible.
D. Tells ansible to run against all hosts.
Which of the following is a good use case for an ad-hoc command? (Choose all that apply.)
A. Experimenting with an Ansible Module
B. Installing the netcat utility on application servers
C. Checking the free memory on a particular group of hosts
D. Upgrading a custom 3-tier application stack
Where is Ansible's inventory stored by default?
A. .etc/ansible/hosts
B. /home/ansible/inventory
C. etc/ansible/inventory
D. ${HOME}/inventory for the currently logged in user
In what format are ansible playbooks written?
A. JSON
B. YAML
C. XML
D. Ansible Proprietary Format (APF)
What special character is used to designate that you are passing a variable file to a play using the -e flag?
A. The plugs sign: "+"
B. There is no special character required.
C. The at symbol: "@"
D. The pipe: "|"
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.