350-601 Automation Practice Question
Which TWO of the following are valid methods to run Python scripts on a Cisco Nexus switch? (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
✓
OnEX
Guest Shell provides a Linux environment for Python, and OnEX is a Python interpreter built into NX-OS.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Cobra SDK
Why it's wrong here
Cobra SDK is for ACI automation, not for running scripts on Nexus.
- ✗
NX-API REST
Why it's wrong here
NX-API is for API calls, not running Python scripts.
- ✗
acitoolkit
Why it's wrong here
acitoolkit is a Python library for ACI, not a NX-OS execution environment.
- ✓
OnEX
Why this is correct
Correct: OnEX is a native Python interpreter on NX-OS.
- ✓
Guest Shell
Why this is correct
Correct: Guest Shell allows running Python scripts in a secure Linux container.
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.