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?

QuestionsCategory: 350-901A 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?
Admin Staff asked 8 months ago
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?

A. Create a loop on cancel the operation and run a new one after the code is received.

B. Use exponential backoff when retrying distributed services and other remote endpoints.

C. Build a try/except around the urlopen to find errors occurring in the request.

D. Redirect the request to an internal web server and make a new request from the internal resource.








 

Suggested Answer: B



This question is in 350-901 DEVCOR exam 
For getting DevNet Professional Certificate


Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Cisco.
Trademarks, certification & product names are used for reference only and belong to Cisco.

Next Post

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.