350-501 Automation and Assurance Practice Question
A service provider is automating the provisioning of MPLS L3VPNs across multiple devices using NETCONF. During a deployment, the automation script fails with an error indicating that the device does not support the required YANG model. Which action should the engineer take to verify device capabilities?
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
✓
Use the hello message exchange to check supported YANG modules via capabilities.
NETCONF hello message exchange includes the list of supported YANG modules in the capabilities. This is the standard way to discover device capabilities. Other options are either not standard or would not provide the required information.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Use the hello message exchange to check supported YANG modules via capabilities.
Why this is correct
The NETCONF hello message includes capabilities such as supported YANG models, making this the correct approach.
- ✗
Use CLI show command to list YANG models.
Why it's wrong here
While some devices may have a show command, it is not standardized and not the recommended method for NETCONF automation.
- ✗
Use RESTCONF with GET to retrieve device capabilities.
Why it's wrong here
RESTCONF does not have a standard way to retrieve capabilities; the hello exchange is NETCONF-specific.
- ✗
Use SNMP to check device OID.
Why it's wrong here
SNMP does not directly indicate YANG model support; it uses OIDs from MIBs, not YANG.
Go deeper
Related to this question
About these practice questions
One of 971 original 350-501 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-501 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-501 exam.