What is the purpose of the 'If-Modified-Since' HTTP header? MCQ with Answer and Explanation

What is the purpose of the 'If-Modified-Since' HTTP header?
A. To request a conditional GET if the resource has been modified since the date
B. To check for updates
C. To specify cache expiration
D. To set the last modified time
Answer: Option A
Solution (By JKSSB Mock Tests)
If-Modified-Since allows the client to request the resource only if it has been modified since the specified date, saving bandwidth.

Discuss this Question (0)

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

Practice More Internet and Web Technologies Questions

Question #1
What is the function of a 'webhook'?
A. To cache static content
B. To allow one web application to notify another of events via HTTP
C. To encrypt web traffic
D. To manage DNS records

Correct Answer: Option B


Explanation:
A webhook is a way for an app to provide real-time information to other applications by sending HTTP requests when specific events occur.

This question belongs to: Computer Internet and Web Technologies
Question #2
What does the 's' in HTTPS stand for?
A. Secure
B. Standard
C. Simple
D. System

Correct Answer: Option A


Explanation:
HTTPS stands for HyperText Transfer Protocol Secure, indicating that communication is encrypted using SSL/TLS.

This question belongs to: Computer Internet and Web Technologies
Question #3
Which of the following is a method of web authentication that uses a combination of username and password?
A. Bearer token
B. Both Basic and Digest
C. Digest authentication
D. Basic authentication

Correct Answer: Option B


Explanation:
Both Basic and Digest authentication are HTTP authentication schemes that rely on username/password, though they differ in security.

This question belongs to: Computer Internet and Web Technologies