15 real Middleware & Pipeline 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 Middleware?
Junior
A.a terminal delegate that ends the pipeline and never calls the next component
B.a component assembled into the request pipeline that handles a request and optionally forwards it to the next component
C.the method that adds an inline component which can run code before and after invoking the next delegate in the chain
D.the rule that the sequence in which components are registered determines how requests and responses are processed, so misplacement can break behavior
A.a terminal delegate that ends the pipeline and never calls the next component
B.a component assembled into the request pipeline that handles a request and optionally forwards it to the next component
C.the rule that the sequence in which components are registered determines how requests and responses are processed, so misplacement can break behavior
D.the ordered chain of components through which every incoming HTTP request flows before a response is produced
A.Request pipeline — a terminal delegate that ends the pipeline and never calls the next component
B.Request pipeline — the rule that the sequence in which components are registered determines how requests and responses are processed, so misplacement can break behavior
C.Request pipeline — the ordered chain of components through which every incoming HTTP request flows before a response is produced
D.Request pipeline — the method that adds an inline component which can run code before and after invoking the next delegate in the chain
A.the method that adds an inline component which can run code before and after invoking the next delegate in the chain
B.a component assembled into the request pipeline that handles a request and optionally forwards it to the next component
C.a terminal delegate that ends the pipeline and never calls the next component
D.the rule that the sequence in which components are registered determines how requests and responses are processed, so misplacement can break behavior
8. Which term means: "the rule that the sequence in which components are registered determines how requests and responses are processed, so misplacement can break behavior"?
A.Middleware ordering — a component assembled into the request pipeline that handles a request and optionally forwards it to the next component
B.Middleware ordering — the ordered chain of components through which every incoming HTTP request flows before a response is produced
C.Middleware ordering — the method that adds an inline component which can run code before and after invoking the next delegate in the chain
D.Middleware ordering — the rule that the sequence in which components are registered determines how requests and responses are processed, so misplacement can break behavior
A.a terminal delegate that ends the pipeline and never calls the next component
B.the rule that the sequence in which components are registered determines how requests and responses are processed, so misplacement can break behavior
C.the method that adds an inline component which can run code before and after invoking the next delegate in the chain
D.the ordered chain of components through which every incoming HTTP request flows before a response is produced
A.app.Use — the ordered chain of components through which every incoming HTTP request flows before a response is produced
B.app.Use — the rule that the sequence in which components are registered determines how requests and responses are processed, so misplacement can break behavior
C.app.Use — the method that adds an inline component which can run code before and after invoking the next delegate in the chain
D.app.Use — a terminal delegate that ends the pipeline and never calls the next component
A.app.Run — the rule that the sequence in which components are registered determines how requests and responses are processed, so misplacement can break behavior
B.app.Run — a terminal delegate that ends the pipeline and never calls the next component
C.app.Run — the ordered chain of components through which every incoming HTTP request flows before a response is produced
D.app.Run — a component assembled into the request pipeline that handles a request and optionally forwards it to the next component
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.