VMware vRealize Automation 8.x (2022) — Question 57

Which two mechanisms of autowiring a dependency when multiple beans match the dependency's type are correct? (Choose two.)

Answer options

Correct answer: B, D

Explanation

The correct answers are B and D because both options correctly demonstrate the use of @Qualifier with @Autowired in a way that resolves ambiguity when multiple beans of the same type exist. Options A, C, and E are incorrect as they either misplace the annotations or suggest that @Autowired is optional when it is necessary for proper dependency injection with @Qualifier.