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 11 Question 26 Discussion

Actual exam question for Salesforce's Salesforce Certified Platform Developer II (Plat-Dev-301) exam
Question #: 26
Topic #: 11
[All Salesforce Certified Platform Developer II (Plat-Dev-301) 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?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

0/2000 characters
Amie
4 months ago
I agree, roll-up summary is the best choice here!
upvoted 0 times
...
Andra
4 months ago
Wait, can a roll-up summary field really handle that? Sounds too easy!
upvoted 0 times
...
Kent
4 months ago
A workflow rule? No way, that's not efficient for this!
upvoted 0 times
...
Angella
4 months ago
I think a trigger on Sales_Help_Request__c could work too.
upvoted 0 times
...
Laquanda
4 months ago
Definitely a roll-up summary field on the Opportunity object!
upvoted 0 times
...
Golda
5 months ago
I keep getting confused about when to use triggers versus roll-up summaries. I think roll-up summaries are simpler for this, but I’m not 100% sure.
upvoted 0 times
...
Cecilia
5 months ago
I feel like we practiced a similar question where we had to calculate totals, and I think a trigger might be overkill for this situation.
upvoted 0 times
...
Isabelle
5 months ago
I'm not entirely sure, but I think workflow rules might not work here because they can't aggregate values like that.
upvoted 0 times
...
Virgina
5 months ago
I remember we discussed roll-up summary fields in class, and they seem perfect for this scenario since they can sum related records.
upvoted 0 times
...
Corrinne
5 months ago
Okay, let me see... I know technical standards are usually set by industry bodies, not government agencies. I'll go with C.
upvoted 0 times
...
Kati
5 months ago
Hmm, I'm a bit unsure about the different types of compliance here. I'll need to review the WCAG 2.0 guidelines to make sure I understand what's required for sections A and AA.
upvoted 0 times
...
Tony
5 months ago
Okay, let me think this through. The key details are that it's an existing user, and we need to change the password without losing any data. I'm leaning towards option A, since the --c option creates the password file if it doesn't exist, which should preserve the existing user data.
upvoted 0 times
...
Tamra
5 months ago
Hmm, I'm a bit unsure about this one. Breakeven analysis can be tricky, and I want to make sure I fully understand the implications of the changes mentioned in the statements. I'll need to think it through carefully.
upvoted 0 times
...
Kenny
5 months ago
This is a good one - I remember learning about these employer obligations in class. I'll breeze through this question.
upvoted 0 times
...

Save Cancel