Deal of The Day! 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 3 Question 38 Discussion

A developer needs to make a call to a long running web service which is critical to finalizing their checkout process. Which three items should the developer consider in their implementation?
A) A new CORS entry may need to be created in Setup and C) An Apex method returning a Continuation will need to be created
B) new Named Credential may need to be created in Setup
D) Requests to the service should be brokered to prevent limit exceptions
E) A new Remote Site may need to be created in Setup

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

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

A developer needs to make a call to a long running web service which is critical to finalizing their checkout process. Which three items should the developer consider in their implementation?

Show Suggested Answer Hide Answer
Suggested Answer: A, C

Contribute your Thoughts:

0/2000 characters
Ashley
8 months ago
Wait, do we really need a new Remote Site for this? Sounds excessive.
upvoted 0 times
...
Nydia
8 months ago
Agreed, brokering requests is a must to avoid hitting limits!
upvoted 0 times
...
Belen
8 months ago
Not sure about the Continuation method, seems complicated for a simple call.
upvoted 0 times
...
Karl
9 months ago
I think a CORS entry is also important for cross-origin requests.
upvoted 0 times
...
Gladys
9 months ago
Definitely need a new Named Credential for secure access.
upvoted 0 times
...
Nikita
9 months ago
I vaguely remember something about brokered requests to avoid hitting limits, but I need to double-check if that's relevant here.
upvoted 0 times
...
Art
9 months ago
Continuations were mentioned in our practice questions, and I feel like they might be crucial for handling the long-running service call.
upvoted 0 times
...
Casie
9 months ago
I think creating a Named Credential is important for managing authentication, but I can't recall if it's always required for long-running calls.
upvoted 0 times
...
Launa
10 months ago
I remember we talked about CORS entries in class, but I'm not entirely sure if it's necessary for this scenario.
upvoted 0 times
...
Lourdes
10 months ago
Hmm, I'm not totally sure about this one. I'll need to think it through carefully and consider the key concepts around 5G network slicing.
upvoted 0 times
...
Nikita
10 months ago
Hmm, I'm a bit confused by the wording of the question. I need to make sure I understand the difference between the options before I choose an answer.
upvoted 0 times
...
Donte
10 months ago
Hmm, I'm not familiar with TBAR - I'll need to review my VPN notes to see which solution uses that.
upvoted 0 times
...
Dick
10 months ago
I'm a little confused by the different options here. I'll need to re-read the question and think through the implications of the fragment offset field being a multiple of different byte sizes.
upvoted 0 times
...
Kenneth
1 year ago
Hmm, let's see... B, C, and D sound like the safest bet. Although, I'm kind of curious about this 'long-running web service' in a checkout process. Sounds like someone's got some serious optimism going on!
upvoted 0 times
Skye
1 year ago
Definitely, it's important to handle those long-running web services carefully.
upvoted 0 times
...
Tequila
1 year ago
Yeah, those options seem like they would cover all the bases.
upvoted 0 times
...
Audra
1 year ago
I think B, C, and D are the way to go for sure.
upvoted 0 times
...
Mitzie
1 year ago
Definitely, better safe than sorry when it comes to critical services.
upvoted 0 times
...
Elmer
1 year ago
Yeah, those options seem like they cover all the bases.
upvoted 0 times
...
Miesha
1 year ago
I think B, C, and D are the way to go.
upvoted 0 times
...
...
Naomi
1 year ago
Obviously, the answer is C, D, and E. I mean, who needs CORS these days? Remote Sites are where it's at, my friend!
upvoted 0 times
Leeann
1 year ago
Creating an Apex method returning a Continuation is key for handling long running web services.
upvoted 0 times
...
Ellsworth
1 year ago
Definitely, and don't forget about brokering requests to prevent limit exceptions.
upvoted 0 times
...
Lindsay
1 year ago
I agree, CORS is so last season. Remote Sites are the way to go!
upvoted 0 times
...
...
Catarina
1 year ago
Haha, 'long-running web service' and 'checkout process' in the same sentence? That's a recipe for disaster! But I'd go with B, C, and D to keep things under control.
upvoted 0 times
Dorinda
1 year ago
Brokering requests is key to avoid hitting limit exceptions.
upvoted 0 times
...
Vanda
1 year ago
An Apex method with Continuation will help manage the long-running process.
upvoted 0 times
...
Fidelia
1 year ago
Creating a new Named Credential is definitely important for secure access.
upvoted 0 times
...
Carla
1 year ago
I agree, B, C, and D seem like the best options to handle this.
upvoted 0 times
...
Audra
1 year ago
Brokering requests is key to avoid hitting limit exceptions.
upvoted 0 times
...
Erasmo
1 year ago
An Apex method with Continuation will help manage the long-running process.
upvoted 0 times
...
Sharika
1 year ago
Creating a new Named Credential is definitely important for secure access.
upvoted 0 times
...
Jani
1 year ago
I agree, B, C, and D seem like the best options to handle this.
upvoted 0 times
...
...
Keith
1 year ago
I believe option D is essential to prevent limit exceptions when making requests to the service.
upvoted 0 times
...
Kathrine
1 year ago
I agree with Paris, but I also think option E is crucial for creating a new Remote Site.
upvoted 0 times
...
Paris
1 year ago
I think option B is important because it mentions creating a Named Credential.
upvoted 0 times
...
Melita
1 year ago
I believe option D is essential to prevent limit exceptions when making requests to the service.
upvoted 0 times
...
Gary
1 year ago
I think B, C, and D are the way to go. Creating a Named Credential and using a Continuation Apex method should handle the long-running nature of the call, and brokering the requests will help avoid limit exceptions.
upvoted 0 times
Kasandra
1 year ago
Brokering the requests is definitely important to prevent limit exceptions.
upvoted 0 times
...
Erick
1 year ago
I agree, using a Named Credential and a Continuation Apex method is a good approach.
upvoted 0 times
...
...
Leonie
1 year ago
I agree with Bo, but I also think option E is crucial for creating a new Remote Site.
upvoted 0 times
...
Bo
1 year ago
I think option B is important because it mentions creating a Named Credential.
upvoted 0 times
...

Save Cancel