Deal of The Day! 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 7 Question 66 Discussion

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

Refer to the exhibit.

AppConfig is a Java configuration class. Which two statements are true? (Choose two.)

Show Suggested Answer Hide Answer
Suggested Answer: D, E

Contribute your Thoughts:

Altha
6 days ago
Thanks for clarifying, Irma. So the correct answers are C and E.
upvoted 0 times
...
Irma
7 days ago
Actually, Joesph, the clientService bean will have prototype scope by default, so A is incorrect.
upvoted 0 times
...
Becky
8 days ago
Haha, I almost picked B thinking it was a trick question. Good thing I double-checked the docs on Spring bean naming conventions.
upvoted 0 times
...
Maryanne
11 days ago
Nice question! I'd say the wording of B is a bit tricky, but overall, it's a good assessment of our understanding of Spring configuration.
upvoted 0 times
...
Devora
13 days ago
I agree, C and D are the right choices. The Java configuration can also be profile specific, which is useful for different environments.
upvoted 0 times
...
Joesph
15 days ago
I'm not sure about the clientService bean scope. I think it defaults to Singleton.
upvoted 0 times
...
Altha
19 days ago
I agree with you, Irma. The @Profile annotation can make the Java configuration profile specific.
upvoted 0 times
...
Irma
26 days ago
I think the correct answers are C and E.
upvoted 0 times
...
Theron
29 days ago
The correct answers are C and D. The clientService bean will be lazy initialized, and it will be a Singleton by default.
upvoted 0 times
Jettie
9 days ago
D) The bean is of type clientService and by default will be a Singleton.
upvoted 0 times
...
Jettie
10 days ago
C) The clientService bean will be lazy initialized the first time accessed.
upvoted 0 times
...
...

Save Cancel