350-201(NEW-127Q) · Question #1
Which action should be taken when the HTTP response code 301 is received from a web application?
The correct answer is C. Confirm the resource's location. HTTP 301 means Moved Permanently - the server is telling the client that the requested resource has a new permanent URL, so the correct action is to confirm (and update) the resource's location by following the Location header in the response. Option A is wrong because session…
Question
Options
- AModify the session timeout setting.
- BUpdate the cached header metadata.
- CConfirm the resource's location.
- DIncrease the allowed user limit.
How the community answered
(64 responses)- A3% (2)
- B2% (1)
- C94% (60)
- D2% (1)
Explanation
HTTP 301 means Moved Permanently - the server is telling the client that the requested resource has a new permanent URL, so the correct action is to confirm (and update) the resource's location by following the Location header in the response. Option A is wrong because session timeouts relate to authentication/idle state, not redirects. Option B is misleading - while caches do store 301 responses, "updating cached header metadata" is not the action you take upon receiving a 301; you follow the redirect. Option D is wrong entirely, as user limits are an authorization or capacity concern, not an HTTP redirect concern.
Memory tip: Think "301 = 301 = Redirection - Relocate." The 3xx family is always about redirection, and 301 specifically means "permanently moved - go find it at its new address."
Topics
Community Discussion
No community discussion yet for this question.