nerdexam
CiscoCisco

350-501 · Question #383

350-501 Question #383: Real Exam Question with Answer & Explanation

The correct answer is A: Configure the IP address for the existing loopback interface.. The JSON script automates the process of assigning or reconfiguring an IPv4 address on an existing loopback interface on a Cisco device using a REST API.

Automation and Assurance

Question

Refer to the exhibit. An engineer at a new ISP must configure many Cisco devices in the data center. To make the process more efficient, the engineer decides to automate the task with a REST API. Which action does this JSON script automate?

Options

  • AConfigure the IP address for the existing loopback interface.
  • BConfigure a physical interface on the router with an IP address and then create a loopback
  • CConfigure a physical interface on the router with an IP address.
  • DDelete the existing loopback Interface and replace it with a new loopback interface.

Explanation

The JSON script automates the process of assigning or reconfiguring an IPv4 address on an existing loopback interface on a Cisco device using a REST API.

Common mistakes.

  • B. This option is incorrect because configuring a physical interface and creating a loopback would require specific JSON structures for both, which is not implied by a single task focused on a loopback's IP.
  • C. This option is incorrect because the JSON would specify a physical interface name (e.g., GigabitEthernet) if it were configuring a physical interface, not a loopback interface.
  • D. This option is incorrect because deleting and replacing an interface would typically involve a DELETE operation followed by a PUT/POST, or a PUT operation replacing the entire configuration, not simply updating an IP address.

Concept tested. REST API for network device configuration

Reference. https://www.cisco.com/c/en/us/td/docs/iosxr/ncs5000/restconf/66x/b-restconf-cg-ncs5k-66x.html

Topics

#REST API#Network Automation#JSON#Loopback Interface

Community Discussion

No community discussion yet for this question.

Full 350-501 PracticeBrowse All 350-501 Questions