Which of the following HTTP methods is used to retrieve data from a server without affecting the resource? MCQ with Answer and Explanation

Which of the following HTTP methods is used to retrieve data from a server without affecting the resource?
A. POST
B. PUT
C. GET
D. DELETE
Answer: Option C
Solution (By JKSSB Mock Tests)
The GET method requests data from a specified resource and should not have any side effects (idempotent). POST is for sending data, PUT for updating, DELETE for removing.

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 an 'HTTP Cookie' data structure use to identify a returning user session securely to a server database without prompting continuous password requests?
A. A unique Session ID token string stored locally in the browser and transmitted with each HTTP request
B. The user's physical home street address record
C. The client computer's current internal hardware operating core temperature
D. An unlinked structural HTML layout design code block

Correct Answer: Option A


Explanation:
When a user logs in, the server generates a unique session identifier and passes it to the browser as a cookie. The browser automatically includes this token with future requests, maintaining the authenticated session.

This question belongs to: Computer Internet and Web Technologies
Question #2
What is the role of a web security certificate (SSL/TLS certificate)?
A. To register domain names
B. To block malicious content
C. To store user passwords
D. To authenticate the identity of a website and enable encrypted connection

Correct Answer: Option D


Explanation:
An SSL/TLS certificate verifies the identity of a website and allows for encrypted communication via HTTPS.

This question belongs to: Computer Internet and Web Technologies
Question #3
Which specific protocol operates inside email infrastructures to provide secure, encrypted message transfers between independent mail servers over port 465 or 587?
A. SMTPS / Secure SMTP
B. POP3 server frameworks
C. IMAP protocol loops
D. HTTP unencrypted standards

Correct Answer: Option A


Explanation:
Secure SMTP variants utilize cryptographic SSL/TLS layers to encrypt email transmissions between mail servers, preventing eavesdropping and data tampering.

This question belongs to: Computer Internet and Web Technologies