Free 200-901 Exam Braindumps (page: 15)

Page 14 of 132

A 401 HTTP response code is returned when calling a REST API. What is the error state identified by this response code?

  1. The server cannot process the request as it has detected an issue in the request syntax or body.
  2. The request has not been accepted because it requires authentication.
  3. The sever accepted the request but the client is not authorized for this content.
  4. The server cannot find the requested resource because the path specified is incorrect.

Answer(s): B


Reference:

https://blog.restcase.com/rest-api-error-codes-101/#:~:text=A%20401%20error%20response%20indicates,credentials%20or%20none%20at%20all.



A developer is creating a script to interact with a REST API service which requires basic authentication. The credentials are "devnet:391665405" and the Base64 encoding of the credentials is "GV2bmV0dXNlcjpDaXNj=". Which payload and header combination must be used for authentication?





Answer(s): B



A developer needs a list of clients connected to a specific device in a Meraki network. After making a REST API call, the developer receives an unfamiliar response code. Which Cisco DevNet resource should be used to identify the meaning of the response code?

  1. API documentation
  2. Code Exchange
  3. Learning Labs
  4. Sandbox

Answer(s): A



A developer is trying to retrieve data over a REST API. The API server responds with an HTTP client error response code. After investigating the response the developer realizes the response has a Retry-After header. What is the root cause of this error?

  1. An appliance limited the rate of requests to the transport layer.
  2. The REST service is unreachable at the time of the REST request.
  3. Too many requests were sent to the REST service in a given amount of time.
  4. An appliance limited the rate of requests to the application layer.

Answer(s): C






Post your Comments and Discuss Cisco® 200-901 exam with other Community members:

200-901 Discussions & Posts