Logging & Errors interview questions

15 Logging & Errors questions from the ASP.NET Core 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 ILogger?

Junior
  1. A.the injected abstraction used to emit categorized, leveled diagnostic messages from application code
  2. B.a pipeline component that catches unhandled errors and produces a controlled response instead of leaking details
  3. C.a standardized machine-readable JSON format for conveying error information in API responses
  4. D.a severity ranking such as Information, Warning, or Error used to filter which diagnostic messages are recorded

Answer + AI explanation with Pro

2. Which term means: "the injected abstraction used to emit categorized, leveled diagnostic messages from application code"?

Junior
  1. A.Log level
  2. B.ILogger
  3. C.Problem Details
  4. D.Exception handling middleware

Answer + AI explanation with Pro

3. Which statement is correct?

Junior
  1. A.ILogger — a pipeline component that catches unhandled errors and produces a controlled response instead of leaking details
  2. B.ILogger — a detailed diagnostic response shown only in development, exposing stack traces to aid debugging
  3. C.ILogger — the injected abstraction used to emit categorized, leveled diagnostic messages from application code
  4. D.ILogger — a standardized machine-readable JSON format for conveying error information in API responses

Answer + AI explanation with Pro

4. What is Exception handling middleware?

Mid
  1. A.a pipeline component that catches unhandled errors and produces a controlled response instead of leaking details
  2. B.a detailed diagnostic response shown only in development, exposing stack traces to aid debugging
  3. C.the injected abstraction used to emit categorized, leveled diagnostic messages from application code
  4. D.a severity ranking such as Information, Warning, or Error used to filter which diagnostic messages are recorded

Answer + AI explanation with Pro

5. Which term means: "a pipeline component that catches unhandled errors and produces a controlled response instead of leaking details"?

Mid
  1. A.Log level
  2. B.Developer exception page
  3. C.Problem Details
  4. D.Exception handling middleware

Answer + AI explanation with Pro

6. Which statement is correct?

Mid
  1. A.Exception handling middleware — a pipeline component that catches unhandled errors and produces a controlled response instead of leaking details
  2. B.Exception handling middleware — the injected abstraction used to emit categorized, leveled diagnostic messages from application code
  3. C.Exception handling middleware — a severity ranking such as Information, Warning, or Error used to filter which diagnostic messages are recorded
  4. D.Exception handling middleware — a detailed diagnostic response shown only in development, exposing stack traces to aid debugging

Answer + AI explanation with Pro

7. What is Developer exception page?

Mid
  1. A.a detailed diagnostic response shown only in development, exposing stack traces to aid debugging
  2. B.a pipeline component that catches unhandled errors and produces a controlled response instead of leaking details
  3. C.the injected abstraction used to emit categorized, leveled diagnostic messages from application code
  4. D.a severity ranking such as Information, Warning, or Error used to filter which diagnostic messages are recorded

Answer + AI explanation with Pro

8. Which term means: "a detailed diagnostic response shown only in development, exposing stack traces to aid debugging"?

Mid
  1. A.Developer exception page
  2. B.ILogger
  3. C.Exception handling middleware
  4. D.Log level

Answer + AI explanation with Pro

9. Which statement is correct?

Mid
  1. A.Developer exception page — a severity ranking such as Information, Warning, or Error used to filter which diagnostic messages are recorded
  2. B.Developer exception page — a detailed diagnostic response shown only in development, exposing stack traces to aid debugging
  3. C.Developer exception page — the injected abstraction used to emit categorized, leveled diagnostic messages from application code
  4. D.Developer exception page — a standardized machine-readable JSON format for conveying error information in API responses

Answer + AI explanation with Pro

10. What is Problem Details?

Senior
  1. A.a detailed diagnostic response shown only in development, exposing stack traces to aid debugging
  2. B.a pipeline component that catches unhandled errors and produces a controlled response instead of leaking details
  3. C.a standardized machine-readable JSON format for conveying error information in API responses
  4. D.the injected abstraction used to emit categorized, leveled diagnostic messages from application code

Answer + AI explanation with Pro

11. Which term means: "a standardized machine-readable JSON format for conveying error information in API responses"?

Senior
  1. A.ILogger
  2. B.Problem Details
  3. C.Exception handling middleware
  4. D.Developer exception page

Answer + AI explanation with Pro

12. Which statement is correct?

Senior
  1. A.Problem Details — the injected abstraction used to emit categorized, leveled diagnostic messages from application code
  2. B.Problem Details — a standardized machine-readable JSON format for conveying error information in API responses
  3. C.Problem Details — a pipeline component that catches unhandled errors and produces a controlled response instead of leaking details
  4. D.Problem Details — a detailed diagnostic response shown only in development, exposing stack traces to aid debugging

Answer + AI explanation with Pro

13. What is Log level?

Senior
  1. A.a severity ranking such as Information, Warning, or Error used to filter which diagnostic messages are recorded
  2. B.the injected abstraction used to emit categorized, leveled diagnostic messages from application code
  3. C.a standardized machine-readable JSON format for conveying error information in API responses
  4. D.a detailed diagnostic response shown only in development, exposing stack traces to aid debugging

Answer + AI explanation with Pro

14. Which term means: "a severity ranking such as Information, Warning, or Error used to filter which diagnostic messages are recorded"?

Senior
  1. A.Exception handling middleware
  2. B.Problem Details
  3. C.ILogger
  4. D.Log level

Answer + AI explanation with Pro

15. Which statement is correct?

Senior
  1. A.Log level — a detailed diagnostic response shown only in development, exposing stack traces to aid debugging
  2. B.Log level — a pipeline component that catches unhandled errors and produces a controlled response instead of leaking details
  3. C.Log level — a standardized machine-readable JSON format for conveying error information in API responses
  4. D.Log level — a severity ranking such as Information, Warning, or Error used to filter which diagnostic messages are recorded

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 Logging & Errors 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