Errors & Content Negotiation interview questions

12 Errors & Content Negotiation 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 Accept Header?

Junior
  1. A.a request header by which a client states which media types it can handle, driving the server's choice of representation
  2. B.a standardized JSON error format (RFC 7807) with fields like type, title, status, and detail for machine-readable error responses
  3. C.the mechanism by which client and server agree on the representation format of a resource using Accept and related headers
  4. D.a response header telling the client how long to wait before retrying, commonly paired with rate-limit or unavailability responses

Answer + AI explanation with Pro

2. Which term means: "a request header by which a client states which media types it can handle, driving the server's choice of representation"?

Junior
  1. A.Retry-After
  2. B.Content Negotiation
  3. C.Problem Details
  4. D.Accept Header

Answer + AI explanation with Pro

3. Which statement is correct?

Junior
  1. A.Accept Header — a request header by which a client states which media types it can handle, driving the server's choice of representation
  2. B.Accept Header — a response header telling the client how long to wait before retrying, commonly paired with rate-limit or unavailability responses
  3. C.Accept Header — the mechanism by which client and server agree on the representation format of a resource using Accept and related headers
  4. D.Accept Header — a standardized JSON error format (RFC 7807) with fields like type, title, status, and detail for machine-readable error responses

Answer + AI explanation with Pro

4. What is Content Negotiation?

Mid
  1. A.a request header by which a client states which media types it can handle, driving the server's choice of representation
  2. B.a response header telling the client how long to wait before retrying, commonly paired with rate-limit or unavailability responses
  3. C.a standardized JSON error format (RFC 7807) with fields like type, title, status, and detail for machine-readable error responses
  4. D.the mechanism by which client and server agree on the representation format of a resource using Accept and related headers

Answer + AI explanation with Pro

5. Which term means: "the mechanism by which client and server agree on the representation format of a resource using Accept and related headers"?

Mid
  1. A.Accept Header
  2. B.Problem Details
  3. C.Content Negotiation
  4. D.Retry-After

Answer + AI explanation with Pro

6. Which statement is correct?

Mid
  1. A.Content Negotiation — a request header by which a client states which media types it can handle, driving the server's choice of representation
  2. B.Content Negotiation — the mechanism by which client and server agree on the representation format of a resource using Accept and related headers
  3. C.Content Negotiation — a standardized JSON error format (RFC 7807) with fields like type, title, status, and detail for machine-readable error responses
  4. D.Content Negotiation — a response header telling the client how long to wait before retrying, commonly paired with rate-limit or unavailability responses

Answer + AI explanation with Pro

7. What is Problem Details?

Senior
  1. A.a standardized JSON error format (RFC 7807) with fields like type, title, status, and detail for machine-readable error responses
  2. B.a request header by which a client states which media types it can handle, driving the server's choice of representation
  3. C.the mechanism by which client and server agree on the representation format of a resource using Accept and related headers
  4. D.a response header telling the client how long to wait before retrying, commonly paired with rate-limit or unavailability responses

Answer + AI explanation with Pro

8. Which term means: "a standardized JSON error format (RFC 7807) with fields like type, title, status, and detail for machine-readable error responses"?

Senior
  1. A.Accept Header
  2. B.Problem Details
  3. C.Content Negotiation
  4. D.Retry-After

Answer + AI explanation with Pro

9. Which statement is correct?

Senior
  1. A.Problem Details — a request header by which a client states which media types it can handle, driving the server's choice of representation
  2. B.Problem Details — a standardized JSON error format (RFC 7807) with fields like type, title, status, and detail for machine-readable error responses
  3. C.Problem Details — the mechanism by which client and server agree on the representation format of a resource using Accept and related headers
  4. D.Problem Details — a response header telling the client how long to wait before retrying, commonly paired with rate-limit or unavailability responses

Answer + AI explanation with Pro

10. What is Retry-After?

Mid
  1. A.a request header by which a client states which media types it can handle, driving the server's choice of representation
  2. B.the mechanism by which client and server agree on the representation format of a resource using Accept and related headers
  3. C.a response header telling the client how long to wait before retrying, commonly paired with rate-limit or unavailability responses
  4. D.a standardized JSON error format (RFC 7807) with fields like type, title, status, and detail for machine-readable error responses

Answer + AI explanation with Pro

11. Which term means: "a response header telling the client how long to wait before retrying, commonly paired with rate-limit or unavailability responses"?

Mid
  1. A.Content Negotiation
  2. B.Accept Header
  3. C.Retry-After
  4. D.Problem Details

Answer + AI explanation with Pro

12. Which statement is correct?

Mid
  1. A.Retry-After — the mechanism by which client and server agree on the representation format of a resource using Accept and related headers
  2. B.Retry-After — a response header telling the client how long to wait before retrying, commonly paired with rate-limit or unavailability responses
  3. C.Retry-After — a standardized JSON error format (RFC 7807) with fields like type, title, status, and detail for machine-readable error responses
  4. D.Retry-After — a request header by which a client states which media types it can handle, driving the server's choice of representation

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 Errors & Content Negotiation 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