Win IT Exam with Last Dumps 2024

Cisco 200-901 Exam

Page 6/28
Viewing Questions 51 60 out of 272 Questions

Question 51
DRAG DROP - Drag and drop the Python code from the left onto the correct step on the right to call a REST API. Select and Place
Image 200-901_51Q.png related to the Cisco 200-901 Exam
Image 200-901_51R.png related to the Cisco 200-901 Exam

Question 52
A 401 HTTP response code is returned when calling a REST API. What is the error state identified by this response code?
A. The server cannot process the request as it has detected an issue in the request syntax or body.
B. The request has not been accepted because it requires authentication.
C. The sever accepted the request but the client is not authorized for this content.
D. The server cannot find the requested resource because the path specified is incorrect.

Question 53
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?

Question 54
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?
A. API documentation
B. Code Exchange
C. Learning Labs
D. Sandbox

Question 55
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?
A. An appliance limited the rate of requests to the transport layer.
B. The REST service is unreachable at the time of the REST request.
C. Too many requests were sent to the REST service in a given amount of time.
D. An appliance limited the rate of requests to the application layer.

Question 56
Refer to the exhibit. A developer needs to upload a local file by using the REST API. The developer gathers information according to the documentation and sends the request by using the cURL command in the exhibit but gets an error code. Which action should be followed to get a valid response?
Image 200-901_56Q.png related to the Cisco 200-901 Exam
A. change content-type as JSON
B. add the authorization header with the access token
C. and a username-password combination to request command
D. change request method as GET

Question 57
DRAG DROP - Refer to the exhibit. Drag and drop the descriptors from the left onto the corresponding parts of the API request and response on the right. Select and Place:
Image 200-901_57Q.png related to the Cisco 200-901 Exam
Image 200-901_57R.png related to the Cisco 200-901 Exam

Question 58
Which action resolves a 401 error in response to an HTTP GET that is issued to retrieve a configuration statement using RESTCONF on a CSR 1000V?
A. Change the HTTP method to PUT.
B. Check the MIME types in the HTTP headers.
C. Change the transport protocol to HTTPS.
D. Check the authentication credentials.

Question 59
Refer to the exhibit. An API call is constructed to retrieve the inventory in XML format by using the API. The response to the call is 401 Unauthorized. Which two headers must be added to the API call? (Choose two.)
Image 200-901_59Q.png related to the Cisco 200-901 Exam
A. Bearer-Token: dXNlcm5hbWU6cGFzc3dvcmQ=
B. Content-Type: application/xml
C. Authentication: Bearer dXNlcm5hbWU6cGFzc3dvcmQ=
D. Accept: application/xml
E. Authorization: Bearer dXNlcm5hbWU6cGFzc3dvcmQ=

Question 60
Which HTTP response status code means `Forbidden`?
A. 500
B. 401
C. 403
D. 502

Premium Version