Spring Boot Quiz (Set 16) Spring Boot (Set 6) 1 / 10 In Spring MVC, what is the role of a ViewResolver? To handle form submissions To manage database connections To resolve views based on logical view names To define URL mappings 2 / 10 What is the purpose of Spring Boot Auto-Configuration? The process of generating REST API documentation The automatic configuration of Spring beans based on the classpath and used dependencies The automatic generation of UI components in Spring applications The automated deployment of Spring Boot applications 3 / 10 Which annotation is used to enable asynchronous processing in Spring? @AsyncProcess @Asynchronous @Async @AsyncTask 4 / 10 What does the term 'Bean Scopes' refer to in Spring Framework? Configuration properties for beans A way to define AOP aspects The hierarchy of dependencies between beans Different lifecycles and availability of beans 5 / 10 What is the primary purpose of Spring Data JPA? To simplify interaction with databases using JPA To manage external APIs To handle frontend rendering To provide security features 6 / 10 What is the purpose of the '@CrossOrigin' annotation in Spring MVC? To enable cross-origin resource sharing (CORS) for specific controller methods To define a custom URL mapping To specify a request parameter To handle exceptions 7 / 10 Which Spring module provides support for transaction management? Spring Transaction Management Spring TX Spring Transaction Spring Data JPA 8 / 10 What is the purpose of the '@RequestMapping' annotation in Spring MVC? To define a configuration property To declare a bean in the application context To map a method to a specific HTTP request To specify a transaction boundary 9 / 10 Which annotation is used to define a JPA entity class? @Entity @Bean @Model @Component 10 / 10 In Spring Boot, what is the purpose of the 'application-test.properties' (or 'application-test.yml') file? To configure the main application properties To provide test-specific configuration settings To store database records for testing To define REST API endpoints for testing Your score isThe average score is 0% 0% Restart quiz