Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
sale

Want to Unlock All Questions for this Exam?

Full Exam Access, Discussions, No Robots Checks

RedHat EX407 Exam Actual Questions

The questions for EX407 were last updated on April 13, 2024.
  • Viewing page 1 out of 25 pages.
  • Viewing questions 1-4 out of 100 questions

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  

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 🗳️

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.

SaveCancel
Loading ...