DATA-ARCHITECT practice question 34 of 35
Universal Containers has millions of rows of data in Salesforce that are being used in reports to evaluate historical trends. Performance has become an issue, as well as data storage limits. Which two strategies should be recommended when talking with stakeholders?
Full set: 257 questionsBoth options address the core issues of performance and storage by summarizing data and removing obsolete details.
Option A suggests a custom aggregation solution using Batch Apex, which is highly scalable and ideal for processing millions of records to create summary objects. This directly improves report performance and reduces storage upon deleting originals.
Option B leverages a standard, declarative feature, Analytics Snapshots, designed for this exact use case: capturing historical trends. A source report can aggregate millions of records into a summary, which is then saved to a custom object. Combining this with a purging plan also solves both performance and storage issues.
C. Use Data Loader to extract data, aggregate it, and write it back to a custom object, then delete the original records. This is a manual, off-platform process. An automated, on-platform solution like Batch Apex or Analytics Snapshots is a more robust and sustainable architectural recommendation.
D. Configure the Salesforce Archiving feature to archive older records and remove them from the data storage limits. While archiving (e.g., using Big Objects) solves storage issues and can improve primary object performance, it does not inherently create the trend data needed for evaluation. Reporting on archived data is also more complex.
1. Salesforce Help. (2023). Track Historical Data with Reporting Snapshots. This document describes the feature's purpose for reporting on trends over time by capturing point-in-time data in a custom object.
2. Salesforce Developer Documentation. (2023). Batch Apex. "Using Batch Apex" section. Describes Batch Apex as the standard solution for programmatically processing large numbers of records.
3. Salesforce Architects. (2022). Salesforce Well-Architected - Data at Scale. "Data Lifecycle Management" section. Discusses strategies including summarization and purging to manage data volume and improve performance.
Keep practicing
Take the free DATA-ARCHITECT practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other DATA-ARCHITECT practice questions
- Question 1Which three characteristics of a skinny table help improve report and query performance?
- Question 2Universal Containers (UC) has built a custom application on Salesforce to help track ship…
- Question 3Universal Containers (UC) has lead assignment rules to assign leads to owners. Leads not …
- Question 4Universal Container (UC) has accumulated data over years and has never deleted data from …
- Question 5Universals Containers’ system administrators have been complaining that they are not able…
- Question 6Universal Containers is experiencing frequent and persistent group membership locking iss…
