PDI practice question 7 of 30
Universal Containers wants to back up all of the data and attachments in its Salesforce org once a month. Which approach should a developer use to meet this requirement?
Full set: 201 questionsThe Salesforce Data Export Service is the native, built-in feature designed specifically for creating a complete backup of an organization's data. It allows an administrator to schedule an export of all data, including attachments, on a weekly or monthly basis. This service generates a zip file containing CSV files for all objects and a separate folder for attachments, directly meeting the requirement for a comprehensive monthly backup without custom development or external tools.
A. Reports are designed for data analysis and can only export a subset of an organization's data; they cannot export all records from all objects or include file attachments.
B. The Data Loader command line requires external configuration and a scheduling tool (like cron or Windows Task Scheduler) to automate, making it more complex than the native scheduled job.
D. Creating a Schedulable Apex class to export all data and attachments is impractical. It would be very complex to write and would almost certainly exceed Apex governor limits.
1. Salesforce Help, Topic: Export Backup Data from Salesforce. This document explicitly states, "You can generate backup files manually once every 7 days (for weekly export) or 29 days (for monthly export)... Salesforce creates a zip archive of CSV files and emails the user who scheduled the export when it’s ready." It also confirms that attachments are included.
2. Salesforce Help, Topic: Reports. This documentation describes reports as tools for data analysis and visualization. The "Export a Report" section shows limitations on rows and formats, confirming it is not a tool for a full data backup.
3. Apex Developer Guide, Section: Execution Governors and Limits. This guide details the transaction limits, such as the "Total number of records retrieved by SOQL queries" (50,000) and "Total heap size" (6 MB), which would be easily exceeded by an Apex job attempting to back up an entire organization's data.
Keep practicing
Take the free PDI practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other PDI practice questions
- Question 1What can be used to override the Account's standard Edit button for Lightning Experience?
- Question 4Universal Containers (UC) wants to lower its shipping cost while making the shipping proc…
- Question 5A developer has an integer variable called maxAttempts. The developer needs to ensure tha…
- Question 8Universal Containers hires a developer to build a custom search page to help users find t…
- Question 9As part of new feature development, a developer is asked to build a responsive applicatio…
- Question 10Universal Containers has an order system that uses an Order Number to identify an order f…
