nerdexam
Cisco

350-201 · Question #123

Which action should be taken when the HTTP response code 301 is received from a web application?

The correct answer is B. Confirm the resource's location. HTTP 301 means Moved Permanently, indicating the requested resource has a new permanent URI that the client should confirm and use for future requests.

Fundamentals

Question

Which action should be taken when the HTTP response code 301 is received from a web application?

Options

  • AUpdate the cached header metadata.
  • BConfirm the resource's location.
  • CIncrease the allowed user limit.
  • DModify the session timeout setting.

How the community answered

(43 responses)
  • A
    5% (2)
  • B
    91% (39)
  • C
    2% (1)
  • D
    2% (1)

Why each option

HTTP 301 means Moved Permanently, indicating the requested resource has a new permanent URI that the client should confirm and use for future requests.

AUpdate the cached header metadata.

Updating cached header metadata is associated with cache-control directives and responses such as 304 (Not Modified), not with permanent redirect responses.

BConfirm the resource's location.Correct

HTTP 301 (Moved Permanently) signals that the resource has been permanently relocated to a new URL specified in the Location response header. The correct action is to confirm the resource's new location and update all references accordingly, as the RFC requires future requests to use the new URI.

CIncrease the allowed user limit.

Increasing the allowed user limit relates to rate limiting or capacity issues indicated by codes like 429 (Too Many Requests) or 503 (Service Unavailable), not by 301.

DModify the session timeout setting.

Modifying session timeout settings is unrelated to HTTP 301 - session management issues are reflected in 401, 403, or application-level responses.

Concept tested: HTTP 301 Moved Permanently status code

Source: https://www.rfc-editor.org/rfc/rfc9110#section-15.4.2

Topics

#HTTP response codes#301 redirect#web application

Community Discussion

No community discussion yet for this question.

Full 350-201 Practice