Caching & Headers interview questions

12 Caching & Headers questions from the REST API bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Free to start: the 2-minute IT readiness check — six questions and a result.

Take the free IT readiness check

or take a mock interview set up for this area

1. What is ETag?

Mid
  1. A.a conditional request header that sends a previously received validator so the server can answer not-modified when unchanged
  2. B.a response header carrying an opaque version identifier for a resource, used to validate cached copies via conditional requests
  3. C.the header declaring the media format of the message body, such as application/json
  4. D.the header that directs caching behavior with directives like max-age, no-store, private, and public

Answer + AI explanation with Pro

2. Which term means: "a response header carrying an opaque version identifier for a resource, used to validate cached copies via conditional requests"?

Mid
  1. A.Content-Type
  2. B.Cache-Control
  3. C.If-None-Match
  4. D.ETag

Answer + AI explanation with Pro

3. Which statement is correct?

Mid
  1. A.ETag — a response header carrying an opaque version identifier for a resource, used to validate cached copies via conditional requests
  2. B.ETag — the header that directs caching behavior with directives like max-age, no-store, private, and public
  3. C.ETag — the header declaring the media format of the message body, such as application/json
  4. D.ETag — a conditional request header that sends a previously received validator so the server can answer not-modified when unchanged

Answer + AI explanation with Pro

4. What is Cache-Control?

Mid
  1. A.the header that directs caching behavior with directives like max-age, no-store, private, and public
  2. B.the header declaring the media format of the message body, such as application/json
  3. C.a response header carrying an opaque version identifier for a resource, used to validate cached copies via conditional requests
  4. D.a conditional request header that sends a previously received validator so the server can answer not-modified when unchanged

Answer + AI explanation with Pro

5. Which term means: "the header that directs caching behavior with directives like max-age, no-store, private, and public"?

Mid
  1. A.If-None-Match
  2. B.ETag
  3. C.Cache-Control
  4. D.Content-Type

Answer + AI explanation with Pro

6. Which statement is correct?

Mid
  1. A.Cache-Control — the header that directs caching behavior with directives like max-age, no-store, private, and public
  2. B.Cache-Control — a conditional request header that sends a previously received validator so the server can answer not-modified when unchanged
  3. C.Cache-Control — the header declaring the media format of the message body, such as application/json
  4. D.Cache-Control — a response header carrying an opaque version identifier for a resource, used to validate cached copies via conditional requests

Answer + AI explanation with Pro

7. What is If-None-Match?

Senior
  1. A.the header declaring the media format of the message body, such as application/json
  2. B.the header that directs caching behavior with directives like max-age, no-store, private, and public
  3. C.a response header carrying an opaque version identifier for a resource, used to validate cached copies via conditional requests
  4. D.a conditional request header that sends a previously received validator so the server can answer not-modified when unchanged

Answer + AI explanation with Pro

8. Which term means: "a conditional request header that sends a previously received validator so the server can answer not-modified when unchanged"?

Senior
  1. A.ETag
  2. B.Cache-Control
  3. C.If-None-Match
  4. D.Content-Type

Answer + AI explanation with Pro

9. Which statement is correct?

Senior
  1. A.If-None-Match — a conditional request header that sends a previously received validator so the server can answer not-modified when unchanged
  2. B.If-None-Match — the header declaring the media format of the message body, such as application/json
  3. C.If-None-Match — the header that directs caching behavior with directives like max-age, no-store, private, and public
  4. D.If-None-Match — a response header carrying an opaque version identifier for a resource, used to validate cached copies via conditional requests

Answer + AI explanation with Pro

10. What is Content-Type?

Junior
  1. A.the header that directs caching behavior with directives like max-age, no-store, private, and public
  2. B.a conditional request header that sends a previously received validator so the server can answer not-modified when unchanged
  3. C.the header declaring the media format of the message body, such as application/json
  4. D.a response header carrying an opaque version identifier for a resource, used to validate cached copies via conditional requests

Answer + AI explanation with Pro

11. Which term means: "the header declaring the media format of the message body, such as application/json"?

Junior
  1. A.If-None-Match
  2. B.Content-Type
  3. C.Cache-Control
  4. D.ETag

Answer + AI explanation with Pro

12. Which statement is correct?

Junior
  1. A.Content-Type — the header that directs caching behavior with directives like max-age, no-store, private, and public
  2. B.Content-Type — the header declaring the media format of the message body, such as application/json
  3. C.Content-Type — a response header carrying an opaque version identifier for a resource, used to validate cached copies via conditional requests
  4. D.Content-Type — a conditional request header that sends a previously received validator so the server can answer not-modified when unchanged

Answer + AI explanation with Pro

Free to start

Start with a free readiness check

Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Caching & Headers question come with Pro.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers