350-601 Automation Practice Question
Which Ansible module from the cisco.nxos collection is used to apply a set of CLI commands on a Nexus switch?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
nxos_config
nxos_config applies raw CLI commands or configuration snippets. nxos_vlan, nxos_interface, and nxos_bgp are purpose-built for specific features.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
nxos_vlan
Why it's wrong here
nxos_vlan is for VLAN configuration only.
- ✗
nxos_interface
Why it's wrong here
nxos_interface is for interface configuration.
- ✗
nxos_bgp
Why it's wrong here
nxos_bgp is for BGP configuration.
- ✓
nxos_config
Why this is correct
nxos_config applies CLI commands to NX-OS.
Go deeper
Related to this question
About these practice questions
Courseiva writes every 350-601 question from scratch — 984 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 350-601 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 350-601 exam.