Refer to the exhibit.

Which code snippet must be added to the blank in the code to automate the evaluation and handling of errors due to wrong credentials when Basic Authorization is used?
A)

B)


D)

Suggested Answer: C
Get Premium 350-901 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
5 comments · newest first
AN
Annamae
5 days ago
I think Option A is the best choice here.
LI
Lindsey
10 days ago
I’m a bit confused about the differences between the options. I remember something about response status codes, but I can't remember which one applies here.
LA
Lavelle
15 days ago
I feel like option D could be the right choice since it seems to cover error handling, but I can't recall the exact syntax.
CL
Clare
20 days ago
I think I practiced a similar question where we had to handle 401 errors. I might lean towards option B, but I need to double-check.
OL
Olga
26 days ago
I remember studying how to handle authentication errors, but I'm not sure which option specifically addresses Basic Authorization.