nerdexam
Cisco

350-401 · Question #856

Drag and Drop Question Drag and drop the snippets onto the blanks within the code to construct a script that configures a loopback interface with an IP address. Not all options are used. Answer:

The correct answer is "target"; "fixed"; "name": "100"; "primary"; "config"; "mask". The correct arrangement constructs a valid NETCONF/YANG or REST API payload for configuring a loopback interface. The sequence follows the proper hierarchy: 'target' identifies the configuration datastore, 'fixed' specifies the loopback type, 'name': '100' identifies the specific

Submitted by jakub_pl· Mar 6, 2026Network Automation and Programmability – Constructing programmatic scripts to configure network devices using model-driven APIs (NETCONF, RESTCONF), specifically configuring interface parameters such as loopback interfaces with IP addressing using structured data payloads.

Question

Drag and Drop Question Drag and drop the snippets onto the blanks within the code to construct a script that configures a loopback interface with an IP address. Not all options are used. Answer:

Exhibit

350-401 question #856 exhibit

Answer Area

Drag items

"mask""fixed""name": "100""primary""config""target"

Correct arrangement

  • "target"
  • "fixed"
  • "name": "100"
  • "primary"
  • "config"
  • "mask"

Explanation

The correct arrangement constructs a valid NETCONF/YANG or REST API payload for configuring a loopback interface. The sequence follows the proper hierarchy: 'target' identifies the configuration datastore, 'fixed' specifies the loopback type, 'name': '100' identifies the specific loopback interface number, 'primary' designates the primary IP address, 'config' wraps the configuration block, and 'mask' provides the subnet mask for the IP address. This ordering reflects the correct nesting structure required for programmatic network interface configuration.

Topics

#Network Programmability#NETCONF/YANG#Loopback Interface Configuration#Python/API Scripting

Community Discussion

No community discussion yet for this question.

Full 350-401 Practice