350-601 Automation Practice Question
Which two of the following are valid methods to automate Nexus switch configuration using Python? (Choose two.)
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
✓
Using the cisco_nxapi Python library
cisco_nxapi is a Python library for Nexus API. Guest Shell allows running Python scripts on-box. EEM uses Tcl, not Python natively. NETCONF uses Python via ncclient, but not natively on Nexus. Ansible is not Python library.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Using NETCONF with Python
Why it's wrong here
NETCONF is a protocol, not a Python-specific method.
- ✗
Using Ansible with Python modules
Why it's wrong here
Ansible is a separate tool, not a Python library.
- ✗
Writing Python scripts for EEM applets
Why it's wrong here
EEM applets traditionally use Tcl, not Python (though newer versions support Python).
- ✓
Using the cisco_nxapi Python library
Why this is correct
cisco_nxapi provides Python bindings for NX-API.
- ✓
Running Python scripts in Guest Shell on the switch
Why this is correct
Guest Shell enables Python execution directly on Nexus.
Go deeper
Related to this question
About these practice questions
One of 984 original 350-601 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.