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 CCM-101 Exam - Topic 10 Question 26 Discussion

A developer is asked to implement a simple call to an authentication - protected REST web service.Which configuration is valid?
A) Add the authentication password to the service credentials.
B) Configure the authentication username using a site preference.
C) Insert the service's endpoint in a .properties file.

Salesforce CCM-101 Exam - Topic 10 Question 26 Discussion

Actual exam question for Salesforce's CCM-101 exam
Question #: 26
Topic #: 10
[All CCM-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: A

Contribute your Thoughts:

0/2000 characters
Carlton
8 months ago
I’m surprised this is even a question, isn’t it obvious?
upvoted 0 times
...
Staci
8 months ago
Wait, can you really just add the password like that?
upvoted 0 times
...
Hana
8 months ago
C is just for configuration, not authentication.
upvoted 0 times
...
Shonda
9 months ago
I think B makes more sense for security.
upvoted 0 times
...
Penney
9 months ago
A is definitely the way to go!
upvoted 0 times
...
Reuben
9 months ago
This question reminds me of a similar one we practiced, but I can't recall if we discussed the specifics of using site preferences for authentication.
upvoted 0 times
...
Vallie
9 months ago
I feel like option C could be relevant too, especially if the endpoint needs to be referenced in the code.
upvoted 0 times
...
Walton
9 months ago
I'm not entirely sure, but I remember something about site preferences in option B being used for configuration settings.
upvoted 0 times
...
Franklyn
10 months ago
I think option A might be correct since adding the password to the service credentials seems like a common practice for authentication.
upvoted 0 times
...
Denae
10 months ago
I think a multi-stage Dockerfile would be the best approach here. It allows you to build and test the application in a separate stage without publishing the results to the pipeline.
upvoted 0 times
...
Matthew
10 months ago
I'm a bit uncertain about this one. The $match stage seems straightforward, but the $group stage has me stumped. I'll need to think it through carefully before committing to an answer.
upvoted 0 times
...
Bobbye
10 months ago
Hmm, I'm not entirely sure about this one. I'll need to think through the SMTP protocol details to determine if the statement is true or false.
upvoted 0 times
...
Roxane
1 year ago
I bet the developer who came up with these options was the same one who thought it was a good idea to put the nuclear launch codes on a Post-it note.
upvoted 0 times
...
Lynelle
1 year ago
Wait, are we supposed to use the password as the secret decoder ring for the authentication? Silly me, I thought we were past the days of hiding secrets in plain sight.
upvoted 0 times
Pearly
1 year ago
C) Insert the service's endpoint in a .properties file.
upvoted 0 times
...
Reita
1 year ago
B) Configure the authentication username using a site preference.
upvoted 0 times
...
Mozell
1 year ago
A) Add the authentication password to the service credentials.
upvoted 0 times
...
...
Annelle
1 year ago
Stashing the endpoint in a .properties file? Classy move, keeps it nice and organized.
upvoted 0 times
Vashti
1 year ago
A: Definitely, makes it easier to manage the configurations.
upvoted 0 times
...
Hui
1 year ago
B: Yeah, it's a good way to keep everything neat and tidy.
upvoted 0 times
...
Heidy
1 year ago
A: C) Insert the service's endpoint in a .properties file.
upvoted 0 times
...
...
Dolores
1 year ago
Configuring the username through a site preference? Sounds like a good way to manage that sensitive info.
upvoted 0 times
...
Roslyn
1 year ago
Hmm, adding the password to the service credentials? That's a big no-no! Security 101, folks.
upvoted 0 times
Chun
1 year ago
C) Insert the service's endpoint in a .properties file.
upvoted 0 times
...
Melodie
1 year ago
Hmm, adding the password to the service credentials? That's a big no-no! Security 101, folks.
upvoted 0 times
...
Glendora
1 year ago
A) Add the authentication password to the service credentials.
upvoted 0 times
...
...
Jamie
1 year ago
But wouldn't it be more secure to keep the password separate from the credentials?
upvoted 0 times
...
Josphine
1 year ago
I disagree, I believe the authentication username should be configured using a site preference.
upvoted 0 times
...
Jamie
1 year ago
I think the correct configuration is to add the authentication password to the service credentials.
upvoted 0 times
...

Save Cancel