Routing interview questions

15 Routing 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 Endpoint routing?

Junior
  1. A.a restriction in a template, such as int or guid, that limits which values a URL parameter will accept
  2. B.the system that matches an incoming URL to a registered handler before the matched handler executes
  3. C.defining URL patterns directly on controllers and actions using annotations like Route, HttpGet, and HttpPost
  4. D.a pattern string with literal segments and curly-brace parameters that defines which URLs a handler matches

Answer + AI explanation with Pro

2. Which term means: "the system that matches an incoming URL to a registered handler before the matched handler executes"?

Junior
  1. A.Route template
  2. B.Endpoint routing
  3. C.MapGet
  4. D.Attribute routing

Answer + AI explanation with Pro

3. Which statement is correct?

Junior
  1. A.Endpoint routing — a restriction in a template, such as int or guid, that limits which values a URL parameter will accept
  2. B.Endpoint routing — the system that matches an incoming URL to a registered handler before the matched handler executes
  3. C.Endpoint routing — a pattern string with literal segments and curly-brace parameters that defines which URLs a handler matches
  4. D.Endpoint routing — the minimal-API method that registers a handler responding only to HTTP GET requests at a given path

Answer + AI explanation with Pro

4. What is Route template?

Junior
  1. A.defining URL patterns directly on controllers and actions using annotations like Route, HttpGet, and HttpPost
  2. B.a pattern string with literal segments and curly-brace parameters that defines which URLs a handler matches
  3. C.the minimal-API method that registers a handler responding only to HTTP GET requests at a given path
  4. D.a restriction in a template, such as int or guid, that limits which values a URL parameter will accept

Answer + AI explanation with Pro

5. Which term means: "a pattern string with literal segments and curly-brace parameters that defines which URLs a handler matches"?

Junior
  1. A.Route template
  2. B.MapGet
  3. C.Route constraint
  4. D.Endpoint routing

Answer + AI explanation with Pro

6. Which statement is correct?

Junior
  1. A.Route template — a pattern string with literal segments and curly-brace parameters that defines which URLs a handler matches
  2. B.Route template — the minimal-API method that registers a handler responding only to HTTP GET requests at a given path
  3. C.Route template — the system that matches an incoming URL to a registered handler before the matched handler executes
  4. D.Route template — a restriction in a template, such as int or guid, that limits which values a URL parameter will accept

Answer + AI explanation with Pro

7. What is Attribute routing?

Mid
  1. A.the minimal-API method that registers a handler responding only to HTTP GET requests at a given path
  2. B.defining URL patterns directly on controllers and actions using annotations like Route, HttpGet, and HttpPost
  3. C.a pattern string with literal segments and curly-brace parameters that defines which URLs a handler matches
  4. D.the system that matches an incoming URL to a registered handler before the matched handler executes

Answer + AI explanation with Pro

8. Which term means: "defining URL patterns directly on controllers and actions using annotations like Route, HttpGet, and HttpPost"?

Mid
  1. A.Route template
  2. B.MapGet
  3. C.Endpoint routing
  4. D.Attribute routing

Answer + AI explanation with Pro

9. Which statement is correct?

Mid
  1. A.Attribute routing — the system that matches an incoming URL to a registered handler before the matched handler executes
  2. B.Attribute routing — the minimal-API method that registers a handler responding only to HTTP GET requests at a given path
  3. C.Attribute routing — defining URL patterns directly on controllers and actions using annotations like Route, HttpGet, and HttpPost
  4. D.Attribute routing — a pattern string with literal segments and curly-brace parameters that defines which URLs a handler matches

Answer + AI explanation with Pro

10. What is MapGet?

Mid
  1. A.a restriction in a template, such as int or guid, that limits which values a URL parameter will accept
  2. B.the system that matches an incoming URL to a registered handler before the matched handler executes
  3. C.the minimal-API method that registers a handler responding only to HTTP GET requests at a given path
  4. D.a pattern string with literal segments and curly-brace parameters that defines which URLs a handler matches

Answer + AI explanation with Pro

11. Which term means: "the minimal-API method that registers a handler responding only to HTTP GET requests at a given path"?

Mid
  1. A.MapGet
  2. B.Route template
  3. C.Endpoint routing
  4. D.Attribute routing

Answer + AI explanation with Pro

12. Which statement is correct?

Mid
  1. A.MapGet — a restriction in a template, such as int or guid, that limits which values a URL parameter will accept
  2. B.MapGet — the minimal-API method that registers a handler responding only to HTTP GET requests at a given path
  3. C.MapGet — a pattern string with literal segments and curly-brace parameters that defines which URLs a handler matches
  4. D.MapGet — defining URL patterns directly on controllers and actions using annotations like Route, HttpGet, and HttpPost

Answer + AI explanation with Pro

13. What is Route constraint?

Senior
  1. A.the system that matches an incoming URL to a registered handler before the matched handler executes
  2. B.a pattern string with literal segments and curly-brace parameters that defines which URLs a handler matches
  3. C.a restriction in a template, such as int or guid, that limits which values a URL parameter will accept
  4. D.defining URL patterns directly on controllers and actions using annotations like Route, HttpGet, and HttpPost

Answer + AI explanation with Pro

14. Which term means: "a restriction in a template, such as int or guid, that limits which values a URL parameter will accept"?

Senior
  1. A.MapGet
  2. B.Route constraint
  3. C.Route template
  4. D.Attribute routing

Answer + AI explanation with Pro

15. Which statement is correct?

Senior
  1. A.Route constraint — the system that matches an incoming URL to a registered handler before the matched handler executes
  2. B.Route constraint — the minimal-API method that registers a handler responding only to HTTP GET requests at a given path
  3. C.Route constraint — a restriction in a template, such as int or guid, that limits which values a URL parameter will accept
  4. D.Route constraint — defining URL patterns directly on controllers and actions using annotations like Route, HttpGet, and HttpPost

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 Routing 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