Domanda di colloquio di Accenture

1. Can you explain the difference between @RestController and @Controller in Spring Boot? 2. How does Spring Boot’s auto-configuration work, and how can you customize it? 3. What is the purpose of the application.properties or application.yml file in a Spring Boot application? 4. How can you secure a Spring Boot application using Spring Security? Provide an example. 5. What is the use of @SpringBootApplication, and what annotations does it combine?