Ansible for Network Automation Quiz Questions and Answers

How would you write comments on Jinja2?

Answer :
  • {##}

What is the default inventory path?

Answer :
  • /etc/ansible/hosts

For network Automation which python library is required to support advanced use of IP addresses?

Answer :
  • python-netaddr

Which command is correct for getting information about network_cli?

Answer :
  • ansible-doc -t connection network_cli

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

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

The module used to gather facts on IOS network device is ________.

Answer :
  • ios_facts

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

Answer :
  • ios_ping

If a password is required to escalate privilege, and you'd like to be prompted to provide it, then which option is used?

Answer :
  • --ask-become-pass
  • -K

The default become method is________.

Answer :
  • sudo

To explicitly specify a particular inventory file or dynamic inventory program, we use_________.

Answer :
  • --inventory=INVENTORY
  • -i INVENTORY