nerdexam
CiscoCisco

300-435 · Question #24

300-435 Question #24: Real Exam Question with Answer & Explanation

The correct answer is A: interface-configurations. The top-level key in a JSON representation of YANG data, often prefixed with a module name, typically represents the root container or list.

Network Automation Foundation

Question

Refer to the exhibit. Which type of YANG container is described by the JSON instance provided? "Cisco-IOS-XR-ifmgr-cfg:interface-configurations": { "interface-configuration": [ { "active": "act", "interface-name": "Loopback0", "description": "PRIMARY ROUTER LOOPBACK" } ] }

Options

  • Ainterface-configurations
  • Bactive
  • Cinterface-name
  • Ddescription

Explanation

The top-level key in a JSON representation of YANG data, often prefixed with a module name, typically represents the root container or list.

Common mistakes.

  • B. "active" is a leaf node within an interface-configuration entry, representing a specific attribute, not a container type itself.
  • C. "interface-name" is a leaf node within an interface-configuration entry, representing a specific identifier, not a container type itself.
  • D. "description" is a leaf node within an interface-configuration entry, representing a specific textual attribute, not a container type itself.

Concept tested. YANG model to JSON mapping

Reference. https://www.rfc-editor.org/rfc/rfc7951#section-5.1

Topics

#YANG#JSON#Data Modeling#Network Configuration

Community Discussion

No community discussion yet for this question.

Full 300-435 PracticeBrowse All 300-435 Questions