A developer needs to configure a calculation procedure to calculate the sum of the entire base price.
What is the most efficient way for the developer to meet this requirement?
Suggested Answer: B
Get Premium Plat-Dev-210 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
he Aggregation Step in a calculation procedure allows the developer to perform aggregate functions such as SUM, COUNT, MIN, MAX, and AVG on the output of a previous step.The developer can use this step to calculate the sum of the entire base price by specifying the field name and the aggregation function
12 comments · newest first
DE
Deja
3 months ago
Option A seems good too, but it might be overkill for this task.
MO
Monroe
3 months ago
I prefer option C. Calculation steps are straightforward.
FR
Freeman
3 months ago
I think option B is the best. Aggregation steps are efficient.
LO
Louvenia
4 months ago
Wait, can you really use a Preprocessor for this?
MI
Michel
4 months ago
D? Really? That seems unnecessary.
LA
Lai
4 months ago
C sounds right, but I’m not sure about the efficiency.
SU
Susy
5 months ago
I think A might be overkill for this task.
DO
Donette
6 months ago
B is the simplest option for this.
XO
Xochitl
6 months ago
I lean towards option B, but I wonder if there are performance implications I haven't considered. It seems like the simplest approach.
GW
Gwen
7 months ago
I'm a bit confused about the difference between a Preprocessor and a Postprocessor. I feel like creating a Postprocessor class might be overkill for just summing prices.
BR
Brett
7 months ago
I remember practicing a similar question where we had to choose between a calculation step and a postprocessor. I think the calculation step could be the right choice here.
RU
Ruthann
7 months ago
I think adding an Aggregation Step as SUM (BasePrice) might be the most straightforward option, but I'm not entirely sure if it's the most efficient.