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 Platform Developer II (Plat-Dev-301) Exam - Topic 3 Question 117 Discussion

Actual exam question for Salesforce's Salesforce Certified Platform Developer II (Plat-Dev-301) exam
Question #: 117
Topic #: 3
[All Salesforce Certified Platform Developer II (Plat-Dev-301) Questions]

A developer is asked to find a way to store sacret data with an ability to specify which profiles and users can access which secrets.

What should be used to store this data?

Show Suggested Answer Hide Answer
Suggested Answer: D

Custom metadata types are the optimal way to store secret data that needs to be accessed by certain profiles and users. Access to custom metadata records can be controlled by the Salesforce sharing model. Reference: Salesforce Help - Custom Metadata Types Overview


Contribute your Thoughts:

0/2000 characters
Karan
2 months ago
Custom settings might work too, but not as well as metadata.
upvoted 0 times
...
Deandrea
2 months ago
Agreed, it allows for more flexibility with user permissions.
upvoted 0 times
...
Marvel
3 months ago
Wait, can we really use Custom metadata for sensitive data?
upvoted 0 times
...
Tabetha
3 months ago
Static resources? That's not secure at all!
upvoted 0 times
...
Erick
3 months ago
I think Custom metadata is the way to go for access control.
upvoted 0 times
...
Anisha
3 months ago
I’m a bit confused about static resources; I don’t think they’re meant for sensitive data storage, but I can’t recall the exact reason why.
upvoted 0 times
...
Malcom
4 months ago
I feel like the system.Cookie class is not suitable for storing secrets since it's more for session management.
upvoted 0 times
...
Laurel
4 months ago
I remember a practice question where we had to choose between custom metadata and custom settings. I think custom metadata might be more flexible for this scenario.
upvoted 0 times
...
Vivan
4 months ago
I think we discussed using custom settings for storing sensitive data, but I'm not entirely sure if they allow for user-specific access controls.
upvoted 0 times
...
Yoko
4 months ago
I'm a little confused by this question. Storing sensitive data securely is important, but I'm not sure which of these options is the best approach. I'll have to review the material again before deciding.
upvoted 0 times
...
Lillian
4 months ago
Okay, I think I've got this. The key is being able to specify which profiles and users can access the secrets. That points to using custom metadata to store the data and manage the permissions.
upvoted 0 times
...
Belen
5 months ago
Hmm, I'm not sure about this one. I'm debating between B and D. Custom settings or custom metadata? I'll have to think this through carefully.
upvoted 0 times
...
Carolynn
5 months ago
This seems like a pretty straightforward question. I'd go with option D - custom metadata. That seems like the best way to store sensitive data and control access.
upvoted 0 times
...
German
5 months ago
Ah, the age-old question: where do I hide my secret stash? I vote for D. Custom metadata. Sounds fancy and secure, just how I like it.
upvoted 0 times
Carole
5 months ago
Totally agree! Custom metadata has its perks.
upvoted 0 times
...
Justine
5 months ago
But what about B? Custom settings could work as well.
upvoted 0 times
...
Tomoko
5 months ago
I think D is the best choice too! Secure and manageable.
upvoted 0 times
...
Lettie
5 months ago
True, but I trust D more for this kind of data.
upvoted 0 times
...
...
Deeanna
6 months ago
I'm going with C. Static resources. It's like putting your secrets in a vault... a really, really big vault.
upvoted 0 times
Lenna
5 months ago
Static resources are a good choice. It's like having a secure vault for your data.
upvoted 0 times
...
...
Quinn
7 months ago
I'm not sure, but I think B) Custom settings could also work for this scenario.
upvoted 0 times
...
Miesha
7 months ago
A. System.Cookie class? Really? That's like hiding your valuables in a cookie jar. Not very secure if you ask me.
upvoted 0 times
Natalie
5 months ago
B) Custom settings
upvoted 0 times
...
Virgie
5 months ago
A) system.Cookie class
upvoted 0 times
...
Weldon
5 months ago
D) Custom metadata
upvoted 0 times
...
Cletus
5 months ago
B) Custom settings
upvoted 0 times
...
...
Nikita
7 months ago
I agree with Dana, Custom metadata allows for specifying access controls.
upvoted 0 times
...
Evangelina
7 months ago
D. Custom metadata sounds like the way to go here. Gotta keep that secret data under lock and key, you know?
upvoted 0 times
Stefanie
5 months ago
Custom metadata also makes it easier to manage and update access permissions.
upvoted 0 times
...
Nan
5 months ago
Definitely, it's important to have that level of security for sensitive information.
upvoted 0 times
...
Marcos
6 months ago
I agree, custom metadata allows for more control over who can access the data.
upvoted 0 times
...
Vonda
7 months ago
D. Custom metadata sounds like the way to go here.
upvoted 0 times
...
...
Dana
7 months ago
I think D) Custom metadata should be used.
upvoted 0 times
...
Lauran
7 months ago
Hmm, I think the answer is B. Custom settings would be the best way to store sensitive data and control access permissions.
upvoted 0 times
Marlon
7 months ago
Custom metadata could also work, it's specifically designed for storing and managing application configuration data.
upvoted 0 times
...
Andra
7 months ago
I agree, custom settings allow for granular control over who can access the data.
upvoted 0 times
...
...

Save Cancel