Which HTTP status code indicates a client error (bad request)? MCQ with Answer and Explanation

Which HTTP status code indicates a client error (bad request)?
A. 401
B. 403
C. 404
D. 400
Answer: Option D
Solution (By JKExamLibrary)
400 Bad Request indicates that the server cannot process the request due to malformed syntax or invalid parameters. 401 is Unauthorized, 403 Forbidden, 404 Not Found.

This question belongs to: Computer Internet and Web Technologies

Discuss this Question (0)

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

Practice More Internet and Web Technologies Questions

Question #1 Report Error
What is the difference between HTTP and HTTPS regarding encryption?
A. Neither uses encryption
B. Both use encryption
C. HTTPS uses encryption, HTTP does not
D. HTTP uses encryption, HTTPS does not

Correct Answer: Option C


Explanation:
HTTP transmits data in plain text, while HTTPS encrypts the communication using SSL/TLS, ensuring confidentiality and integrity.

This question belongs to: Computer Internet and Web Technologies
Question #2 Report Error
Which specific email header field identifies the chain of server hosts that routed a message from origin to its final endpoint mailbox destination?
A. Received header fields
B. Content-Type statement
C. Attachment index tag
D. Subject header

Correct Answer: Option A


Explanation:
The 'Received' lines in an email header record each mail server node that processed and passed the message along, aiding in source verification.

This question belongs to: Computer Internet and Web Technologies
Question #3 Report Error
Which HTTP header field or mechanism is used by a web server to set a tracking cookie on the user's browser client?
A. Set-Cookie
B. Cache-Control
C. Cookie-Transfer
D. Get-Cookie

Correct Answer: Option A


Explanation:
The 'Set-Cookie' HTTP response header is sent by the server to direct the client web browser to store a specific cookie string locally.

This question belongs to: Computer Internet and Web Technologies