Spring Framework Quiz # 8

Instructions
Quiz: Spring Framework Quiz # 8
Subject: Basic Spring Framework
Total Questions: 30 MCQs
Time: 30 Minutes

Note

  • Do not refresh the page while taking the test.
  • Results along with correct answers will be shown at the end of the test.
Spring Framework Quiz # 8
Question 1 of 30
00:00
  • What is component scanning?

  • What does @SpringBootApplication do?

  • How does Spring Data facilitate queries against a datastore?

  • What is the delegating filter proxy?

  • What value does Spring Boot Actuator provide?

  • What is the purpose of the @ContextConfiguration annotation in a JUnit Test?

  • How are authentication and authorization different?

  • What is the purpose of the @RequestBody annotation?

  • What is the DispatcherServlet and what is its function?

  • What is Spring Boot autoconfiguration?

  • Which are valid steps to take to enable JPA in Spring Boot?

  • What is a transaction in the context of Spring Data?

  • Modularization of a concern that cuts across multiple classes is known as a(n)____.

  • How do you inject a dependency into a Spring bean?

  • What is a bean in the context of Spring?

  • Which property is given precedence by Spring?

  • What Spring Boot property is used to set the logging level for the entire application in the application.properties file?

  • What is a Spring bean uniquely identified?

  • What is the difference between a JAR and a WAR distribution in Spring Boot?

  • How does the transaction propagation setting impact the behavior of transactions?

  • To register a custom filter that applies only to certain URL patterns, you should remove the _ annotation from the filter class and register a @Bean of type _ in Spring @Configuration.

  • What is the purpose of a web application context?

  • What is Spring AOP?

  • Assuming username and password authentication is in place, what method on the Authentication object can be used to obtain the username?

  • Assuming no additional configuration is provided, what is the first selection criteria Spring uses to choose a bean when autowiring a property?

  • What is a security context?

  • How might you map an incoming request to a controller method?

  • What pattern does Spring MVC implement to delegate request processing to controllers?

  • What methods does the Pointcut expression below reference? execution(* setter*(..))

  • What is the output from invoking this Actuator endpoint in an unmodified Spring Boot application generated using Spring Intializr? /shutdown

Spring Framework Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

Spring Framework Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it