1. What is @RestController ? Junior A. a shortcut annotation routing HTTP GET requests for a given path to a handler method B. a stereotype for web request handlers whose methods typically return view names for server-side rendering C. an annotation binding a query-string or form field to a handler method parameter D. an annotation equal to combining the web controller stereotype with body serialization on every handler method Answer + AI explanation with Pro
2. Which term means: "an annotation equal to combining the web controller stereotype with body serialization on every handler method"? Junior A. @RestController B. @RequestParam C. @Controller D. @RequestMapping Answer + AI explanation with Pro
3. Which statement is correct? Junior A. @RestController — an annotation equal to combining the web controller stereotype with body serialization on every handler method B. @RestController — an annotation that deserializes the incoming HTTP payload into a method parameter object C. @RestController — a shortcut annotation routing HTTP GET requests for a given path to a handler method D. @RestController — an annotation binding a query-string or form field to a handler method parameter Answer + AI explanation with Pro
4. What is @Controller ? Junior A. an annotation equal to combining the web controller stereotype with body serialization on every handler method B. an annotation binding a query-string or form field to a handler method parameter C. a stereotype for web request handlers whose methods typically return view names for server-side rendering D. an annotation binding a templated URI segment to a handler method parameter Answer + AI explanation with Pro
5. Which term means: "a stereotype for web request handlers whose methods typically return view names for server-side rendering"? Junior A. @RequestMapping B. @RequestBody C. @Controller D. DispatcherServlet Answer + AI explanation with Pro
6. Which statement is correct? Junior A. @Controller — an annotation binding a templated URI segment to a handler method parameter B. @Controller — a stereotype for web request handlers whose methods typically return view names for server-side rendering C. @Controller — a wrapper giving full control over the HTTP response including status code, headers, and body D. @Controller — an annotation binding a query-string or form field to a handler method parameter Answer + AI explanation with Pro
7. What is @RequestMapping ? Mid A. the front controller that receives all requests and delegates them to the appropriate handlers B. an annotation equal to combining the web controller stereotype with body serialization on every handler method C. a stereotype for web request handlers whose methods typically return view names for server-side rendering D. the general annotation that maps HTTP requests to handler methods by path, method, headers, and params Answer + AI explanation with Pro
8. Which term means: "the general annotation that maps HTTP requests to handler methods by path, method, headers, and params"? Mid A. @RestController B. DispatcherServlet C. @Controller D. @RequestMapping Answer + AI explanation with Pro
9. Which statement is correct? Mid A. @RequestMapping — an annotation binding a query-string or form field to a handler method parameter B. @RequestMapping — the general annotation that maps HTTP requests to handler methods by path, method, headers, and params C. @RequestMapping — an annotation binding a templated URI segment to a handler method parameter D. @RequestMapping — a shortcut annotation routing HTTP GET requests for a given path to a handler method Answer + AI explanation with Pro
10. What is @GetMapping ? Junior A. an annotation equal to combining the web controller stereotype with body serialization on every handler method B. a shortcut annotation routing HTTP GET requests for a given path to a handler method C. a stereotype for web request handlers whose methods typically return view names for server-side rendering D. an annotation binding a templated URI segment to a handler method parameter Answer + AI explanation with Pro
11. Which term means: "a shortcut annotation routing HTTP GET requests for a given path to a handler method"? Junior A. @RestController B. DispatcherServlet C. @GetMapping D. @RequestParam Answer + AI explanation with Pro
12. Which statement is correct? Junior A. @GetMapping — a stereotype for web request handlers whose methods typically return view names for server-side rendering B. @GetMapping — a shortcut annotation routing HTTP GET requests for a given path to a handler method C. @GetMapping — the general annotation that maps HTTP requests to handler methods by path, method, headers, and params D. @GetMapping — an annotation that deserializes the incoming HTTP payload into a method parameter object Answer + AI explanation with Pro
13. What is @PathVariable ? Junior A. a wrapper giving full control over the HTTP response including status code, headers, and body B. a shortcut annotation routing HTTP GET requests for a given path to a handler method C. an annotation binding a templated URI segment to a handler method parameter D. an annotation binding a query-string or form field to a handler method parameter Answer + AI explanation with Pro
14. Which term means: "an annotation binding a templated URI segment to a handler method parameter"? Junior A. DispatcherServlet B. @PathVariable C. @RequestMapping D. @RestController Answer + AI explanation with Pro
15. Which statement is correct? Junior A. @PathVariable — an annotation binding a templated URI segment to a handler method parameter B. @PathVariable — an annotation equal to combining the web controller stereotype with body serialization on every handler method C. @PathVariable — the general annotation that maps HTTP requests to handler methods by path, method, headers, and params D. @PathVariable — the front controller that receives all requests and delegates them to the appropriate handlers Answer + AI explanation with Pro
16. What is @RequestParam ? Junior A. an annotation equal to combining the web controller stereotype with body serialization on every handler method B. a stereotype for web request handlers whose methods typically return view names for server-side rendering C. an annotation that deserializes the incoming HTTP payload into a method parameter object D. an annotation binding a query-string or form field to a handler method parameter Answer + AI explanation with Pro
17. Which term means: "an annotation binding a query-string or form field to a handler method parameter"? Junior A. ResponseEntity B. @RestController C. @RequestParam D. @GetMapping Answer + AI explanation with Pro
18. Which statement is correct? Junior A. @RequestParam — an annotation binding a query-string or form field to a handler method parameter B. @RequestParam — the front controller that receives all requests and delegates them to the appropriate handlers C. @RequestParam — a shortcut annotation routing HTTP GET requests for a given path to a handler method D. @RequestParam — a wrapper giving full control over the HTTP response including status code, headers, and body Answer + AI explanation with Pro
19. What is @RequestBody ? Mid A. the front controller that receives all requests and delegates them to the appropriate handlers B. an annotation that deserializes the incoming HTTP payload into a method parameter object C. an annotation equal to combining the web controller stereotype with body serialization on every handler method D. an annotation binding a templated URI segment to a handler method parameter Answer + AI explanation with Pro
20. Which term means: "an annotation that deserializes the incoming HTTP payload into a method parameter object"? Mid A. @RequestBody B. @Controller C. @RequestParam D. @GetMapping Answer + AI explanation with Pro
21. Which statement is correct? Mid A. @RequestBody — an annotation equal to combining the web controller stereotype with body serialization on every handler method B. @RequestBody — an annotation that deserializes the incoming HTTP payload into a method parameter object C. @RequestBody — an annotation binding a templated URI segment to a handler method parameter D. @RequestBody — the front controller that receives all requests and delegates them to the appropriate handlers Answer + AI explanation with Pro
22. What is ResponseEntity ? Mid A. an annotation binding a query-string or form field to a handler method parameter B. a stereotype for web request handlers whose methods typically return view names for server-side rendering C. a wrapper giving full control over the HTTP response including status code, headers, and body D. an annotation equal to combining the web controller stereotype with body serialization on every handler method Answer + AI explanation with Pro
23. Which term means: "a wrapper giving full control over the HTTP response including status code, headers, and body"? Mid A. @Controller B. @RestController C. ResponseEntity D. @PathVariable Answer + AI explanation with Pro
24. Which statement is correct? Mid A. ResponseEntity — the front controller that receives all requests and delegates them to the appropriate handlers B. ResponseEntity — an annotation that deserializes the incoming HTTP payload into a method parameter object C. ResponseEntity — a shortcut annotation routing HTTP GET requests for a given path to a handler method D. ResponseEntity — a wrapper giving full control over the HTTP response including status code, headers, and body Answer + AI explanation with Pro
25. What is DispatcherServlet ? Mid A. an annotation binding a templated URI segment to a handler method parameter B. the front controller that receives all requests and delegates them to the appropriate handlers C. an annotation equal to combining the web controller stereotype with body serialization on every handler method D. a stereotype for web request handlers whose methods typically return view names for server-side rendering Answer + AI explanation with Pro
26. Which term means: "the front controller that receives all requests and delegates them to the appropriate handlers"? Mid A. @RequestBody B. ResponseEntity C. DispatcherServlet D. @RequestParam Answer + AI explanation with Pro
27. Which statement is correct? Mid A. DispatcherServlet — a wrapper giving full control over the HTTP response including status code, headers, and body B. DispatcherServlet — the front controller that receives all requests and delegates them to the appropriate handlers C. DispatcherServlet — an annotation that deserializes the incoming HTTP payload into a method parameter object D. DispatcherServlet — the general annotation that maps HTTP requests to handler methods by path, method, headers, and params Answer + AI explanation with Pro