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 37 discussion

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

A company has a custom object, Sales Demo Request, that has a lookup to an Opportunity. It is required that a Sales Demo Request record be created when an
Opportunity's Probability is greater than 50%.
What is the optimal way to automate this?

  • A. Use an Apex Trigger on Opportunity.
  • B. Build a Flow on Opportunity.
  • C. Create a Workflow on Opportunity.
  • D. Build a Process on Opportunity.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
sajjankrgupta
Highly Voted 3 years, 11 months ago
Ans is D
upvoted 14 times
Pricha
3 years, 3 months ago
i dont understand why A is incorrect?
upvoted 1 times
ASKaranko
2 years, 6 months ago
Declarative tools are preferable is they could be used
upvoted 1 times
...
...
...
AjayMehta
Highly Voted 2 years, 7 months ago
Answer: B Since the process builder is going to depreciate, even salesforce recommends flow over it and specifically mentions flow can do all things that a process builder can do even more than it.
upvoted 10 times
...
beardAnt
Most Recent 1 month, 2 weeks ago
Selected Answer: B
always No code first.
upvoted 1 times
...
Anjindal
5 months, 2 weeks ago
Selected Answer: B
Ans is B.because process builder is deprecated
upvoted 1 times
...
au_
1 year, 2 months ago
Ans is B. In flow we can use action and related record to create related record. https://admin.salesforce.com/blog/2023/what-is-a-record-triggered-flow#:~:text=Actions%20and%20Related%20Records%20(aka,created%20or%20updated%20in%20Salesforce.
upvoted 2 times
...
VVeguru
1 year, 3 months ago
Can a flow generate Opportunity Id on creation? I would rather go with A not sure what reveal answer going to provide. It would be great reveal answer would give proper explanation
upvoted 1 times
au_
1 year, 2 months ago
https://admin.salesforce.com/blog/2023/what-is-a-record-triggered-flow#:~:text=Actions%20and%20Related%20Records%20(aka,created%20or%20updated%20in%20Salesforce.
upvoted 1 times
...
...
ram12313
1 year, 7 months ago
flow trigger will do. unless it's so complex we need to write it in trigger
upvoted 1 times
...
Ting21
1 year, 7 months ago
both A and B are good answers. A being more specific use Apex trigger on Opportunity when probability becomes greater than 50%. B is more general, if B is build a record triggered flow on Opportunity then B will be the ans. So correct ans is A.
upvoted 1 times
...
sf2022
1 year, 11 months ago
Selected Answer: B
Flow is higher priority in SF now, sơ B
upvoted 3 times
...
Ronin192
2 years ago
Selected Answer: B
B is the answer, because declarative solution is available and flow is the most recommended declarative tool now
upvoted 4 times
...
CaiXiDan
2 years, 4 months ago
B is the correct answer
upvoted 4 times
...
paster0
2 years, 9 months ago
Selected Answer: B
I thkink, its B, because process builder is deprecated
upvoted 5 times
...
parishk
2 years, 9 months ago
Process builder is going to be deprecated. So I think A.
upvoted 1 times
...
drwebber
2 years, 11 months ago
Declarative tools are more preferable to programming. The answer is B since Flow is the most recommended tool.
upvoted 6 times
...
ncore
2 years, 11 months ago
I think it could be A but also D, and as in salesforce is one of best practices "use rather build-in automatization than code" D would be probably more correct.
upvoted 2 times
...
YeseniaFiorella
3 years, 1 month ago
D not say process builder . For me tha correct answer is A
upvoted 1 times
...
Santoshtpd
3 years, 3 months ago
Ans is D ... as it can be handled in process builder
upvoted 4 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 ...