200-901 · Question #464
Refer to the exhibit. What is the result of the API sequence diagram?
The correct answer is D. text file that contains the string IOS-XE 16.6.3. The API sequence authenticates to a Cisco IOS XE device via RESTCONF and queries the software version, writing the result to a text file.
Question
Refer to the exhibit. What is the result of the API sequence diagram?
Exhibit
Options
- Aexport of the authenticated user on the device
- Btext file that contains the authentication token
- Cexport of the Cisco IOS XE configuration file
- Dtext file that contains the string IOS-XE 16.6.3
How the community answered
(32 responses)- A6% (2)
- C3% (1)
- D91% (29)
Why each option
The API sequence authenticates to a Cisco IOS XE device via RESTCONF and queries the software version, writing the result to a text file.
The sequence targets a version data endpoint, not a user account or session export endpoint, so no user object is exported.
The file output contains the version string returned by the version query, not the authentication token used to make the request.
The sequence calls a specific version field endpoint and retrieves a single string value, not the full running or startup configuration of the device.
The RESTCONF API sequence shown authenticates to the IOS XE device and queries the platform software version endpoint, which returns the version string such as 'IOS-XE 16.6.3'. The script then writes that retrieved string to a local text file, making the output a text file containing that specific version value.
Concept tested: RESTCONF API version query on Cisco IOS XE
Source: https://developer.cisco.com/docs/ios-xe/restconf/
Topics
Community Discussion
No community discussion yet for this question.
