1. What is MVC controller ? Junior A. a class deriving from a base type whose public action methods handle requests and return results B. a lightweight style that maps routes directly to lambda handlers without requiring a controller class C. an annotation that enables conventions like automatic 400 responses for invalid models and inference of binding sources D. the minimal-API helper producing a 200 response, optionally carrying a serialized payload Reveal the answer + AI explanation — free account
2. Which term means: "a class deriving from a base type whose public action methods handle requests and return results"? Junior A. Minimal API B. IActionResult C. MVC controller D. Results.Ok Reveal the answer + AI explanation — free account
3. Which statement is correct? Junior A. MVC controller — a class deriving from a base type whose public action methods handle requests and return results B. MVC controller — an annotation that enables conventions like automatic 400 responses for invalid models and inference of binding sources C. MVC controller — a return abstraction letting an action produce different HTTP outcomes such as Ok, NotFound, or BadRequest at runtime D. MVC controller — a lightweight style that maps routes directly to lambda handlers without requiring a controller class Reveal the answer + AI explanation — free account
4. What is Minimal API ? Junior A. an annotation that enables conventions like automatic 400 responses for invalid models and inference of binding sources B. the minimal-API helper producing a 200 response, optionally carrying a serialized payload C. a return abstraction letting an action produce different HTTP outcomes such as Ok, NotFound, or BadRequest at runtime D. a lightweight style that maps routes directly to lambda handlers without requiring a controller class Reveal the answer + AI explanation — free account
5. Which term means: "a lightweight style that maps routes directly to lambda handlers without requiring a controller class"? Junior A. IActionResult B. [ApiController] attribute C. Results.Ok D. Minimal API Reveal the answer + AI explanation — free account
6. Which statement is correct? Junior A. Minimal API — a return abstraction letting an action produce different HTTP outcomes such as Ok, NotFound, or BadRequest at runtime B. Minimal API — a class deriving from a base type whose public action methods handle requests and return results C. Minimal API — a lightweight style that maps routes directly to lambda handlers without requiring a controller class D. Minimal API — the minimal-API helper producing a 200 response, optionally carrying a serialized payload Reveal the answer + AI explanation — free account
7. What is [ApiController] attribute ? Mid A. the minimal-API helper producing a 200 response, optionally carrying a serialized payload B. an annotation that enables conventions like automatic 400 responses for invalid models and inference of binding sources C. a lightweight style that maps routes directly to lambda handlers without requiring a controller class D. a return abstraction letting an action produce different HTTP outcomes such as Ok, NotFound, or BadRequest at runtime Reveal the answer + AI explanation — free account
8. Which term means: "an annotation that enables conventions like automatic 400 responses for invalid models and inference of binding sources"? Mid A. Minimal API B. [ApiController] attribute C. MVC controller D. IActionResult Reveal the answer + AI explanation — free account
9. Which statement is correct? Mid A. [ApiController] attribute — the minimal-API helper producing a 200 response, optionally carrying a serialized payload B. [ApiController] attribute — an annotation that enables conventions like automatic 400 responses for invalid models and inference of binding sources C. [ApiController] attribute — a lightweight style that maps routes directly to lambda handlers without requiring a controller class D. [ApiController] attribute — a class deriving from a base type whose public action methods handle requests and return results Reveal the answer + AI explanation — free account
10. What is IActionResult ? Mid A. a lightweight style that maps routes directly to lambda handlers without requiring a controller class B. an annotation that enables conventions like automatic 400 responses for invalid models and inference of binding sources C. a class deriving from a base type whose public action methods handle requests and return results D. a return abstraction letting an action produce different HTTP outcomes such as Ok, NotFound, or BadRequest at runtime Reveal the answer + AI explanation — free account
11. Which term means: "a return abstraction letting an action produce different HTTP outcomes such as Ok, NotFound, or BadRequest at runtime"? Mid A. [ApiController] attribute B. Results.Ok C. MVC controller D. IActionResult Reveal the answer + AI explanation — free account
12. Which statement is correct? Mid A. IActionResult — a class deriving from a base type whose public action methods handle requests and return results B. IActionResult — a return abstraction letting an action produce different HTTP outcomes such as Ok, NotFound, or BadRequest at runtime C. IActionResult — the minimal-API helper producing a 200 response, optionally carrying a serialized payload D. IActionResult — a lightweight style that maps routes directly to lambda handlers without requiring a controller class Reveal the answer + AI explanation — free account
13. What is Results.Ok ? Senior A. a lightweight style that maps routes directly to lambda handlers without requiring a controller class B. the minimal-API helper producing a 200 response, optionally carrying a serialized payload C. an annotation that enables conventions like automatic 400 responses for invalid models and inference of binding sources D. a return abstraction letting an action produce different HTTP outcomes such as Ok, NotFound, or BadRequest at runtime Reveal the answer + AI explanation — free account
14. Which term means: "the minimal-API helper producing a 200 response, optionally carrying a serialized payload"? Senior A. MVC controller B. Results.Ok C. Minimal API D. IActionResult Reveal the answer + AI explanation — free account
15. Which statement is correct? Senior A. Results.Ok — a class deriving from a base type whose public action methods handle requests and return results B. Results.Ok — the minimal-API helper producing a 200 response, optionally carrying a serialized payload C. Results.Ok — a return abstraction letting an action produce different HTTP outcomes such as Ok, NotFound, or BadRequest at runtime D. Results.Ok — a lightweight style that maps routes directly to lambda handlers without requiring a controller class Reveal the answer + AI explanation — free account