350-901 Practice Test

350-901 Practice Test practice questions, page 11 of 25, with answer review and explanations.

Question 51

A client is written that uses a REST API to interact with a server. Using HTTPS as the transport, an HTTP request is sent and received an HTTP response. The response contains the HTTP response status code: 503 Service Unavailable. Which action is the appropriate response?

  1. Add an Authorization header that supplies appropriate credentials and sends the updated request.
  2. Resend the request using HTTP as the transport instead of HTTPS.
  3. Add an Accept header that indicates the content types that the client understands and send the updated request.
  4. Look for a Retry-After header in the response and resend the request after the amount of time indicated.

Question 52

Refer to the exhibit. Two editors are concurrently updating an article's headline from their mobile devices. What results from this scenario based on this REST API sequence?

  1. The article is marked as ג€Conflictedג€
  2. The article headline is ג€Monday Headlinesג€
  3. The article headline is ג€Today Headlinesג€
  4. The article headline is ג€Top Headlinesג€

Question 53

Refer to the exhibit. This snippet of a script has recently started exiting abnormally with an exception stating `Unexpected HTTP Response code: 429`. Which solution handles rate limiting by the remote API? A. B. C. D.

Question 54

An application uses OAuth to get access to several API resources on behalf of an end user. What are two valid parameters to send to the authorization server as part of the first step of an authorization code grant flow? (Choose two.)

  1. URI to which the authorization server will send the user-agent back when access is granted or denied
  2. list of the API resources that the application is requesting to access
  3. secret that was generated by the authorization server when the application registered as an OAuth integration
  4. list of scopes that correspond to the API resources to which the application is requesting to access
  5. name of the application under which the application registered as an OAuth integration

Question 55

Refer to the exhibit above and click on the tab in the top left corner to view a diagram that describes the typical flow of requests involved when a webhook is created for a booking service. Drag and drop the requests from the left onto the item numbers on the right that match the missing sections in the sequence diagram to design the complete flow of requests involved as a booking is updated from a web application. Select and Place: