nerdexam
CiscoCisco

200-901 · Question #7

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

The correct answer is C: It returns an authorization token.. You need to retrieve information through the API, so we need to do a GET request; don’t forget the X-Auth-Token header containing the authorization token. https://developer.cisco.com/learning/lab/dnav3-dnac-nbapi-hello-world/step/4

Understanding and Using APIs

Question

Refer to the exhibit. What does the python function do?

Options

  • AIt returns DNAC user and password.
  • BIt returns HTTP Basic Authentication.
  • CIt returns an authorization token.
  • DIt reads a token from a local JSON file and posts the token to the DNAC URL.

Explanation

You need to retrieve information through the API, so we need to do a GET request; don’t forget the X-Auth-Token header containing the authorization token. https://developer.cisco.com/learning/lab/dnav3-dnac-nbapi-hello-world/step/4

Topics

#Python#Authorization Token#API Authentication#Cisco DNA Center

Community Discussion

No community discussion yet for this question.

Full 200-901 PracticeBrowse All 200-901 Questions