EX407 Actual Exam Questions

Last updated on Nov. 21, 2024.
Vendor:RedHat
Exam Code:EX407
Exam Name:Red Hat Certified Specialist in Ansible Automation exam
Exam Questions:100
 

Topic 1 - Exam A

Question #1 Topic 1

Examine the following inventory excerpt file named /home/user/ansible/inventory. [dbservers] db1.example.com
Which of the following files does Ansible check for variables related to that inventory? (Choose all that apply.)

  • A. /home/user/ansible/dbservers
  • B. /home/user/ansible/host_vars/db1.example.com
  • C. /home/user/ansible/host_vars/db1
  • D. /home/user/ansible/group_vars/dbservers
Reveal Solution Hide Solution   Discussion   1

Correct Answer: BD 🗳️

Question #2 Topic 1

Which flags must be accepted as input for a dynamic inventory script?

  • A. Only --list
  • B. --host [hostname] and --list
  • C. --host [hostname] and --inv-list
  • D. --list and --format [file format]
Reveal Solution Hide Solution   Discussion  

Correct Answer: B 🗳️

Question #3 Topic 1

A dynamic inventory must return data in what format?

  • A. JSON
  • B. XML
  • C. YAML
  • D. INI
Reveal Solution Hide Solution   Discussion  

Correct Answer: A 🗳️

Question #4 Topic 1

Which is the default inventory file used by Ansible?

  • A. ${PWD}/.inventory
  • B. /etc/hosts
  • C. /etc/ansible/inventory
  • D. /etc/ansible/hosts
Reveal Solution Hide Solution   Discussion  

Correct Answer: D 🗳️

file Viewing page 1 out of 25 pages.
Viewing questions 1-4 out of 100 questions
Next Questions
Browse atleast 50% to increase passing rate cup
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago