Skip to content

Ansible Basics Quiz

Back to Quiz Home


Validation of fundamental Ansible concepts.


#

Which command is used to run a playbook?

#

What is the default location for the Ansible configuration file?

#

Which file is used to define the hosts and groups of hosts upon which commands, modules, and tasks in a playbook operate?

#

Ansible uses which protocol to connect to Linux nodes by default?

#

What language are Ansible Playbooks written in?

#

Which module is used to check connectivity to target hosts?

#

How do you check the syntax of a playbook without executing it?

#

What is a "Task" in Ansible?

#

Which keyword is used to elevate privileges (e.g., sudo)?

#

Which of the following is NOT a valid Ansible variable scope?

#

What is the purpose of the -i flag in Ansible commands?

#

Which module is used to manage packages on RedHat-based systems?

#

What is an Ansible "Role"?

#

What command allows you to see the documentation for a module?

#

Which default group includes all hosts in the inventory?

#

What is the purpose of the gather_facts directive?

#

Which directory in a Role contains the main list of tasks to be executed?

#

How do you define a variable in a playbook?

#

What does the debug module do?

#

Which command is used to download roles from Ansible Galaxy?

Quiz Progress

0 / 0 questions answered (0%)

0 correct