ARC-101 practice question 22 of 25

An Integration Architect has built a solution using REST API, updating Account, Contact, and other related information. The data volumes have…

Full set: 106 questions
An Integration Architect has built a solution using REST API, updating Account, Contact, and other related information. The data volumes have increased, resulting in higher API calls consumed, and some days the limits are exceeded. A decision was made to decrease the number of API calls using bulk updates. The customer prefers to continue using REST API to avoid architecture changes. Which REST API composite resources should the Integration Architect use to allow up to 200 records in one API call?
Answer options
A: SObject Collections Correct answer
B: SObject Tree
C: Batch
D: Composite
Correct Answer:
A. SObject Collections
Explanation

The question requires identifying the specific REST API composite resource designed for bulk updates that accommodates up to 200 records in a single API call. The SObject Collections resource is explicitly designed for this purpose. It allows for the creation, update, or deletion of up to 200 records of the same SObject type in one request, which directly addresses the need to reduce API calls through bulk operations. While the scenario mentions multiple object types (Account, Contact), the SObject Collections resource would be used for each object type (e.g., one call for Accounts, one for Contacts), still drastically reducing the total number of API calls compared to individual updates. The "200 records" limit is a defining characteristic of this specific resource.

References

1. Salesforce REST API Developer Guide

"Composite Resources": This section introduces the family of composite resources. It lists SObject Collections as a specific resource type for bulk operations on records.

Reference: Salesforce REST API Developer Guide

Chapter: "Composite Resources".

2. Salesforce REST API Developer Guide

"SObject Collections": This documentation explicitly states the capability of the SObject Collections resource.

Reference: Salesforce REST API Developer Guide

Section: "SObject Collections". It states

"Update up to 200 records in a single request... All records must be of the same sObject type."

3. Salesforce REST API Developer Guide

"SObject Tree": This documentation clarifies the purpose of the SObject Tree resource.

Reference: Salesforce REST API Developer Guide

Section: "SObject Tree". It states

"Creates one or more sObject trees with root records of the specified type." This confirms it is for creation

not updates.

4. Salesforce REST API Developer Guide

"Composite": This documentation describes the general Composite resource.

Reference: Salesforce REST API Developer Guide

Section: "Composite". It specifies the limit: "You can have up to 25 subrequests in a single call." This highlights its role as an orchestrator

distinct from the record-specific limit of SObject Collections.

Scroll to Top