Logging & Errors interview questions

15 real Logging & Errors questions from the ASP.NET Core bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

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
Reveal the answer + AI explanation — free account

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
Reveal the answer + AI explanation — free account

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
Reveal the answer + AI explanation — free account

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
Reveal the answer + AI explanation — free account

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
Reveal the answer + AI explanation — free account

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
Reveal the answer + AI explanation — free account

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
Reveal the answer + AI explanation — free account

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
Reveal the answer + AI explanation — free account

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
Reveal the answer + AI explanation — free account

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
Reveal the answer + AI explanation — free account

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
Reveal the answer + AI explanation — free account

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
Reveal the answer + AI explanation — free account

Free to start

Answers, AI explanations, and a scored voice mock interview

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.

Practice Logging & Errors free