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 Certified B2C Commerce Architect (Arch-303) Exam - Topic 1 Question 82 Discussion

An integration cartridge implements communication between the B2C Commerce Storefront and a third-party service provider. The cartridge contains the localServiceRegistry code:How does this code sample accomplish authentication to the service provider?
D) By disabling Basic Auth and executing the service authentication call.
A) By Issuing a Basic Auth request to the service provider.
B) By performing a signed SOAP Auth request using a certificate.
C) By wrapping the authentication service call with Basic Auth.

Salesforce Certified B2C Commerce Architect (Arch-303) Exam - Topic 1 Question 82 Discussion

Actual exam question for Salesforce's Salesforce Certified B2C Commerce Architect (Arch-303) exam
Question #: 82
Topic #: 1
[All Salesforce Certified B2C Commerce Architect (Arch-303) Questions]

An integration cartridge implements communication between the B2C Commerce Storefront and a third-party service provider. The cartridge contains the localServiceRegistry code:

How does this code sample accomplish authentication to the service provider?

Show Suggested Answer Hide Answer
Suggested Answer: D

The code sample shows the creation of a service request to a third-party service provider, where the authentication method is explicitly set to 'NONE' using the line svc.setAuthentication('NONE');. This configuration implies that the request does not use Basic Authentication or any embedded credentials like client ID and secret in the HTTP headers for authentication purposes. Instead, it builds the authentication details into the request body, which suggests that the service expects credentials as part of the payload rather than as part of the standard authentication headers, thus effectively disabling Basic Auth for this transaction.


Contribute your Thoughts:

0/2000 characters
Rachael
2 days ago
I lean towards B. Signed SOAP Auth seems more secure.
upvoted 0 times
...
Tina
8 days ago
I think it's A. Basic Auth is straightforward.
upvoted 0 times
...
Gail
13 days ago
C could work too, but I feel like it complicates things.
upvoted 0 times
...
Lauran
18 days ago
I agree with A, but I’m not sure if it’s the only way.
upvoted 0 times
...
Garry
23 days ago
Wait, is D even a real option? That seems risky!
upvoted 0 times
...
Paris
28 days ago
B sounds right, signed SOAP requests are pretty secure.
upvoted 0 times
...
Dalene
1 month ago
I think it's A, Basic Auth request makes sense here.
upvoted 0 times
...
Talia
1 month ago
I’m pretty confident that it’s not option D, but I need to double-check how the authentication is structured in the code.
upvoted 0 times
...
Fatima
1 month ago
I feel like I’ve seen something similar where they disable Basic Auth, but I can’t recall if that’s the right approach here.
upvoted 0 times
...
Larue
2 months ago
I remember practicing a question about SOAP requests, so I’m leaning towards option B, but I could be mixing it up.
upvoted 0 times
...
Francisca
2 months ago
I think the code might be using Basic Auth, but I'm not entirely sure if it’s option A or C.
upvoted 0 times
...

Save Cancel