What mechanism does a web server implement to gracefully instruct a browser that an old web resource has changed its location permanently to a new URL address asset? MCQ with Answer and Explanation

What mechanism does a web server implement to gracefully instruct a browser that an old web resource has changed its location permanently to a new URL address asset?
A. Issuing an HTTP 301 Moved Permanently response code with the new location header
B. Issuing a general 500 Internal Error crash notification alert
C. Altering the local computer DNS router configurations
D. Setting a temporary session tracking cookie inside memory
Answer: Option A
Solution (By JKSSB Mock Tests)
An HTTP 301 redirect informs browsers and search engines that a page has permanently relocated, prompting them to update their links and pass SEO ranking history to the new URL.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Internet and Web Technologies Questions

Question #1
What does the 'HttpOnly' attribute flag instruct a web browser to do when handling a specific session cookie?
A. To prevent client-side scripts (like JavaScript) from accessing the cookie, reducing the risk of data theft via Cross-Site Scripting (XSS)
B. To delete the cookie instantly when the network switches to an alternative port path
C. To force the web page content layout into a text-only presentation mode
D. To ensure the cookie only operates when accessing local intranet platforms

Correct Answer: Option A


Explanation:
The 'HttpOnly' security flag prevents client-side scripts from reading cookie strings via properties like 'document.cookie', protecting session tokens from malicious script injection exploits.

This question belongs to: Computer Internet and Web Technologies
Question #2
Which of the following is a web browser developed by the Mozilla Foundation?
A. Firefox
B. Thunderbird
C. All of the above
D. Seamonkey

Correct Answer: Option A


Explanation:
Firefox is a web browser by Mozilla; Thunderbird is an email client, and SeaMonkey is an internet suite.

This question belongs to: Computer Internet and Web Technologies
Question #3
What is the purpose of the 'accept-charset' attribute in an HTML form?
A. To set the form's character set
B. To specify the character encodings accepted for form submission
C. To define the content type
D. To validate input

Correct Answer: Option B


Explanation:
The accept-charset attribute specifies the character encodings that the server accepts when the form is submitted.

This question belongs to: Computer Internet and Web Technologies