nerdexam
CiscoCisco

200-901 · Question #40

200-901 Question #40: Real Exam Question with Answer & Explanation

Sign in or unlock 200-901 to reveal the answer and full explanation for question #40. The question stem and answer options stay visible for context.

Understanding and Using APIs

Question

Refer to the exhibit. An administrator attempts to perform a GET using the Cisco IOS XE RESTCONF API to return the hostname of a device. The sequence diagram illustrates the HTTP messages observed. Which change to the API request resolves the issue?

Options

  • AAdd Content-Type HTTP header with 'application/yang-data+json' using -H 'Content-Type:
  • BUse -u cisco:cisco instead of -u 'cisco:cisco'
  • CChange the request method from -X "GET" to-X' POST".
  • DRemove the -H 'Accept: application/yang-data+json' HTTP header because it is not required.

Unlock 200-901 to see the answer

You've previewed enough free 200-901 questions. Unlock 200-901 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#RESTCONF#API Request#curl#Authentication
Full 200-901 PracticeBrowse All 200-901 Questions