Which two statements about BeanFactoryPostProcessors are true? (Choose two.)
Suggested Answer: B, C
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
29 comments · newest first
HE
Herschel
12 months ago
C is misleading, it’s not about creating proxies.
ME
Melodie
12 months ago
Wait, does D really implement BeanFactoryPostProcessor? Sounds odd.
JE
Jestine
1 year ago
Totally agree with B, it's all about pre-instantiation!
MI
Miss
1 year ago
I thought A was true too, but it's not.
SH
Shaun
1 year ago
B and D are definitely true!
VA
Valda
1 year ago
I’m confused about C and E; I thought proxies were created by AOP, not BeanFactoryPostProcessors, but I could be mixing things up.
GA
Garry
1 year ago
I practiced a question like this, and I feel like A is definitely wrong because it talks about after instantiation, which doesn't sound right for BeanFactoryPostProcessors.
BL
Blondell
1 year ago
I'm not entirely sure, but I remember something about PropertySourcesPlaceholderConfigurer being related to BeanFactoryPostProcessor, so D might be one of the answers.
WI
Willie
1 year ago
I think BeanFactoryPostProcessors are involved in modifying bean definitions before instantiation, so maybe option B is correct.
MA
Ma
1 year ago
I've got a good handle on BeanFactoryPostProcessors. I know they allow you to transform bean definitions, either before or after instantiation. And I believe they're used for things like transaction management and reading property values. I should be able to identify the two correct statements.
NI
Nikita
1 year ago
Okay, let's see. I remember that BeanFactoryPostProcessors can modify bean definitions, but I'm not sure if it's before or after instantiation. And I think they're related to things like property placeholders, but I'm not certain. I'll have to review my notes on this.
LA
Lacey
1 year ago
Hmm, I'm a bit unsure about this one. I know BeanFactoryPostProcessors have something to do with bean definitions, but I'm not sure about the specifics of when they're applied. I'll need to think this through carefully.
KI
Kirby
1 year ago
This question seems pretty straightforward. I'm confident I can identify the two correct statements about BeanFactoryPostProcessors.
CY
Cyndy
1 year ago
Ah, this is a tricky one. I'm not super familiar with the details of private policing, so I'll have to make an educated guess on this.
SO
Sol
1 year ago
I'm leaning towards option D - setting the cartridge path so that app_newsite is after app_storefront. This way, the existing code in app_storefront will still be used, and the new template in app_newsite will override it for the new site. But I'm not 100% sure, so I'll double-check the details.
HE
Hermila
2 years ago
Hah, I bet the exam writers were trying to trip us up with that one. Good thing I read the Spring docs carefully!
DE
Denae
2 years ago
D) PropertySourcesPlaceholderConfigurer implements BeanFactoryPostProcessor and is used to read property values from the Spring Environment.
KA
Kasandra
2 years ago
A) Allows for the transformation of Spring bean definitions after the beans have been instantiated.
DO
Dorethea
2 years ago
C is a bit misleading. That's more the job of the AOP framework, not BeanFactoryPostProcessors.
WI
Winfred
2 years ago
I'm not sure about the other options, but I think A) might also be true since BeanFactoryPostProcessors can transform bean definitions after instantiation.
NA
Naomi
2 years ago
A is incorrect. BeanFactoryPostProcessors work before bean instantiation, not after.
YU
Yuriko
1 year ago
Yes, PropertySourcesPlaceholderConfigurer is a good example of a BeanFactoryPostProcessor.
JA
Jamie
2 years ago
That makes sense. BeanFactoryPostProcessors definitely work before bean instantiation.
JO
Johana
2 years ago
D) PropertySourcesPlaceholderConfigurer implements BeanFactoryPostProcessor and is used to read property values from the Spring Environment.
LU
Luisa
2 years ago
B) Allows for the transformation of Spring bean definitions before the beans are instantiated.
CH
Charlena
2 years ago
I think E is also correct. BeanFactoryPostProcessors can handle lifecycle annotations like @PostConstruct and @PreDestroy.
DE
Deandrea
2 years ago
B and D are the correct answers. BeanFactoryPostProcessors can transform bean definitions before instantiation, and PropertySourcesPlaceholderConfigurer is a concrete implementation that reads property values from the Spring Environment.
SO
Solange
2 years ago
I agree with you, Chantay. I also believe that D) is true because PropertySourcesPlaceholderConfigurer implements BeanFactoryPostProcessor to read property values from the Spring Environment.
CH
Chantay
2 years ago
I think B) is true because BeanFactoryPostProcessors allow for the transformation of Spring bean definitions before instantiation.