What causes item data to be invalidated in the SAP Commerce Cloud entity cache? Note: There are =====
2 correct answers to this question.
Suggested Answer: A, D
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
12 comments · newest first
CH
Cherrie
10 months ago
I remember we talked about setter methods, but I can't recall if calling a setter method on a Model class actually invalidates the cache. It feels like it could, but I'm uncertain.
SE
Selma
10 months ago
I'm not entirely sure, but I feel like calling the modelService.save() method might also invalidate item data. It sounds familiar from the practice questions we did.
ME
Melita
10 months ago
I think receiving an invalidation event for the item via cluster messaging is definitely one of the correct answers. It seems to align with what we discussed in class.
MA
Marcelle
10 months ago
I've got a few ideas on this one. I think calling the modelService.create() method and passing a Model class would invalidate the cache, since that would be creating a new item. And calling a setter method on a Model class would also likely invalidate the cache, since that would be modifying the item data. But I'm not 100% sure about the modelService.save() method.
BE
Berry
10 months ago
Okay, let me see. I'm pretty sure that receiving an invalidation event would cause the cache to be invalidated, since that would indicate that the item data has changed. But I'm not sure about the other options - I'll need to think through them carefully.
SO
Solange
11 months ago
No way, C is not a cause!
VI
Virgilio
11 months ago
A) and D) are correct. The cache is invalidated when an item is updated or saved.
AN
Anabel
11 months ago
A and D are definitely the right answers!
MA
Marion
11 months ago
Haha, the cache is like a black box. Who knows what really invalidates it?
DE
Detra
11 months ago
I think B could also be a valid option.
JA
Jacquelyne
12 months ago
Hmm, this seems like a tricky one. I'm not totally sure about the specifics of the SAP Commerce Cloud entity cache, but I know that caching can be a complex topic. I'll need to think carefully about the different ways that item data could be modified.
HE
Helaine
12 months ago
I think the key here is to focus on what can cause the cache to be invalidated. The question mentions "item data" so I'll need to think about the different ways that item data can be updated or changed in the system.