Which HTTP method is idempotent? MCQ with Answer and Explanation

Which HTTP method is idempotent?
A. POST
B. Both PUT and DELETE
C. DELETE
D. PUT
Answer: Option B
Solution (By JKSSB Mock Tests)
PUT and DELETE are idempotent: multiple identical requests have the same effect as a single request. POST is not idempotent.

Discuss this Question (0)

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

Practice More Internet and Web Technologies Questions

Question #1
What mechanism does a web application employ to securely preserve user identity state variables on the server side, linking them via a unique ID stored in a client cookie?
A. DNS Reverse Routing
B. Server Session Management
C. FTP File Buffer
D. Local Storage Matrix

Correct Answer: Option B


Explanation:
Session management saves detailed user states securely on the server and provides the client a temporary session identifier token to reference on subsequent visits.

This question belongs to: Computer Internet and Web Technologies
Question #2
What technology is primarily used to build structures and arrange textual information on a webpage?
A. HTML
B. CSS
C. SQL
D. JavaScript

Correct Answer: Option A


Explanation:
HTML (Hypertext Markup Language) is the baseline markup framework used to define the core structural layout of web content.

This question belongs to: Computer Internet and Web Technologies
Question #3
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. Setting a temporary session tracking cookie inside memory
B. Altering the local computer DNS router configurations
C. Issuing a general 500 Internal Error crash notification alert
D. Issuing an HTTP 301 Moved Permanently response code with the new location header

Correct Answer: Option D


Explanation:
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.

This question belongs to: Computer Internet and Web Technologies