Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Salesforce logo

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 7)

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 31–33

  1. 31application · medium

    A developer is testing a class that uses a custom permission to control access. The test needs to verify behavior with and without the permission. Which approach should the developer use?

    Select an answer first
  2. 32foundation · easy

    What is the purpose of the @testSetup annotation in an Apex test class?

    Select an answer first
  3. 33application · medium

    A developer is writing a test for a trigger that fires on Opportunity after insert. The trigger requires that the related Account has a specific custom field populated. The developer wants to ensure the test data meets this dependency. Which approach should the developer use?

    Select an answer first
Finished these 3 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.