350-601 Automation Practice Question
A network engineer needs to retrieve the operational state of interfaces from a Nexus switch using a YANG-based protocol. Which protocol should be used to get structured data via REST?
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
✓
RESTCONF
RESTCONF uses RESTful operations and can return data in JSON or XML over HTTP/HTTPS. NETCONF uses SSH. NX-API CLI returns text. SNMP is not YANG-based.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
NETCONF
Why it's wrong here
NETCONF uses SSH, not REST.
- ✓
RESTCONF
Why this is correct
RESTCONF is RESTful and supports YANG data models.
- ✗
NX-API CLI
Why it's wrong here
NX-API CLI returns text output, not structured data.
- ✗
SNMP
Why it's wrong here
SNMP uses MIBs, not YANG.
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.