Which two statements are correct regarding the Health Indicator status? (Choose two.)
CD
Explanation:
Reference:
https://docs.spring.io/spring-boot/docs/1.5.x/reference/html/production-ready-endpoints.html
Which statement about @TestPropertySource annotation is true? (Choose the best answer.)
D
Explanation:
Reference:
https://www.concretepage.com/spring-5/testpropertysource-example-spring-test
Which two statements are correct regarding the Actuator info endpoint? (Choose two.)
BC
Explanation:
Reference:
https://docs.spring.io/spring-boot/docs/current/reference/html/actuator.html
Refer to the exhibit.
Which statement is true? (Choose the best answer.)
C
Which statement describes the @AfterReturning advice type? (Choose the best answer.)
A
Explanation:
Reference:
https://www.amitph.com/spring-aop-afterreturning-advice
Refer to the exhibit.
How can a response status code be set for No Content (204)? (Choose the best answer.)
C
Explanation:
Reference:
https://stackoverflow.com/questions/55691288/is-this-the-correct-way-to-return-204-no-
content
- using-spring
Which two statements are correct regarding Spring Boot auto-configuration? (Choose two.)
DE
Which two statements are true regarding storing user details in Spring Security? (Choose two.)
AE
Which two statements are true regarding @DataJpaTest? (Choose two.)
BD
Explanation:
Reference:
https://docs.spring.io/spring-boot/docs/current/api/org/springframework/boot/test/autoconfigure/orm/jpa/DataJpaTest.html
Refer to the exhibit.
What is the id/name of the declared bean in this Java configuration class? (Choose the best answer.)
D
Refer to the exhibit.
Which two statements are correct regarding the HelloAutoConfig auto-configuration class when it is
specified in the META-INF/spring.factories file? (Choose two.)
BD
Refer to the exhibit.
Based on the default Spring behavior, choose the correct answer. (Choose the best answer.)
C
Which two statements are true about Spring Boot and Spring Data JPA? (Choose two.)
CE
Explanation:
Reference:
https://docs.spring.io/spring-boot/docs/1.5.14.RELEASE/reference/html/boot-features-sql.html
Which two options are valid optional attributes for Springs @Transactional annotation? (Choose
two.)
AE
Explanation:
Reference:
https://learningviacode.blogspot.com/2012/10/attributes-in-springs-declarative.html
Which statement is true about the @PropertySource annotation? (Choose the best answer.)
B