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

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

A company has a custom object Sales_Help_Request_c that has a Lookup relationship to Opportunity. The Sales_Help_Request_c has a number field, Number_of_Hours_c, that represents the amount of time spent on the Sales_Help_Request_c.

A developer is tasked with creating a field, Total_Hours_c, on Opportunity that should be the sum of all of the Number_of_Hours_c values for the Sales_Help_Request_c records related to that Opportunity.

What should the developer use to implement this?

  • A. A trigger on Sales_Help_Request_c
  • B. A roll-up summary field on the Opportunity object
  • C. A trigger on the Opportunity object
  • D. A workflow rule on the Sales_Help_Request_c object
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
Vegetate17
Highly Voted 1 year, 8 months ago
Would have to be A, rollups only on Master-Detail.
upvoted 9 times
...
Vinod_G
Most Recent 6 months, 1 week ago
It should be B because it is out of box feature & no code is required
upvoted 1 times
...
stan_malta
1 year ago
Selected Answer: A
No roll-up summaries on Lookup
upvoted 2 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 ...