Configuration Management with Ansible Quiz Questions and Answers

What is the default inventory path?

Answer :
  • /etc/ansible/hosts

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

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

Which module is used to check ICMP ping in IOS devices?

Answer :
  • ios_ping

Default modules used in ad-hoc command is_________.

Answer :
  • command

Command to get ansible documentation of a module is________.

Answer :
  • ansible-doc < module >

A correct variable defined is_______.

Answer :
  • web_server

Which module is used for the partition of block devices?

Answer :
  • parted

Which module supports the configuration of mount points on /etc/fstab?

Answer :
  • Mount

What is a playbook?

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

The default become method is______.

Answer :
  • sudo