Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

VMware Exam 2V0-72.22 Topic 3 Question 48 Discussion

Actual exam question for VMware's 2V0-72.22 exam
Question #: 48
Topic #: 3
[All 2V0-72.22 Questions]

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.)

Show Suggested Answer Hide Answer
Suggested Answer: B, D

Contribute your Thoughts:

Rodney
6 months ago
E is a bit too aggressive. I don't think the auto-configuration should just replace any existing beans, that would be too disruptive.
upvoted 0 times
...
Annalee
6 months ago
Haha, C is just too specific. Why would the auto-configuration only work if the class isn't on the classpath? That doesn't make much sense.
upvoted 0 times
...
Casie
6 months ago
B seems right to me. The auto-configuration should only kick in if there are no other HelloService beans already defined.
upvoted 0 times
Marylou
5 months ago
Agreed. It's important to understand when the auto-configuration will take effect.
upvoted 0 times
...
Reynalda
5 months ago
Yes, option B is the correct one. The auto-configuration will only create a HelloService bean if there are no other beans of the same type already defined.
upvoted 0 times
...
Ressie
5 months ago
Yeah, that makes sense. It should only kick in when needed.
upvoted 0 times
...
Reynalda
6 months ago
I agree, option B is correct. The auto-configuration class will only create a HelloService bean if there isn't already one in the ApplicationContext.
upvoted 0 times
...
Rocco
6 months ago
Yeah, I agree. It makes sense that it would only kick in when there are no other HelloService beans in the ApplicationContext.
upvoted 0 times
...
Camellia
6 months ago
I think B is correct. The auto-configuration should only create a HelloService bean if there isn't already one.
upvoted 0 times
...
Ashleigh
6 months ago
I think B is correct. It will only create a HelloService bean if there isn't one already.
upvoted 0 times
...
...
Leontine
7 months ago
I think A and D are correct. The auto-configuration class should create a HelloService bean if it's on the classpath, but not replace any existing ones.
upvoted 0 times
Xuan
6 months ago
User 2
upvoted 0 times
...
Laurel
7 months ago
User 1
upvoted 0 times
...
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77