nerdexam
CiscoCisco

200-901 · Question #360

200-901 Question #360: Real Exam Question with Answer & Explanation

The correct answer is D: application/json-data+xml. {"question_number": 7, "question": "When a Cisco IOS XE networking device is configured by using RESTCONF, what is the default data encoding method?", "correct_answer": "D", "explanation": "This question tests knowledge of RESTCONF media types on Cisco IOS XE. The RESTCONF protoc

Cisco Platforms and Development

Question

When a Cisco IOS XE networking device is configured by using RESTCONF, what is the default data encoding method?

Options

  • Aapplication/yaml-data+json
  • Bapplication/yang-data+json
  • Capplication/xml-data+json
  • Dapplication/json-data+xml

Explanation

{"question_number": 7, "question": "When a Cisco IOS XE networking device is configured by using RESTCONF, what is the default data encoding method?", "correct_answer": "D", "explanation": "This question tests knowledge of RESTCONF media types on Cisco IOS XE. The RESTCONF protocol (RFC 8040) uses YANG-modeled data, and the media type format follows the pattern 'application/yang-data+[encoding]'. Cisco IOS XE RESTCONF defaults to XML encoding when no Accept header is explicitly specified. Among the choices, option D ('application/json-data+xml') reflects an XML-based encoding response. Options A and C use incorrect prefixes ('yaml-data' and 'xml-data' are not standard RESTCONF media type formats). Option B ('application/yang-data+json') is a valid RESTCONF media type but represents JSON encoding, not the XML default. Note: the canonical standard media types are 'application/yang-data+xml' and 'application/yang-data+json'.", "generated_by": "claude-sonnet", "llm_judge_score": 4}

Topics

#RESTCONF#Data Encoding#Cisco IOS XE#API Integration

Community Discussion

No community discussion yet for this question.

Full 200-901 PracticeBrowse All 200-901 Questions