Filters interview questions

15 real Filters 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 Filter?

Junior
  1. A.the defined sequence in which the stages run, beginning with authorization and surrounding the action with resource and result stages
  2. B.a hook that runs only when an unhandled error occurs during action processing, allowing custom handling
  3. C.a hook running immediately before and after an action method executes, able to inspect or alter arguments and results
  4. D.a hook running code at a specific stage around the execution of an action within the MVC invocation
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.Filter — the defined sequence in which the stages run, beginning with authorization and surrounding the action with resource and result stages
  2. B.Filter — a hook running immediately before and after an action method executes, able to inspect or alter arguments and results
  3. C.Filter — a hook that runs only when an unhandled error occurs during action processing, allowing custom handling
  4. D.Filter — a hook running code at a specific stage around the execution of an action within the MVC invocation
Reveal the answer + AI explanation — free account

4. What is Action filter?

Mid
  1. A.a hook running immediately before and after an action method executes, able to inspect or alter arguments and results
  2. B.the first filter stage to run, deciding whether a caller may proceed before any other logic executes
  3. C.the defined sequence in which the stages run, beginning with authorization and surrounding the action with resource and result stages
  4. D.a hook running code at a specific stage around the execution of an action within the MVC invocation
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Mid
  1. A.Action filter — a hook running immediately before and after an action method executes, able to inspect or alter arguments and results
  2. B.Action filter — a hook running code at a specific stage around the execution of an action within the MVC invocation
  3. C.Action filter — a hook that runs only when an unhandled error occurs during action processing, allowing custom handling
  4. D.Action filter — the first filter stage to run, deciding whether a caller may proceed before any other logic executes
Reveal the answer + AI explanation — free account

7. What is Exception filter?

Mid
  1. A.a hook running immediately before and after an action method executes, able to inspect or alter arguments and results
  2. B.a hook running code at a specific stage around the execution of an action within the MVC invocation
  3. C.a hook that runs only when an unhandled error occurs during action processing, allowing custom handling
  4. D.the first filter stage to run, deciding whether a caller may proceed before any other logic executes
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Mid
  1. A.Exception filter — a hook that runs only when an unhandled error occurs during action processing, allowing custom handling
  2. B.Exception filter — the first filter stage to run, deciding whether a caller may proceed before any other logic executes
  3. C.Exception filter — the defined sequence in which the stages run, beginning with authorization and surrounding the action with resource and result stages
  4. D.Exception filter — a hook running code at a specific stage around the execution of an action within the MVC invocation
Reveal the answer + AI explanation — free account

10. What is Authorization filter?

Senior
  1. A.a hook running code at a specific stage around the execution of an action within the MVC invocation
  2. B.a hook that runs only when an unhandled error occurs during action processing, allowing custom handling
  3. C.the defined sequence in which the stages run, beginning with authorization and surrounding the action with resource and result stages
  4. D.the first filter stage to run, deciding whether a caller may proceed before any other logic executes
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Senior
  1. A.Authorization filter — a hook that runs only when an unhandled error occurs during action processing, allowing custom handling
  2. B.Authorization filter — the defined sequence in which the stages run, beginning with authorization and surrounding the action with resource and result stages
  3. C.Authorization filter — a hook running immediately before and after an action method executes, able to inspect or alter arguments and results
  4. D.Authorization filter — the first filter stage to run, deciding whether a caller may proceed before any other logic executes
Reveal the answer + AI explanation — free account

13. What is Filter execution order?

Senior
  1. A.a hook running immediately before and after an action method executes, able to inspect or alter arguments and results
  2. B.the defined sequence in which the stages run, beginning with authorization and surrounding the action with resource and result stages
  3. C.a hook running code at a specific stage around the execution of an action within the MVC invocation
  4. D.a hook that runs only when an unhandled error occurs during action processing, allowing custom handling
Reveal the answer + AI explanation — free account

14. Which term means: "the defined sequence in which the stages run, beginning with authorization and surrounding the action with resource and result stages"?

Senior
  1. A.Action filter
  2. B.Authorization filter
  3. C.Filter
  4. D.Filter execution order
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Senior
  1. A.Filter execution order — a hook that runs only when an unhandled error occurs during action processing, allowing custom handling
  2. B.Filter execution order — a hook running immediately before and after an action method executes, able to inspect or alter arguments and results
  3. C.Filter execution order — the first filter stage to run, deciding whether a caller may proceed before any other logic executes
  4. D.Filter execution order — the defined sequence in which the stages run, beginning with authorization and surrounding the action with resource and result stages
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 Filters free