nerdexam
Cisco

350-501 · Question #227

Refer to the exhibit. What does this REST API script configure?

The correct answer is D. interface with IP address 192.168.0.1. The REST API script in the exhibit uses a RESTCONF or similar API call targeting an interface resource endpoint on the device. The payload contains interface configuration parameters, and the specific IP address 192.168.0.1 is included in the request body as the address to be…

Automation and Assurance

Question

Refer to the exhibit. What does this REST API script configure?

Exhibit

350-501 question #227 exhibit

Options

  • Aapplication profile
  • BVRF
  • Cpublic community string for SNMP
  • Dinterface with IP address 192.168.0.1

How the community answered

(41 responses)
  • A
    2% (1)
  • B
    10% (4)
  • C
    5% (2)
  • D
    83% (34)

Explanation

The REST API script in the exhibit uses a RESTCONF or similar API call targeting an interface resource endpoint on the device. The payload contains interface configuration parameters, and the specific IP address 192.168.0.1 is included in the request body as the address to be assigned to the interface. REST API calls to network devices follow a URI structure that identifies the resource type (interface, VRF, SNMP, etc.), and the JSON or XML body specifies the configuration values. Based on the URI path and body content shown, this script is performing a PATCH or PUT operation to configure an interface and assign it the IP address 192.168.0.1, not configuring a VRF, SNMP community string, or application profile.

Topics

#REST API#Network Automation#Interface Configuration#IP Addressing

Community Discussion

No community discussion yet for this question.

Full 350-501 Practice