Courseiva
mediumMultiple ChoiceObjective-mapped

200-901 Practice Question: A developer is designing a Python script that…

A developer is designing a Python script that uses the NSO (Network Services Orchestrator) northbound API. Which data format is natively supported by NSO's RESTCONF API?

⚠ Common exam trap

Cisco often tests the misconception that RESTCONF only supports one format (typically JSON) because of its popularity in modern APIs, but the standard explicitly mandates support for both JSON and XML.

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

JSON and XML

NSO's RESTCONF API natively supports both JSON and XML data formats, as defined by RFC 8040. RESTCONF uses HTTP methods to manipulate YANG-defined data, and the API can serialize data in either JSON (application/yang-data+json) or XML (application/yang-data+xml) based on the Accept header or Content-Type in the request. This dual-format support allows developers to choose the format that best fits their application's ecosystem.

Answer analysis

Option-by-option breakdown

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

  • YAML only

    Why it's wrong here

    YAML is not a native format for NSO RESTCONF; JSON and XML are used.

  • JSON only

    Why it's wrong here

    RESTCONF supports both JSON and XML, not just JSON.

  • XML only

    Why it's wrong here

    RESTCONF supports both JSON and XML, not just XML.

  • JSON and XML

    Why this is correct

    RESTCONF supports both JSON and XML encoding.

About these practice questions

Courseiva writes every 200-901 question from scratch — 989 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 →

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.