Which Ansible module is used to run commands on a network device that supports only CLI access and does not have a Python interpreter?
Network Modules
Question · Easy
In an Ansible inventory for network automation, which connection plugin should be specified for Cisco IOS devices accessed via SSH CLI?
Inventory And Connections
Which variable must be set in the Ansible inventory to specify that a network device is running Juniper Junos?
Tech Exam Prep Podcast
Listen on Spotify
Podcast
Which Ansible module configures static routes on Cisco IOS devices and is part of the `cisco.ios` collection?
Question · Medium
When running an Ansible playbook against network devices, which task attribute prevents accidental changes by only showing what would change without actually applying it?
Playbook Execution
Which Ansible connection plugin is used when managing Juniper JunOS devices via NETCONF over SSH?
In Ansible network automation, what does the `state: gathered` parameter do in a resource module like `cisco.ios.ios_interfaces`?
Which Ansible module configures VLANs on Arista EOS switches as part of the `arista.eos` collection?
In Ansible, what is the purpose of `host_vars/` and `group_vars/` directories in network automation projects?
Which Ansible module sends a list of raw CLI commands to a Cisco IOS device and returns the output?
A network automation playbook uses a Jinja2 template to generate interface configurations. Which Ansible module renders a Jinja2 template and deploys the result to a target device configuration file?
Configuration Generation
In Ansible network automation, what is the difference between `state: merged` and `state: replaced` in resource modules?
Which `ansible-galaxy` command installs the `cisco.ios` collection required for Cisco IOS automation?
In an Ansible playbook for network devices, why is `gather_facts: false` typically set at the play level?
Which Ansible module pushes a block of configuration text directly to a network device's running configuration via CLI?
What is the primary benefit of using Ansible network resource modules (like `cisco.ios.ios_bgp_global`) over raw `cli_config` or `ios_command` modules?
Which Ansible module is specifically designed to gather facts from Cisco IOS network devices?
In Ansible, how do you iterate over a list variable `interfaces` to configure multiple network interfaces with the same task?
In Ansible Vault, which command encrypts an existing file containing network device credentials?
Security
A playbook task uses `register: result` on a `cisco.ios.ios_command` task. How do you access the command output in a subsequent debug task?
Which Ansible module configures OSPF on Cisco IOS devices using the resource module pattern?
To back up the running configuration from a Cisco IOS device to a local file, which task approach is most straightforward in a network automation playbook?
Configuration Management
In an Ansible network automation inventory file, which variable sets the privilege escalation password (enable password) for Cisco IOS devices?
Which Jinja2 filter in Ansible is used to extract specific data from a network device's CLI output when using TextFSM or NTC Templates?
Question · Hard
An Ansible playbook is used to configure NX-OS devices. Which collection provides resource modules for Cisco NX-OS?
In an Ansible network automation role, what is the recommended way to make a task notify a handler to save the device configuration after changes?
Which Ansible module is used to configure interfaces on Arista EOS devices, including IP addresses, description, and admin state?
When running `ansible-playbook` against a large network inventory, which flag limits execution to only the hosts matching a specific pattern?
In Ansible, what is the purpose of the `when` conditional in a network automation task?
Which Ansible module manages BGP global configuration on Juniper JunOS devices?
An Ansible playbook needs to use different credentials for each network device vendor. What is the best approach?
In Ansible network automation, what is the purpose of the `ansible.utils.cli_parse` module?
To test an Ansible playbook's syntax before running it on network devices, which command is used?
Which `ansible-playbook` flag increases the verbosity of output, showing SSH negotiation details and module arguments, useful for troubleshooting network connectivity issues?
In Ansible network automation, what is the `ansible_network_os` variable used for?
A network automation playbook needs to wait until a newly configured BGP neighbor reaches the Established state before proceeding. Which module and approach handles this?
In an Ansible requirements.yml file used with `ansible-galaxy collection install -r requirements.yml`, what is the correct format for specifying the cisco.ios collection at version 5.3.0?
A Junos device needs to have a NETCONF configuration applied atomically (all-or-nothing). Which Ansible module enables this for Juniper JunOS?
Which Ansible module deploys a configuration generated from a Jinja2 template to a Cisco IOS router, overwriting all current interface configuration?
In Ansible network automation, what does setting `serial: 1` in a play accomplish?
Which Ansible module allows sending NETCONF RPC requests to network devices in raw XML format for operations not covered by resource modules?
When automating Cisco NX-OS devices with Ansible, which value should `ansible_network_os` be set to?
A network engineer needs to automate a change across 200 switches but wants to ensure changes work on 5% of devices first. Which Ansible feature supports this progressive rollout?
In an Ansible network automation project, what is the best use of Ansible roles?
Which Ansible inventory plugin is used to dynamically generate inventory from a network management system or IPAM tool?
In a Junos Ansible play, which task configuration enables NETCONF on a Juniper device that currently only has SSH CLI configured?
Which module configures ACLs (Access Control Lists) on Cisco IOS devices using the structured resource module approach?
Loading more…