Implementing and Operating Cisco Enterprise Network Core Technologies (ENCOR) — Question 67
Which HTTP status code is the correct response for a request with an incorrect password applied to a REST API session?
Answer options
- A. HTTP Status Code: 200
- B. HTTP Status Code: 302
- C. HTTP Status Code: 401
- D. HTTP Status Code: 504
Correct answer: C
Explanation
The correct answer is HTTP Status Code: 401, which indicates that authentication is required and has failed due to an incorrect password. Options A (200) and B (302) indicate successful requests or redirects, while D (504) signifies a gateway timeout, which does not pertain to authentication issues.