Courseiva
hardMultiple SelectObjective-mapped

CCNP Practice Question: Which three statements about YANG data models are…

Which three statements about YANG data models are true? (Choose three.)

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

YANG is used to define data models for NETCONF and RESTCONF.

The correct answers are A, C, and E. A is correct because YANG is used to model configuration and operational data in NETCONF and RESTCONF. C is correct because YANG uses a tree-like hierarchical structure with containers and lists. E is correct because YANG supports data types such as string, int32, and enumeration. B is incorrect because YANG models are not written in XML; they use a custom syntax similar to SMIv2. D is incorrect because YANG modules are not compiled into MIB files; MIBs are for SNMP.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • YANG is used to define data models for NETCONF and RESTCONF.

    Why this is correct

    Correct because YANG is the standard data modeling language for NETCONF and RESTCONF.

  • YANG models are written in XML syntax.

    Why it's wrong here

    Incorrect because YANG uses its own syntax, not XML.

  • YANG supports hierarchical data structures using containers and lists.

    Why this is correct

    Correct because YANG uses containers and lists to organize data hierarchically.

  • YANG modules are compiled into MIB files for SNMP.

    Why it's wrong here

    Incorrect because YANG is not compiled into MIBs; MIBs are for SNMP.

  • YANG includes built-in data types such as string, int32, and enumeration.

    Why this is correct

    Correct because YANG provides a set of built-in data types.

About these practice questions

This 350-401 question is part of Courseiva's 1,175-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 350-401 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-401 exam.