ExamGecko
Home Home / Cisco / 200-901

Cisco 200-901 Practice Test - Questions Answers, Page 5

Question list
Search
Search

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 RetryAfter header. What is the root cause of this error?

A.

An appliance limited the rate of requests to the transport layer.

A.

An appliance limited the rate of requests to the transport layer.

Answers
B.

The REST service is unreachable at the time of the REST request.

B.

The REST service is unreachable at the time of the REST request.

Answers
C.

Too many requests were sent to the REST service in a given amount of time.

C.

Too many requests were sent to the REST service in a given amount of time.

Answers
D.

An appliance limited the rate of requests to the application layer.

D.

An appliance limited the rate of requests to the application layer.

Answers
Suggested answer: C

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?

A.

change content-type as JSON

A.

change content-type as JSON

Answers
B.

add the authorization header with the access token

B.

add the authorization header with the access token

Answers
C.

and a username-password combination to request command

C.

and a username-password combination to request command

Answers
D.

change request method as GET

D.

change request method as GET

Answers
Suggested answer: B

Explanation:


Reference: https://developer.webex.com/docs/api/basics

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.

A.

Change the HTTP method to PUT.

Answers
B.

Check the MIME types in the HTTP headers.

B.

Check the MIME types in the HTTP headers.

Answers
C.

Change the transport protocol to HTTPS.

C.

Change the transport protocol to HTTPS.

Answers
D.

Check the authentication credentials.

D.

Check the authentication credentials.

Answers
Suggested answer: D

Refer to the exhibit.

An API call is constructed to retrieve the inventory in XML formal by using the API. The response to the call is 401 Unauthorized. Which two headers must he added to the API call? (Choose two.)

A.

Bearer-Token: dXNlcm5hbWU6cGFzc3dvemQ=

A.

Bearer-Token: dXNlcm5hbWU6cGFzc3dvemQ=

Answers
B.

Content-Type: application/xml

B.

Content-Type: application/xml

Answers
C.

Authentication: Bearer dXNlcm5hbWU6cGFzc3dvemQ=

C.

Authentication: Bearer dXNlcm5hbWU6cGFzc3dvemQ=

Answers
D.

Accept: application/xml

D.

Accept: application/xml

Answers
E.

Authorization: Bearer dXNlcm5hbWU6cGFzc3dvemQ=

E.

Authorization: Bearer dXNlcm5hbWU6cGFzc3dvemQ=

Answers
Suggested answer: B, E

Which HTTP response status code means “Forbidden”?

A.

500

A.

500

Answers
B.

401

B.

401

Answers
C.

403

C.

403

Answers
D.

502

D.

502

Answers
Suggested answer: C

Explanation:


Reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403

Which HTTP response code should be returned when the request is completed but there is no content to send for the request?

A.

100

A.

100

Answers
B.

204

B.

204

Answers
C.

302

C.

302

Answers
D.

402

D.

402

Answers
Suggested answer: B

Explanation:


Reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#successful_responses

Refer to the exhibit. Which data is specified in the response header?

A.

Content-Type

A.

Content-Type

Answers
B.

HTTP/1.1 200 OK

B.

HTTP/1.1 200 OK

Answers
C.

“type”: “switch”

C.

“type”: “switch”

Answers
D.

{

“id”: “a123456bcde”, HTTP/1.1 200 OK

“status”: “online”,

“type”: “switch”

}

D.

{

“id”: “a123456bcde”, HTTP/1.1 200 OK

“status”: “online”,

“type”: “switch”

}

Answers
Suggested answer: B

What are two use cases where webhooks are effective? (Choose two.)

A.

Filter out information from a response to an API call.

A.

Filter out information from a response to an API call.

Answers
B.

Close a session with a web server after a specific amount of time.

B.

Close a session with a web server after a specific amount of time.

Answers
C.

Inform a previously defined chat channel after a deployment fails.

C.

Inform a previously defined chat channel after a deployment fails.

Answers
D.

Send an email to a customer of an online store after payment is complete.

D.

Send an email to a customer of an online store after payment is complete.

Answers
E.

Change the response formal or content type of an API call.

E.

Change the response formal or content type of an API call.

Answers
Suggested answer: B, D

Which two descriptions can be given to an application that is interacting with a webhook? (Choose two.)

A.

receiver

A.

receiver

Answers
B.

transaction monitor

B.

transaction monitor

Answers
C.

codec

C.

codec

Answers
D.

processor

D.

processor

Answers
E.

listener

E.

listener

Answers
Suggested answer: A, E

How does requesting a synchronous API operation differ from requesting an asynchronous API operation?

A.

clients receive responses with a task id for further processing

A.

clients receive responses with a task id for further processing

Answers
B.

clients subscribe to a webhook for operation results

B.

clients subscribe to a webhook for operation results

Answers
C.

clients poll for the status of the execution of operations

C.

clients poll for the status of the execution of operations

Answers
D.

clients can access the results immediately

D.

clients can access the results immediately

Answers
Suggested answer: B
Total 471 questions
Go to page: of 48