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…
Question
Refer to the exhibit. What does this REST API script configure?
Exhibit
Options
- Aapplication profile
- BVRF
- Cpublic community string for SNMP
- Dinterface with IP address 192.168.0.1
How the community answered
(41 responses)- A2% (1)
- B10% (4)
- C5% (2)
- D83% (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
Community Discussion
No community discussion yet for this question.
