Deal of The Day! 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 1 Question 57 Discussion

A Salesforce org has more than 50,000 contacts. A new business process requires a calculation that aggregates data from all of these contact records. This calculation needs to run once a day after business hours.Which two steps should a developer take to accomplish this?Choose 2 answers
B) Implement the schedulable Interface In the class that contains the aggregate calculation method. and D) Implement the Queuable Interface in the class that contains the aggregate calculation method.
A) Use the @future annotation on the method that performs the aggregate calculation.
C) Use the areadOnly annotation on the method that performs the aggregate calculation.

Salesforce Certified Platform Developer II (Plat-Dev-301) Exam - Topic 1 Question 57 Discussion

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

A Salesforce org has more than 50,000 contacts. A new business process requires a calculation that aggregates data from all of these contact records. This calculation needs to run once a day after business hours.

Which two steps should a developer take to accomplish this?

Choose 2 answers

Show Suggested Answer Hide Answer
Suggested Answer: B, D

Contribute your Thoughts:

0/2000 characters
Tomoko
7 months ago
C is definitely not the right answer here.
upvoted 0 times
...
Tijuana
7 months ago
B is a must, but I’m not convinced about D.
upvoted 0 times
...
Clorinda
7 months ago
Wait, can you really handle 50k records like that? Sounds risky!
upvoted 0 times
...
Delsie
8 months ago
I think A could work too, but not sure if it's the best choice.
upvoted 0 times
...
Louann
8 months ago
Definitely B and D for this!
upvoted 0 times
...
Anglea
8 months ago
I feel like the schedulable interface is definitely the way to go, but I can't recall if @future would be effective for this scenario.
upvoted 0 times
...
Keneth
8 months ago
I practiced a similar question, and I believe the Queuable interface could be useful, but I'm not confident about the timing aspect.
upvoted 0 times
...
Tammara
8 months ago
I think we need to implement the schedulable interface for this kind of daily calculation, right?
upvoted 0 times
...
Cornell
8 months ago
I'm not entirely sure, but I remember something about using @future for asynchronous processes. Is that applicable here?
upvoted 0 times
...
Alethea
8 months ago
Hmm, I'm a bit unsure about this one. I know risk has magnitude, but I'm not totally sure what the other attribute is. I'll have to think it through.
upvoted 0 times
...
Luke
8 months ago
I remember some similar practice questions, and I think asking in a random order could really confuse the interviewee. Seems like a bad idea overall.
upvoted 0 times
...
Penney
8 months ago
I'm a bit uncertain here... I thought that just sticking to the normal payment period would be more standard. Did we cover what to do when both sides have equal power?
upvoted 0 times
...

Save Cancel