350-901 Practice Test practice questions, page 14 of 25, with answer review and explanations.
Question 66
Refer to the exhibit. This cURL POST request creates an OAuth access token for authentication with FDM API requests. What is the purpose of the file `@token_data` that cURL is handling?
This file is given as input to store the access token received from FDM.
This file is used to send authentication-related headers.
This file contains raw data that is needed for token authentication.
This file is a container to log possible error responses in the request.
Question 67
What is the result of a successful OAuth2 authorization grant flow?
The third-party service is provided with a token that allows actions to be performed.
The user has the application rights that correspond to the user's role within the application's database.
The application is provided with a token that allows actions on services on the user's behalf.
The user has administrative rights to the application's backend services.
Question 68
In the three-legged OAuth2 process, after the authorization server presents a form to the resource owner to grant access, what is the next step?
The resource owner authenticates and optionally authorizes with the authorization server.
The user who owns the resource initiates a request to the OAuth client.
If the resource owner allows access, the authorization server sends the OAuth client a redirection.
A form to allow or restrict access is submitted by the owner of the resource.
Question 69
Which OAuth mechanism enables clients to continue to have an active access token without further interaction from the user?
refresh grant
JWT
password grant
preshared key
Question 70
A developer is building an application to access a website. When running the application, an HTTP 403 error code has been received. How should the application be modified to handle this code?
Create a loop on cancel the operation and run a new one after the code is received.
Use exponential backoff when retrying distributed services and other remote endpoints.
Build a try/except around the urlopen to find errors occurring in the request.
Redirect the request to an internal web server and make a new request from the internal resource.