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 questions
Answer options
A: Schedule a report.
B: Use the Data Loader command line.
C: Define a Data Export scheduled job. Correct answer
D: Create a Schedulable Apex class.
Correct Answer:
C. Define a Data Export scheduled job.
Explanation

The 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.

Why Incorrect

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.

References

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.

Scroll to Top