Spring Certified Professional 2023 Exam Questions & Answers

Practice 36 free Spring Certified Professional 2023 exam questions with answers and community-discussed explanations. Each question has its own page where you can reveal the correct answer and debate it in the comments.

All 36 questions

  1. Q1 What symbol is used in @Value expressions in Spring? (select 2)
  2. Q2 Select two essential components for enabling transaction management in Spring. (select 2)
  3. Q3 _______ tests are small, isolated tests that verify the correctness of a specific unit of code, typically a single function or method, in…
  4. Q4 Which snippet binds foo.properties to Foo bean?Consider Foo having :private long id; private String name;
  5. Q5 What is defined as "A predicate that matches join points"
  6. Q6 When using the @SpringBootTest annotation with the attribute webEnvironment set to RANDOM_PORT or DEFINED_PORT, which class is created and configured accordingly?
  7. Q7 Which transaction propagation behavior uses the current transaction if it exists? (select 2)
  8. Q8 What happens when we use @Autowired on a final field?
  9. Q9 Which annotation is used to enable reading and deserialization of the request body?
  10. Q10 Which of the following are pre-enabled HttpMessageConverters? (select 2)
  11. Q11 Which of the following is NOT auto-configured when using @WebMvcTest?
  12. Q12 Which statements about @Autowired are correct? (select 2)
  13. Q13 SpEL expressions begin with the # symbol and are wrapped in braces: #{expression}. Properties can be referenced in a similar fashion, starting…
  14. Q14 ______ is linking aspects with other application types or objects to create an advised object.
  15. Q15 ______ are the data points that are monitored and measured to assess various aspects of a Spring Boot application, such as its…
  16. Q16 _______ is an interface in Spring Security that represents a user's information, such as username, password, and authorities.
  17. Q17 Which class is responsible for resolving and injecting values into beans annotated with @Value?
  18. Q18 Which annotation can be used in Spring to give precedence to a specific bean?
  19. Q19 Which of the following is an annotation that can be used to add mocks to a Spring ApplicationContext?
  20. Q20 Which statements accurately describe the Spring Application Context? (select 2)
  21. Q21 To enable annotation-based security, we need to add the _______ annotation on any @Configuration class.
  22. Q22 What is the dependency name of the additional set of tools included in Spring Boot that can make the application development experience…
  23. Q23 Which is true about Spring RestTemplate?
  24. Q24 Which pointcut expression in Spring AOP matches join points for method execution?
  25. Q25 Which one is NOT a Stereotype annotation?
  26. Q26 Which of the following options are true? (select 2)Using field injection has the following results:
  27. Q27 In Spring logging, default configurations are provided for (select 3)
  28. Q28 @WebMvcTest annotation will auto-configure: (select 3)
  29. Q29 ________ in ACID refers to the property that ensures a transaction brings the database from one consistent state to another, preserving the…
  30. Q30 What should you use on a configuration class to enable aspect support?
  31. Q31 The HTTP ________ response status code indicates that the server understands the request but refuses to authorize it.
  32. Q32 Which ordering operator can be used in the declaration of custom finder methods in a Spring Data JPA Repository Interface? (select 2)
  33. Q33 Which of the following is an authentication mechanism? (select 5)
  34. Q34 Which testing libraries come with the spring-boot-starter-test starter? (select 2)
  35. Q35 Which of the following statements are true about the DataSource interface? (select 2)
  36. Q36 Which prefixes are allowed in the query builder mechanism built into Spring Data repository? (select 5)

More VMware certifications

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need