nerdexam
Cisco

200-901 · Question #171

Which HTTP error code relates to redirection?

The correct answer is D. 300. HTTP status codes in the 3xx range indicate redirection, meaning the client needs to take additional action to complete the request, typically by following a new URL.

Understanding and Using APIs

Question

Which HTTP error code relates to redirection?

Options

  • A200
  • B400
  • C500
  • D300

How the community answered

(30 responses)
  • A
    3% (1)
  • B
    7% (2)
  • D
    90% (27)

Why each option

HTTP status codes in the 3xx range indicate redirection, meaning the client needs to take additional action to complete the request, typically by following a new URL.

A200

200 (OK) indicates that the request has succeeded.

B400

400 (Bad Request) indicates that the server cannot or will not process the request due to something that is perceived to be a client error.

C500

500 (Internal Server Error) indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.

D300Correct

HTTP status codes in the 300-399 range, such as 301 (Moved Permanently), 302 (Found), or 307 (Temporary Redirect), specifically signal to the client that the requested resource has moved and provides the new location.

Concept tested: HTTP status codes - Redirection

Source: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#redirection_responses

Topics

#HTTP Status Codes#Redirection#API Communication

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice