Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Platform Developer II All Questions

View all questions & answers for the Certified Platform Developer II exam

Exam Certified Platform Developer II topic 1 question 301 discussion

Actual exam question from Salesforce's Certified Platform Developer II
Question #: 301
Topic #: 1
[All Certified Platform Developer II Questions]

A company has reference data stored in multiple custom metadata records that represent default information and delete behavior for certain geographic regions.

When a contact is inserted, the default information should be set on the contact from the custom metadata records based on the contact's address information. Additionally, if a user attempts to delete a contact that belongs to a flagged region, the user must get an error message.

What is the optimal way to automate this?

  • A. Apex invocable method
  • B. Remote action
  • C. Flow Builder
  • D. Apex trigger
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
amm12345
1 year ago
It has Choose 2 answers. CD is the correct answer.
upvoted 3 times
M4JK3LSON
11 months ago
That's right since Custom Error component is avaliable in Flow Builder and Flow can be triggered on Object deletion
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...