Courseiva
Infrastructure and AutomationeasyMultiple SelectObjective-mapped

200-901 Infrastructure and Automation Practice Question

Which TWO of the following are characteristics of the YANG data modeling language that make it suitable for network automation? (Select two)

⚠ Common exam trap

Cisco often tests the distinction between a data modeling language (YANG) and a serialization format (XML/JSON), so candidates mistakenly select 'YANG is a markup language like XML' because they associate YANG with XML-based NETCONF messages.

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 defines data types and constraints

YANG is a data modeling language that defines the structure, syntax, and semantics of configuration and state data, including explicit data types (e.g., string, uint32) and constraints (e.g., range, pattern, mandatory). This strict typing and validation ensure that network devices receive well-formed data, reducing errors in automation workflows.

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 defines data types and constraints

    Why this is correct

    YANG provides a type system and constraints to ensure data validity.

  • YANG is human-readable only

    Why it's wrong here

    YANG is both human-readable and machine-readable.

  • YANG is a markup language like XML

    Why it's wrong here

    YANG is a modeling language, not a markup language.

  • YANG supports both configuration and operational state data

    Why it's wrong here

    This is true but not a unique characteristic; the key is its use with protocols.

  • YANG can be used with NETCONF and RESTCONF

    Why this is correct

    YANG models are transported via NETCONF and RESTCONF.

About these practice questions

This 200-901 question is part of Courseiva's 989-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 200-901 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 200-901 exam.