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

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.