
SalesforceCertified Platform Developer II
Domain 7Objective 2
Describe How to Apply Different Techniques to Create Test Data and Responses. PLATFORM-DEVELOPER-II Practice Questions (Page 1)
Part of the TESTING domain, which accounts for 7% of the PLATFORM-DEVELOPER-II exam.
33questions here
7free pages
8concepts
7%of the exam
Questions 1–5
- 1
What is a common approach to test code that integrates with an external system via a custom integration?
Select an answer first - 2
What is required to create a test user in Apex?
Select an answer first - 3
A developer is building a Test Data Factory for a complex object model. The factory needs to create Accounts, Contacts, and Opportunities with specific relationships and required fields. The developer wants to allow test classes to customize certain fields while providing sensible defaults. Which design pattern best achieves this?
Select an answer first - 4
A developer is writing a test for a class that requires a large dataset of related records. The test needs to create 100 Accounts, each with 10 Contacts. The developer wants to minimize DML statements and avoid hitting governor limits. Which approach is most efficient?
Select an answer first - 5
A developer is testing a class that behaves differently based on the running user's profile. The test needs to run as a user with a specific permission set. Which steps should the developer take?
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.