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 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
3 months ago
I’m surprised this is even a question, isn’t it obvious?
upvoted 0 times
...
Staci
3 months ago
Wait, can you really just add the password like that?
upvoted 0 times
...
Hana
4 months ago
C is just for configuration, not authentication.
upvoted 0 times
...
Shonda
4 months ago
I think B makes more sense for security.
upvoted 0 times
...
Penney
4 months ago
A is definitely the way to go!
upvoted 0 times
...
Reuben
4 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
4 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
5 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
5 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
5 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
5 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
5 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
10 months 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
10 months 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
9 months ago
C) Insert the service's endpoint in a .properties file.
upvoted 0 times
...
Reita
9 months ago
B) Configure the authentication username using a site preference.
upvoted 0 times
...
Mozell
9 months ago
A) Add the authentication password to the service credentials.
upvoted 0 times
...
...
Annelle
10 months ago
Stashing the endpoint in a .properties file? Classy move, keeps it nice and organized.
upvoted 0 times
Vashti
9 months ago
A: Definitely, makes it easier to manage the configurations.
upvoted 0 times
...
Hui
9 months ago
B: Yeah, it's a good way to keep everything neat and tidy.
upvoted 0 times
...
Heidy
9 months ago
A: C) Insert the service's endpoint in a .properties file.
upvoted 0 times
...
...
Dolores
10 months ago
Configuring the username through a site preference? Sounds like a good way to manage that sensitive info.
upvoted 0 times
...
Roslyn
10 months ago
Hmm, adding the password to the service credentials? That's a big no-no! Security 101, folks.
upvoted 0 times
Chun
9 months ago
C) Insert the service's endpoint in a .properties file.
upvoted 0 times
...
Melodie
9 months ago
Hmm, adding the password to the service credentials? That's a big no-no! Security 101, folks.
upvoted 0 times
...
Glendora
10 months ago
A) Add the authentication password to the service credentials.
upvoted 0 times
...
...
Jamie
11 months ago
But wouldn't it be more secure to keep the password separate from the credentials?
upvoted 0 times
...
Josphine
11 months ago
I disagree, I believe the authentication username should be configured using a site preference.
upvoted 0 times
...
Jamie
11 months ago
I think the correct configuration is to add the authentication password to the service credentials.
upvoted 0 times
...

Save Cancel