Which two statements about the @Autowired annotation are true? (Choose two.)
Suggested Answer: B, E
Get Premium 2V0-72.22 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
11 comments · newest first
GI
Gianna
1 year ago
Actually, @Autowired can be used with BeanPostProcessor too, pretty cool!
QU
Quentin
1 year ago
I thought field injection happens automatically with @Autowired on a class.
RO
Rodrigo
1 year ago
Wait, if it can't find a dependency, it throws a RuntimeException? That seems harsh!
RE
Refugia
1 year ago
Totally agree, that's super handy!
BR
Brynn
1 year ago
@Autowired can inject multiple arguments into a method.
CL
Claribel
1 year ago
I don't recall much about BeanPostProcessor, but I think option E might be a bit specific and not commonly discussed.
MA
Margurite
1 year ago
I feel like I read that @Autowired can be used on classes, but I'm not sure if it automatically injects everything like option D suggests.
AN
Anika
1 year ago
I remember practicing a question about method injection with @Autowired, so option B seems right to me.
AL
Alexia
1 year ago
I think option C sounds familiar, but I'm not entirely sure if it throws a RuntimeException or something else.
WI
Winfred
1 year ago
Option D looks like the right solution to me. Blacklisting all other instances of iexplore.exe and whitelisting the specific directory should do the trick.
KE
Kent
1 year ago
This looks like a tricky question on audit policies in container databases. I'll need to carefully read through the options and think about how audit policies work in a CDB environment.