Ansible for Network Automation Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Network Automation

What you'll be asked

  1. Which file format is primarily used by Ansible to define automation tasks and configuration playbooks?
  2. When managing network devices, which Ansible component is used to establish a connection to the device's management plane (e.g., SSH, NETCONF)?
  3. In an Ansible playbook, what is the primary purpose of the 'ansible_network_os' variable?
  4. You are writing a task to update a VLAN on a Cisco IOS switch. Which module is the industry standard for ensuring the configuration state is idempotent?
  5. You need to execute a task against a set of devices but only if the device is a spine switch. Which Ansible feature allows you to conditionally execute a task based on facts gathered from the device?

Answers and explanations come after you submit.