350-501 · Question #83
Refer to the exhibit. What does the REST API command do?
The correct answer is C. It executes the commands specified in Descriptions xml. The REST API command shown in the exhibit uses an HTTP method (typically POST or PATCH) against a Cisco IOS-XE or XR RESTCONF/NETCONF-style endpoint with a Descriptions XML payload. In this context, the XML document contains a set of CLI commands or configuration operations to…
Question
Refer to the exhibit. What does the REST API command do?
Options
- AIt retrieves the information requested by Descriptions xml
- BIt removes the information identified by Descriptions xml
- CIt executes the commands specified in Descriptions xml
- DIt displays the information identified by Descriptions xml
How the community answered
(43 responses)- A2% (1)
- B2% (1)
- C88% (38)
- D7% (3)
Explanation
The REST API command shown in the exhibit uses an HTTP method (typically POST or PATCH) against a Cisco IOS-XE or XR RESTCONF/NETCONF-style endpoint with a Descriptions XML payload. In this context, the XML document contains a set of CLI commands or configuration operations to be executed on the device. The REST API call instructs the router to execute those commands as specified in the XML body. It is not retrieving (GET), removing (DELETE), or simply displaying data - it is actively running the commands defined in the XML payload, making Option C correct.
Topics
Community Discussion
No community discussion yet for this question.