
SalesforceCertified Platform Developer II
Domain 6Objective 1
Describe How to Expose Apex Classes as SOAP and REST Web Services. PLATFORM-DEVELOPER-II Practice Questions (Page 2)
Part of the INTEGRATION domain, which accounts for 11% of the PLATFORM-DEVELOPER-II exam.
17questions here
4free pages
7concepts
11%of the exam
Questions 6–10
- 6
Which annotation is used to handle HTTP POST requests in a REST web service?
Select an answer first - 7
An external system needs to delete a record via a REST API. The developer has a class annotated with @RestResource. Which annotation should be used on the method that handles the DELETE request?
Select an answer first - 8
In a REST web service, how is incoming JSON data converted into an Apex object?
Select an answer first - 9
What is a key security consideration when exposing an Apex class as a web service?
Select an answer first - 10
A developer is creating a SOAP web service that returns a list of Account records. The method signature is: ```apex global class AccountService { webservice static List<Account> getAccounts() { return [SELECT Id, Name FROM Account]; } } ``` What is a potential issue with this method?
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.