Salesforce Certified Development Lifecycle and Deployment Architect — Question 32
Universal Containers wants to delete the day’s test data in a partial copy sandbox every night, setting the sandbox back to a fresh state for tomorrows testing. The test data is approximately 1GB.
What is the best strategy the architect should recommend?
Answer options
- A. Execute a batch job that deletes all records created on the day.
- B. Create a new developer copy sandbox every night.
- C. Refresh the sandbox every night.
- D. Manually delete all records individually.
Correct answer: A
Explanation
The correct answer is A because executing a batch job allows for efficient deletion of all records created that day, which is necessary for resetting the sandbox. Options B and C would be resource-intensive and unnecessary since the goal is to delete specific data, while D is time-consuming and impractical for a large dataset.