RHCE Ansible Inventory Management Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 8865 | Total Attempts: 106,055
| Questions: 20 | Updated: Aug 16, 2026
Please wait...
Question 1 / 21
🏆 Rank #--
0 %
0/100
Score 0/100

1. Which file stores host variables in a directory-based inventory structure?

Submit
Please wait...
About This Quiz
RHCE Ansible Inventory Management Quiz - Quiz

This quiz evaluates your understanding of Ansible inventory management, a core skill for RHCE certification. You will be tested on inventory file formats, host variables, group definitions, dynamic inventory, and inventory plugins. Master these concepts to effectively manage infrastructure automation with Ansible.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. In inventory, the 'ansible_user' variable specifies the ______ for SSH connections.

Submit

3. What is the purpose of the 'ungrouped' group in Ansible inventory?

Submit

4. How do you enable an inventory plugin in ansible.cfg?

Submit

5. Which inventory plugin is commonly used for AWS EC2 instances?

Submit

6. What does the 'hosts: localhost' directive mean in an inventory?

Submit

7. In a YAML inventory, how do you define multiple hosts under a group?

Submit

8. Which variable specifies the SSH port for a host in inventory?

Submit

9. What is the ansible_host variable used for?

Submit

10. How do you define group variables in a directory-based inventory?

Submit

11. Which file format is the default for Ansible static inventory?

Submit

12. In Ansible, what does the 'all' group represent?

Submit

13. How do you specify a custom inventory file location in an Ansible command?

Submit

14. What is the default location for Ansible inventory file if not specified?

Submit

15. Which tool can be used to create dynamic inventory from cloud providers?

Submit

16. What is dynamic inventory in Ansible?

Submit

17. In YAML inventory format, how do you define a host group with variables?

Submit

18. Which variable type is specific to an individual host in Ansible inventory?

Submit

19. What is the purpose of the 'hosts' keyword in an Ansible inventory file?

Submit

20. In an INI-style inventory, how do you define a group of hosts?

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Which file stores host variables in a directory-based inventory...
In inventory, the 'ansible_user' variable specifies the ______ for SSH...
What is the purpose of the 'ungrouped' group in Ansible inventory?
How do you enable an inventory plugin in ansible.cfg?
Which inventory plugin is commonly used for AWS EC2 instances?
What does the 'hosts: localhost' directive mean in an inventory?
In a YAML inventory, how do you define multiple hosts under a group?
Which variable specifies the SSH port for a host in inventory?
What is the ansible_host variable used for?
How do you define group variables in a directory-based inventory?
Which file format is the default for Ansible static inventory?
In Ansible, what does the 'all' group represent?
How do you specify a custom inventory file location in an Ansible...
What is the default location for Ansible inventory file if not...
Which tool can be used to create dynamic inventory from cloud...
What is dynamic inventory in Ansible?
In YAML inventory format, how do you define a host group with...
Which variable type is specific to an individual host in Ansible...
What is the purpose of the 'hosts' keyword in an Ansible inventory...
In an INI-style inventory, how do you define a group of hosts?
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!