ExamGecko
Question list
Search
Search

Question 69 - 200-901 discussion

Report
Export

Refer to the exhibit. The script returns an output of 401. To use the supplied URL, an HTTP GET request must be sent with an Authorization header. The header value is a base64 encoded concatenation of the username and password.

Which action must be taken to return an output of 200?

A.

Change the verify=False setting in the request to verify=True to enable HTTP Basic authentication.

Answers
A.

Change the verify=False setting in the request to verify=True to enable HTTP Basic authentication.

B.

Verify that the username and password values imported from the configuration file are still valid.

Answers
B.

Verify that the username and password values imported from the configuration file are still valid.

C.

Insert an Authorization header with the values username:password from the supplied configuration file.

Answers
C.

Insert an Authorization header with the values username:password from the supplied configuration file.

D.

Modify the method from LOGIN to GET and supply the username:password value as JSON payload.

Answers
D.

Modify the method from LOGIN to GET and supply the username:password value as JSON payload.

Suggested answer: B
asked 07/10/2024
Avion Bryant
46 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first