
SalesforceCertified Platform Developer II
Domain 6Objective 2
Describe How to Use System Classes to Integrate with SOAP- or REST-based Web Services. PLATFORM-DEVELOPER-II Practice Questions (Page 1)
Part of the INTEGRATION domain, which accounts for 11% of the PLATFORM-DEVELOPER-II exam.
20questions here
4free pages
4concepts
11%of the exam
Questions 1–5
- 1
A developer is building an Apex REST callout to send JSON data to an external API. The API requires a custom header 'X-API-Key' for authentication. What is the correct way to set this header in Apex?
Select an answer first - 2
Which Apex class is used to send an HTTP request to a REST-based web service?
Select an answer first - 3
A developer needs to send a POST request with a JSON payload to an external API. The API expects the payload to be in a specific format. What is the correct way to set the request body in Apex?
Select an answer first - 4
A developer is integrating with a SOAP service that requires a session ID in the SOAP header. The developer has generated the Apex stubs. What is the correct way to include the session ID in the call?
Select an answer first - 5
When a callout to an external service fails due to a transient network error, what is a common strategy to handle this?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Salesforce. “PLATFORM-DEVELOPER-II” is a trademark of its owner, used for identification only.