New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce B2B Commerce for Developers Accredited Professional (AP-202) Exam - Topic 2 Question 73 Discussion

Actual exam question for Salesforce's B2B Commerce for Developers Accredited Professional (AP-202) exam
Question #: 73
Topic #: 2
[All B2B Commerce for Developers Accredited Professional (AP-202) Questions]

What are two ways a developer should ensure that a store verifies changes by using an external service?

Show Suggested Answer Hide Answer
Suggested Answer: A

When including additional JavaScript files in a Lightning Web Component, it is required that these files are ECMAScript 6 (ES6) modules and have unique names within the component's folder. This ensures proper module resolution and avoids namespace conflicts. Salesforce LWC documentation provides guidelines on organizing component resources, including JavaScript modules, to ensure they are correctly recognized and utilized within the LWC framework.


Contribute your Thoughts:

0/2000 characters
Tamekia
3 months ago
Not sure about D, triggers can be tricky for this kind of task.
upvoted 0 times
...
Kiera
3 months ago
Totally agree with B, it's more robust!
upvoted 0 times
...
Jeannine
3 months ago
Wait, can you really use a trigger for that? Seems off.
upvoted 0 times
...
Melvin
4 months ago
I think A is simpler and gets the job done.
upvoted 0 times
...
Vilma
4 months ago
Option B is definitely the way to go for integration.
upvoted 0 times
...
Buddy
4 months ago
I’m leaning towards option A, but I’m a bit confused about the differences between flows and Apex classes in this context.
upvoted 0 times
...
Pete
4 months ago
I remember practicing a question similar to this, and I think creating a flow could be a valid way to handle external service calls.
upvoted 0 times
...
Alyce
4 months ago
I'm not entirely sure, but I feel like using a trigger might not be the best approach for this scenario.
upvoted 0 times
...
Alease
5 months ago
I think option B sounds familiar since we discussed implementing interfaces in our last study session.
upvoted 0 times
...
Samuel
5 months ago
I'm not sure if a trigger is the best approach here. I think it's better to use an Apex class or a flow to interact with the external service and update the Cart Delivery Group Methods.
upvoted 0 times
...
Eveline
5 months ago
I'm pretty confident that option B is the way to go. Creating an Apex class to implement the sfdc_checkout.CartShippingCharges interface and registering it as the calculation integration in the store administration seems like the most robust solution.
upvoted 0 times
...
Edna
5 months ago
I'm a bit confused here. Do we need to create an Apex class, or can we use a flow? I'm not sure which approach is better.
upvoted 0 times
...
Ming
5 months ago
Okay, I think I've got this. The key is to use an external service to verify the changes, so I'm leaning towards options B or C.
upvoted 0 times
...
Buddy
5 months ago
Hmm, this looks like a tricky one. I'll need to carefully read through the options and think about the best approach.
upvoted 0 times
...
Howard
9 months ago
I'm going to have to go with the classics - B and C. Creating an Apex class and registering it as the integration is the way to do it. And updating the Cart Delivery Group Methods is just icing on the cake.
upvoted 0 times
Alethea
8 months ago
Creating a trigger might work too, but B and C are more reliable.
upvoted 0 times
...
Annice
8 months ago
Agreed, those are the classic ways to ensure changes are verified.
upvoted 0 times
...
Gary
8 months ago
Updating the Cart Delivery Group Methods is definitely important.
upvoted 0 times
...
Gilberto
9 months ago
I think B and C are the way to go. Creating an Apex class is key.
upvoted 0 times
...
...
Mel
10 months ago
Ah, the age-old question of how to ensure a store verifies changes using an external service. Option B is the way to go, my friends. Implementing that interface is the key to success!
upvoted 0 times
...
Arthur
10 months ago
Option A sounds like it could work, but it's not the best approach. Manually creating a flow to retrieve shipping charges seems a bit cumbersome. I agree with the other candidates - B and C are the way to go.
upvoted 0 times
Aimee
8 months ago
Yeah, I see what you mean. Option A might be more manual work than necessary. B and C definitely seem like the better options.
upvoted 0 times
...
Pok
8 months ago
I agree, option C also seems like a good solution. Updating the Cart Delivery Group Method directly through an Apex class makes sense.
upvoted 0 times
...
Gennie
9 months ago
I think option B is the best choice. Creating an Apex class to retrieve shipping charges from an external service seems like a more efficient approach.
upvoted 0 times
...
...
Lorean
10 months ago
Haha, Option D is just straight-up wrong! A trigger to update the Cart Delivery Group Methods? That's just asking for trouble. I'll go with B and C.
upvoted 0 times
...
Mitsue
10 months ago
I'm leaning towards Option B. Registering the Apex class as the calculation integration in the store administration makes the most sense to me.
upvoted 0 times
Lamonica
9 months ago
Definitely, Option B provides a clear and structured way to verify changes using an external service.
upvoted 0 times
...
Olive
9 months ago
Definitely, it ensures that the store is able to retrieve shipping charges accurately.
upvoted 0 times
...
Novella
9 months ago
I agree, using an Apex class to retrieve shipping charges and registering it as the calculation integration seems like a solid method.
upvoted 0 times
...
Tarra
9 months ago
Option B sounds like the best approach. It ensures the external service is properly integrated into the store administration.
upvoted 0 times
...
Annice
9 months ago
I agree, that way the external service can be properly integrated for verifying changes.
upvoted 0 times
...
Vincenza
9 months ago
Option B sounds like the best choice. It's important to register the Apex class in the store administration.
upvoted 0 times
...
...
Vesta
10 months ago
Options B and C seem like the correct answers. Creating a class that implements the sfdc_checkout.CartShippingCharges interface is the way to go, and updating the Cart Delivery Group Methods is also a good approach.
upvoted 0 times
...
Terrilyn
11 months ago
I'm not sure, but option A also sounds like it could work by updating the Cart Delivery Group Methods.
upvoted 0 times
...
Jenelle
11 months ago
I agree with Lemuel, option B seems like the best choice for ensuring verification with an external service.
upvoted 0 times
...
Lemuel
11 months ago
I think option B is the correct one because it mentions implementing an interface.
upvoted 0 times
...

Save Cancel