Courseiva
AI and Network OperationsmediumMultiple ChoiceObjective-mapped

CCNA AI and Network Operations Practice Question

Which pairing is correct?

⚠ Common exam trap

A frequent exam trap is confusing JSON with YANG or NETCONF with spanning-tree enhancements. JSON is a data format, not a modeling language, so pairing it with YANG modules is incorrect. Similarly, NETCONF is often mistakenly thought to be related to spanning-tree protocols, but it is actually a network configuration protocol. Candidates might also confuse YANG’s role with JSON’s syntax or RESTCONF’s protocol function. This confusion arises because these technologies often work together but serve distinct purposes. Understanding each technology’s specific role prevents selecting incorrect answers based on superficial similarities.

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 — protocol that can use YANG-defined data models over HTTP-based access

RESTCONF is an HTTP-based API approach that commonly uses YANG-defined data models. JSON is a data-interchange format, YANG is the data modeling language, and NETCONF is a network management protocol rather than an STP feature.

Answer analysis

Option-by-option breakdown

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

  • JSON — data modeling language used to define network schemas such as YANG modules

    Why it's wrong here

    The pairing is incorrect because JSON (JavaScript Object Notation) is a lightweight, text-based data-interchange format, not a data modeling language. It uses curly braces and arrays to represent structured data, but it cannot define network schemas or modules. In the YANG ecosystem, JSON is often used as an encoding format for data that is modeled by YANG, but the modeling language itself is YANG, not JSON.

    When this WOULD be correct

    If the exam question asked about data modeling languages specifically for network configurations, and the context was about defining schemas in a broader sense, then option A could be correct if it referred to a hypothetical scenario where JSON was being used in a similar capacity as YANG.

  • YANG — lightweight interchange format built from curly braces and arrays

    Why it's wrong here

    The pairing is incorrect because YANG (Yet Another Next Generation) is a data modeling language used to define network schemas, constraints, and semantics for configuration and operational data. It uses a hierarchical tree-like syntax with modules and statements, not curly braces and arrays. The description of a lightweight interchange format with curly braces and arrays actually refers to JSON, which is a data serialization format, not a modeling language.

    When this WOULD be correct

    If the question asked for a description of a data format used for configuration management that is similar to JSON, or if it specifically referenced YANG's role in defining data structures in a JSON-like syntax, then option B could be considered correct.

  • RESTCONF — protocol that can use YANG-defined data models over HTTP-based access

    Why this is correct

    RESTCONF is an IETF-standard protocol (RFC 8040) that exposes YANG-defined data models through a RESTful API over HTTP/HTTPS. It uses HTTP methods like GET, POST, PUT, PATCH, and DELETE to access configuration and state data, making it ideal for programmatic network automation and integration with web-based tooling. The pairing is correct because RESTCONF specifically bridges YANG models with HTTP-based access.

  • NETCONF — spanning-tree enhancement for rapid convergence

    Why it's wrong here

    The pairing is incorrect because NETCONF is a network management protocol, defined in RFC 6241, that provides mechanisms to install, manipulate, and delete configuration on network devices using XML-based messages over SSH or TLS. It has nothing to do with spanning-tree or rapid convergence. Rapid convergence is a feature of spanning-tree enhancements like Rapid Spanning Tree Protocol (RSTP) or Multiple Spanning Tree Protocol (MSTP), which are unrelated to NETCONF.

    When this WOULD be correct

    If the exam question asked about protocols related to network topology or enhancements to spanning-tree protocols, and if it specified a focus on rapid convergence techniques, then a candidate might correctly identify NETCONF as a relevant technology in that context.

Option-by-option analysis

Why each answer is right or wrong

Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The 200-301 exam frequently reuses these exact scenarios with slightly different constraints.

RESTCONF — protocol that can use YANG-defined data models over HTTP-based accessCorrect answer

Why this is correct

RESTCONF is an IETF-standard protocol (RFC 8040) that exposes YANG-defined data models through a RESTful API over HTTP/HTTPS. It uses HTTP methods like GET, POST, PUT, PATCH, and DELETE to access configuration and state data, making it ideal for programmatic network automation and integration with web-based tooling. The pairing is correct because RESTCONF specifically bridges YANG models with HTTP-based access.

JSON — data modeling language used to define network schemas such as YANG modulesWrong answer — click to see why

Why this is wrong here

Option A is incorrect because JSON is a lightweight data interchange format, not a data modeling language used for defining network schemas like YANG modules. YANG is specifically designed for modeling configuration and state data in network devices.

★ When this WOULD be the correct answer

If the exam question asked about data modeling languages specifically for network configurations, and the context was about defining schemas in a broader sense, then option A could be correct if it referred to a hypothetical scenario where JSON was being used in a similar capacity as YANG.

Why candidates choose this

Candidates might find this option tempting due to a misunderstanding of JSON's role in data interchange and its potential use in network configurations, leading them to incorrectly associate it with data modeling.

YANG — lightweight interchange format built from curly braces and arraysWrong answer — click to see why

Why this is wrong here

B is incorrect because YANG is not a lightweight interchange format; it is a data modeling language used to define the structure of data for network configuration and management, not built from curly braces and arrays like JSON.

★ When this WOULD be the correct answer

If the question asked for a description of a data format used for configuration management that is similar to JSON, or if it specifically referenced YANG's role in defining data structures in a JSON-like syntax, then option B could be considered correct.

Why candidates choose this

Candidates may confuse YANG with JSON due to their roles in data representation and may mistakenly associate YANG's syntax with JSON's structure, leading them to choose this option despite its inaccuracies.

NETCONF — spanning-tree enhancement for rapid convergenceWrong answer — click to see why

Why this is wrong here

Option D is incorrect because NETCONF is not a spanning-tree enhancement; it is a network management protocol used for configuring and managing network devices using XML-based data models.

★ When this WOULD be the correct answer

If the exam question asked about protocols related to network topology or enhancements to spanning-tree protocols, and if it specified a focus on rapid convergence techniques, then a candidate might correctly identify NETCONF as a relevant technology in that context.

Why candidates choose this

Candidates may be tempted by this option due to the familiarity of NETCONF with network management and configuration, leading to confusion with concepts related to network efficiency and convergence.

Analysis generated from the official 200-301blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”

Visual reference

SW1 Root Bridge SW2 SW3 BLK DP DP RP RP STP blocks one link to prevent loops DP = Designated Port RP = Root Port BLK = Blocked

About these practice questions

One of 1,389 original 200-301 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 →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 200-301 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-301 exam.