VMware
Spring Professional Develop
2V0-72.22
Prepare for the 2V0-72.22 exam to validate your skills in Spring Professional development.
192 questions
0 views
Free
Questions 191–192 of 192
A team is developing microservices that need to communicate securely; which Spring feature is best for handling authentication?
-
A
OAuth2 with Spring Security
-
B
Spring Batch Authentication
-
C
Spring Session Management
-
D
Spring Cloud Config
Explanation
OAuth2 with Spring Security provides robust authentication solutions, unlike other options which address different concerns.
You are configuring a Spring application using profile-specific properties; what happens if a profile is not activated?
-
A
Default properties are loaded
-
B
Application fails to start
-
C
Profile-specific properties are prioritized
-
D
Dynamic properties override the defaults
Explanation
When a profile is not activated, default properties are used; others misrepresent the behavior of Spring profiles.