nerdexam
Cisco

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.

Understanding and Using APIs

Question

Refer to the exhibit. What is the result of the API sequence diagram?

Exhibit

200-901 question #464 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)
  • A
    6% (2)
  • C
    3% (1)
  • D
    91% (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.

Aexport of the authenticated user on the device

The sequence targets a version data endpoint, not a user account or session export endpoint, so no user object is exported.

Btext file that contains the authentication token

The file output contains the version string returned by the version query, not the authentication token used to make the request.

Cexport of the Cisco IOS XE configuration file

The sequence calls a specific version field endpoint and retrieves a single string value, not the full running or startup configuration of the device.

Dtext file that contains the string IOS-XE 16.6.3Correct

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

#API interaction#REST API#Cisco IOS XE#Data retrieval

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice