- A
Cisco NX-API with Python requests
NX-API provides RESTful API for direct configuration via Python.
- B
SSH CLI commands via Paramiko
Why wrong: While possible, it's less efficient than NX-API for automation.
- C
Ansible playbook
Why wrong: Ansible is a separate automation tool, not a Python script tool.
- D
SNMP SET commands
Why wrong: SNMP is not designed for configuration deployment.
Quick Answer
The answer is Cisco NX-API with Python requests, as it provides a RESTful API interface on Nexus switches that accepts structured JSON payloads via HTTP/HTTPS, enabling direct and efficient VLAN deployment without intermediate protocols. This approach leverages the requests library to send configuration commands programmatically, making it the most appropriate tool for script-driven automation in a data center environment. On the Cisco DCCOR / CCNP Data Center Core 350-601 exam, this question tests your understanding of native automation interfaces versus overlay tools like Ansible or NETCONF, which add unnecessary layers for simple VLAN tasks. A common trap is choosing Ansible because of its popularity, but NX-API is the direct, lightweight method for Python scripts targeting Nexus switches. Memory tip: think “API for single-switch scripts, Ansible for multi-switch orchestration”—when the question says “Python scripts” and “automate deployment,” NX-API is the direct path.
350-601 Automation Practice Question
This 350-601 practice question tests your understanding of automation. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A network engineer wants to automate the deployment of a new VLAN across all Cisco Nexus switches in a data center using Python scripts. Which tool is most appropriate for this task?
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
Cisco NX-API with Python requests
Cisco NX-API provides a RESTful API interface on Nexus switches, allowing direct HTTP/HTTPS calls to configure VLANs programmatically. Using Python's requests library, you can send structured JSON payloads to the API endpoint, making it the most direct and efficient method for script-driven automation without requiring intermediate tools or protocols.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Cisco NX-API with Python requests
Why this is correct
NX-API provides RESTful API for direct configuration via Python.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
SSH CLI commands via Paramiko
Why it's wrong here
While possible, it's less efficient than NX-API for automation.
- ✗
Ansible playbook
Why it's wrong here
Ansible is a separate automation tool, not a Python script tool.
- ✗
SNMP SET commands
Why it's wrong here
SNMP is not designed for configuration deployment.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Cisco often tests the distinction between direct programmatic APIs (NX-API) and higher-level automation tools (Ansible) or legacy methods (SNMP, SSH), expecting candidates to recognize that the question's emphasis on 'Python scripts' points to a library-based API call rather than a separate automation framework.
Detailed technical explanation
How to think about this question
NX-API uses either XML or JSON over HTTP/HTTPS, with the 'message' key containing the CLI commands in a structured format (e.g., 'show vlan' or 'vlan 100'). Under the hood, the API translates these into NX-OS CLI commands, but returns structured output (JSON/XML) instead of raw text, enabling programmatic parsing. In real-world scenarios, using NX-API with Python allows for idempotent VLAN creation by checking the current VLAN list before applying changes, reducing configuration errors.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A help-desk technician troubleshoots why a newly connected PC cannot reach shared printers on the same floor. The cable is good, the switch port is active, but the PC is in VLAN 20 and the printers are in VLAN 10. The uplink trunk only allows VLAN 10. A trunk being up does not mean every VLAN crosses it.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Automation — study guide chapter
Learn the concepts, then practise the questions
- →
Automation practice questions
Targeted practice on this topic area only
- →
All 350-601 questions
500 questions across all exam domains
- →
Cisco DCCOR / CCNP Data Center Core 350-601 study guide
Full concept coverage aligned to exam objectives
- →
350-601 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related 350-601 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Network practice questions
Practise 350-601 questions linked to Network.
Compute practice questions
Practise 350-601 questions linked to Compute.
Storage Network practice questions
Practise 350-601 questions linked to Storage Network.
Automation practice questions
Practise 350-601 questions linked to Automation.
Security practice questions
Practise 350-601 questions linked to Security.
350-601 fundamentals practice questions
Practise 350-601 questions linked to 350-601 fundamentals.
350-601 scenario practice questions
Practise 350-601 questions linked to 350-601 scenario.
350-601 troubleshooting practice questions
Practise 350-601 questions linked to 350-601 troubleshooting.
Practice this exam
Start a free 350-601 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this 350-601 question test?
Automation — This question tests Automation — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Cisco NX-API with Python requests — Cisco NX-API provides a RESTful API interface on Nexus switches, allowing direct HTTP/HTTPS calls to configure VLANs programmatically. Using Python's requests library, you can send structured JSON payloads to the API endpoint, making it the most direct and efficient method for script-driven automation without requiring intermediate tools or protocols.
What should I do if I get this 350-601 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 11, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.