Question 1 of 30
A company is integrating its Salesforce instance with an external application using the Salesforce REST API. The external application needs to retrieve a list of all active accounts and their associated contacts. The developer decides to use a combination of SOQL queries and REST API calls. Which approach should the developer take to ensure efficient data retrieval while adhering to Salesforce API limits?
Use a single SOQL query to retrieve active accounts and their contacts in one call, utilizing relationship queries.
Make separate API calls for accounts and contacts to avoid hitting the governor limits.
Retrieve all accounts first and then filter them in the external application to find active ones.
Use the Bulk API to retrieve accounts and contacts in batches, regardless of their active status.

Preparing for SalesForce Certified Advanced Administrator (CRT-211) Certified Advanced Administrator? Now land the interview.

73% of qualified candidates get rejected because of weak resumes. Build an ATS-optimized, recruiter-ready resume in under 5 minutes - free to start.

Build My Resume Free