FREE Ansible MCQ Questions and Answers

0%

An Ansible inventory file is what?

Correct! Wrong!

Explanation:
The list of target hosts that Ansible will manage is included in an inventory file. It is a straightforward text file that can be organized in several ways.

Describe Ansible.

Correct! Wrong!

Explanation:
Ansible is an open-source program that offers task automation, application deployment automation, and configuration management automation. Automating tedious operations makes IT infrastructure administration simpler.

What does the Ansible playbook serve as?

Correct! Wrong!

Explanation:
The configuration and deployment processes necessary to automate the process are specified in an Ansible playbook. A list of tasks that must be carried out on the target host is contained in a YAML file.

How is the target hosts' communication with Ansible handled?

Correct! Wrong!

Explanation:
Ansible uses SSH to communicate with the target hosts. SSH is a safe protocol that offers authentication and encryption.

What is the Ansible inventory file's default location?

Correct! Wrong!

Explanation:
The Ansible inventory file's default location is /etc/ansible/hosts. By altering the inventory variable in the ansible.cfg configuration file, this can be done.

An Ansible module is what?

Correct! Wrong!

Explanation:
Ansible modules carry out particular tasks, such as managing packages, configuring services, or copying files. Playbooks can utilize many of the built-in modules that Ansible has to offer.

Which language is used to write Ansible?

Correct! Wrong!

Explanation:
Python is used to create Ansible. Python is a well-liked option for automation tools since it is a high-level programming language that is simple to read and write.

Premium Tests $49/mo
FREE November-2024