Salesforce Certified Development Lifecycle and Deployment Architect — Question 48

Which two ways should a developer working on a data loading integration that operates between different Salesforce environments insert multiple related records in one call or transaction? (Choose two.)

Answer options

Correct answer: A, B

Explanation

The REST API Composite Request allows for executing multiple related operations in a single request, while the REST API SObject Tree Request supports inserting multiple related records in a single API call. The Streaming API is designed for real-time notifications and does not support bulk operations, and the Bulk API 2.0 is typically used for large data loads but is not specifically designed for handling related records in one transaction.