Question 51
Choose 2
Get Cloudy Consulting is migrating their legacy system's users and data to Salesforce. They will be creating 15,000 users, 1.5 million Account records, and 15 million Invoice records. The visibility of these records is controlled by a 50 owner and criteria-based sharing rules. Get Cloudy Consulting needs to minimize data loading time during this migration to a new organization. Which two approaches will accomplish this goal? (Choose two.)
Correct answer:
A. Create the users, upload all data, and then deploy the sharing rules.
D. Defer sharing calculations until the data has finished uploading.
Explanation:
A and D are two sides of the same strategy. When you load a large volume of data into Salesforce, sharing rules and sharing calculations can significantly slow down the process. Salesforce automatically recalculates sharing rules every time a record is created or updated, which can be computationally intensive, especially with a large number of records and complex sharing rules (like 50 owner and criteria-based rules).
✔️ Option A (Create users, upload data, then deploy sharing rules): This approach minimizes the overhead during the data load itself. By loading the data before the sharing rules are active, you prevent the system from needing to perform millions of sharing calculations during the upload process. Once the data is in, you can then activate the rules. This is a common and recommended best practice.
✔️ Option D (Defer sharing calculations): This is the technical mechanism that allows option A to work. By deferring or suspending sharing rule calculations, you can load large volumes of data much more quickly. You can do this by freezing sharing rule calculation through the "Setup" menu, or for even larger loads, by contacting Salesforce Support. Once the load is complete, you can then manually initiate the sharing recalculation. This is the correct and most scalable method to minimize data loading time in high-volume scenarios.
Option B is incorrect. Salesforce automatically indexes standard fields, and you can create custom indexes for certain custom fields. However, contacting Salesforce to "activate indexing" as a general performance booster for a data load isn't a standard procedure and is not the primary way to minimize load time. The bottleneck is the sharing rule recalculation, not the indexing.
Option C is incorrect. The order of loading Accounts and Users doesn't directly impact the performance of the data load in this context. The key is to manage the sharing rule calculations, not the sequence of data objects.
References:
⇒ Salesforce Data Loading Best Practices: Salesforce documentation and Trailhead modules on data loading for large organizations (e.g., "Data Management" and "Data Migration" modules) strongly recommend deferring sharing rule calculations to optimize performance.
⇒ Salesforce Help & Training: Articles on large data volumes often highlight the importance of suspending sharing rules, workflow rules, and other automations during mass data operations.
A and D are two sides of the same strategy. When you load a large volume of data into Salesforce, sharing rules and sharing calculations can significantly slow down the process. Salesforce automatically recalculates sharing rules every time a record is created or updated, which can be computationally intensive, especially with a large number of records and complex sharing rules (like 50 owner and criteria-based rules).
✔️ Option A (Create users, upload data, then deploy sharing rules): This approach minimizes the overhead during the data load itself. By loading the data before the sharing rules are active, you prevent the system from needing to perform millions of sharing calculations during the upload process. Once the data is in, you can then activate the rules. This is a common and recommended best practice.
✔️ Option D (Defer sharing calculations): This is the technical mechanism that allows option A to work. By deferring or suspending sharing rule calculations, you can load large volumes of data much more quickly. You can do this by freezing sharing rule calculation through the "Setup" menu, or for even larger loads, by contacting Salesforce Support. Once the load is complete, you can then manually initiate the sharing recalculation. This is the correct and most scalable method to minimize data loading time in high-volume scenarios.
Option B is incorrect. Salesforce automatically indexes standard fields, and you can create custom indexes for certain custom fields. However, contacting Salesforce to "activate indexing" as a general performance booster for a data load isn't a standard procedure and is not the primary way to minimize load time. The bottleneck is the sharing rule recalculation, not the indexing.
Option C is incorrect. The order of loading Accounts and Users doesn't directly impact the performance of the data load in this context. The key is to manage the sharing rule calculations, not the sequence of data objects.
References:
⇒ Salesforce Data Loading Best Practices: Salesforce documentation and Trailhead modules on data loading for large organizations (e.g., "Data Management" and "Data Migration" modules) strongly recommend deferring sharing rule calculations to optimize performance.
⇒ Salesforce Help & Training: Articles on large data volumes often highlight the importance of suspending sharing rules, workflow rules, and other automations during mass data operations.
