Ansible for Network Automation Quiz Questions and Answers

What is the default inventory path?

Answer :
  • /etc/ansible/hosts

How would you write comments on Jinja2?

Answer :
  • {##}

The recommended practice to use the ansible.cfg file is_______.

Answer :
  • The current working directory ./ansible.cfg

Which module is used for the partition of block devices?

Answer :
  • parted

YAML uses declarative language.

Answer :
  • True

How many types of inventory files are supported by ansible?

Answer :
  • 2

What is a configuration management tool?

Answer :
  • All of the above

Inventory file can be in which format?

Answer :
  • INI format
  • YAML format

The playbook is a combination of multiple plays.

Answer :
  • True

What is a playbook?

Answer :
  • A playbook is a YAML file containing one or more plays.