You need to create a new custom promotion based on customer reviews for a product. You create
a customPromotion extension with a new Rule Aware Object to keep customer reviews. In which
file will you define this new Rule Aware Object?
Suggested Answer: C
Get Premium P_C4H34_2411 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
33 comments · newest first
MI
Ming
11 months ago
Wait, are we sure about this? Sounds tricky!
ER
Erick
12 months ago
No way, I think it's customPromotion-items.xml!
WI
Wilda
12 months ago
CustomPromotion-backoffice-config.xml seems right to me.
LE
Lettie
1 year ago
I thought it was in the customPromotion-spring.xml file?
EL
Elfrieda
1 year ago
Definitely in the customPromotion-beans.xml file.
BR
Brent
1 year ago
I'm confused about this one; I thought the items.xml file was more for data definitions, not rules.
MA
Margret
1 year ago
I practiced a similar question, and I feel like the customPromotion-spring.xml file was mentioned a lot in those examples.
BE
Becky
1 year ago
I remember something about backoffice configurations, so maybe it's in the customPromotion-backoffice-config.xml file?
CR
Cruz
1 year ago
I think the Rule Aware Object might be defined in the customPromotion-beans.xml file, but I'm not entirely sure.
TO
Tony
1 year ago
I'm feeling confident about this one. The Rule Aware Object for the customer reviews would be defined in the customPromotion-backoffice-config.xml file, as that's the standard location for defining custom objects in the Hybris platform.
SI
Simona
1 year ago
Based on my understanding, the Rule Aware Object should be defined in the customPromotion-items.xml file, since that's where we define our custom data models.
KA
Kayleigh
1 year ago
I'm a bit confused on this one. I'm not sure if the Rule Aware Object would be defined in the customPromotion-spring.xml file or the customPromotion-beans.xml file. I'll need to double-check the documentation.
DE
Devora
1 year ago
Okay, let me see... I'm pretty sure it would be defined in the customPromotion-backoffice-config.xml file, since that's where we usually define our custom objects.
FL
Florinda
1 year ago
Hmm, this seems like a tricky one. I'll need to think carefully about where the Rule Aware Object would be defined.
IL
Ilona
2 years ago
Hey, I've got a great idea! Why don't we just put the Rule Aware Object in all the files? Then we'll be sure to get it right! *chuckles* Just kidding, of course. But it would be a surefire way to pass the exam, right?
CR
Cristen
2 years ago
D) In the customPromotion-items.xml file
IR
Iraida
2 years ago
C) In the customPromotion-beans.xml file
DU
Dustin
2 years ago
B) In the customPromotion-spring.xml file
SV
Svetlana
2 years ago
A) In the customPromotion-backoffice-config.xml file
FR
Franchesca
2 years ago
I'm going with C. The customPromotion-beans.xml file is the place to define our custom beans, and the Rule Aware Object is definitely a custom bean, so that's where it should go.
TE
Teddy
2 years ago
B is the way to go! The customPromotion-spring.xml file is where we configure our Spring-based components, including the Rule Aware Object. It just makes sense to put it there.
AL
Alease
2 years ago
Yes, the customPromotion-spring.xml file is where we configure Spring-based components like the Rule Aware Object.
MA
Marshall
2 years ago
I agree, B is the correct file to define the new Rule Aware Object.
TW
Twana
2 years ago
Hmm, I'm not sure about that. Wouldn't it make more sense to define the Rule Aware Object in the customPromotion-spring.xml file? That's where we usually define our Spring beans, right?
AN
Annamae
2 years ago
User 2: Yeah, that makes sense. We usually define Spring beans there.
TH
Theron
2 years ago
User 1: I think it should be defined in the customPromotion-spring.xml file.
LA
Lawana
2 years ago
I see your point, but I think customPromotion-beans.xml file would be the best choice for defining the new Rule Aware Object.
DE
Denae
2 years ago
I disagree, I believe it should be defined in the customPromotion-spring.xml file.
LA
Lawana
2 years ago
I think the new Rule Aware Object should be defined in the customPromotion-backoffice-config.xml file.
RE
Reed
2 years ago
I think the answer is D. The new Rule Aware Object should be defined in the customPromotion-items.xml file. That's where we define the data model for our custom objects.
AU
Audria
2 years ago
I agree with you, D is the correct answer. It's where we define the items for our custom promotion.
CA
Catarina
2 years ago
I think it should be B. The customPromotion-spring.xml file is where we define new beans and dependencies.
MI
Michel
2 years ago
I believe the answer is D. That's where we define the data model for our custom objects.