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 Certified B2C Commerce Cloud Developer (Comm-Dev-101) Exam - Topic 3 Question 83 Discussion

Actual exam question for Salesforce's Salesforce Certified B2C Commerce Cloud Developer (Comm-Dev-101) exam
Question #: 83
Topic #: 3
[All Salesforce Certified B2C Commerce Cloud Developer (Comm-Dev-101) Questions]

A developer is asked to implement a simple call to an authentication - protected REST web service.

Which configuration is valid?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Karma
3 months ago
I disagree, A seems risky to expose the password.
upvoted 0 times
...
Chandra
3 months ago
Wait, can you really use a .properties file for this?
upvoted 0 times
...
Kerry
3 months ago
C is just for configuration, not authentication.
upvoted 0 times
...
Vanna
4 months ago
I think B is more secure though.
upvoted 0 times
...
Walker
4 months ago
Option A is definitely the way to go!
upvoted 0 times
...
Mollie
4 months ago
I feel like I’ve seen similar questions before, and I think option A might be the most straightforward way to handle authentication, but I’m not completely confident.
upvoted 0 times
...
Teddy
4 months ago
I’m a bit confused about the .properties file in option C. I think it’s used for configuration, but I’m not sure if it directly relates to authentication.
upvoted 0 times
...
Cory
4 months ago
I remember practicing a question where we had to set up credentials, and I feel like using a site preference for the username could be a good approach, so maybe B is correct.
upvoted 0 times
...
Mozell
5 months ago
I think option A sounds familiar, but I'm not entirely sure if just adding the password is enough for authentication.
upvoted 0 times
...
Florinda
5 months ago
Tricky one. I'll need to make sure I understand the requirements and best practices for this type of integration.
upvoted 0 times
...
Dorothy
5 months ago
I've seen questions like this before. I'll review the options and apply my knowledge of secure web service authentication.
upvoted 0 times
...
Nikita
5 months ago
Okay, let's see. I'll need to consider how to properly handle the authentication credentials and endpoint configuration.
upvoted 0 times
...
Maryann
5 months ago
Hmm, I'm not sure about this. I'll need to think it through carefully to make sure I get the right configuration.
upvoted 0 times
...
Tamar
5 months ago
This looks like a straightforward authentication question. I think I can handle this one.
upvoted 0 times
...
Krystina
9 months ago
Hey, I heard the correct answer is to hide the credentials in a secret cave under a waterfall. That's the most secure way, right? *wink wink*
upvoted 0 times
...
Therese
9 months ago
I don't know, guys. This is a tricky one. I'm just glad I'm not the one who has to implement this. It's like walking through a minefield of security pitfalls.
upvoted 0 times
Gary
8 months ago
C) Insert the service's endpoint in a .properties file.
upvoted 0 times
...
Adell
8 months ago
B) Configure the authentication username using a site preference.
upvoted 0 times
...
Galen
8 months ago
A) Add the authentication password to the service credentials.
upvoted 0 times
...
...
Lindsay
10 months ago
C is interesting, putting the endpoint in a properties file. Keeps things nicely separated, but is that the only valid configuration here?
upvoted 0 times
Vernell
8 months ago
C) Insert the service's endpoint in a .properties file.
upvoted 0 times
...
Shenika
8 months ago
B) Configure the authentication username using a site preference.
upvoted 0 times
...
Kayleigh
9 months ago
A) Add the authentication password to the service credentials.
upvoted 0 times
...
...
Lettie
10 months ago
B is a good approach, using a site preference for the username. But what about the password? Hmm, need to think about that one.
upvoted 0 times
Wava
8 months ago
You could also insert the service's endpoint in a .properties file for the configuration.
upvoted 0 times
...
Tiera
8 months ago
That's a good point, but I believe configuring the authentication username using a site preference is a better approach.
upvoted 0 times
...
Julio
9 months ago
I think you can add the authentication password to the service credentials.
upvoted 0 times
...
...
Ernie
10 months ago
Option A seems straightforward, but I don't think storing the password in the code is a good idea. Security-wise, that's a big no-no.
upvoted 0 times
Shawna
9 months ago
C) Insert the service's endpoint in a .properties file.
upvoted 0 times
...
Rickie
9 months ago
B) Configure the authentication username using a site preference.
upvoted 0 times
...
Cary
9 months ago
A) Add the authentication password to the service credentials.
upvoted 0 times
...
...
Amie
11 months ago
But wouldn't it be more secure to insert the service's endpoint in a .properties file?
upvoted 0 times
...
Freeman
11 months ago
I disagree, I believe the authentication username should be configured using a site preference.
upvoted 0 times
...
Amie
11 months ago
I think the correct configuration is to add the authentication password to the service credentials.
upvoted 0 times
...

Save Cancel