Free Certified Platform Developer II Exam Braindumps
Certified Platform Developer II Questions 186–190 (page: 39)

Updated On: 10-Feb-2026

What are the ways a developer can create test data of Contacts? (Choose two.)

  1. Test.createTestData()
  2. myDataFactory.createContacts(10)
  3. Test.loadData(Contact.sObjectType, 'staticResource')
  4. Test.loadTestRecords(Contact.sObjectType, 'staticResource')

Answer(s): B,C



If you have a method "doStuff(List<sObject> records)", which is a valid call?

  1. doStuff([Select Id From Account]);
  2. doStuff(List<Account> records);
  3. doStuff(Account acct);
  4. doStuff(sObject obj);

Answer(s): A



If you wanted to create a record following the update of another (with data from the source object), what is the most customizable approach?

  1. Workflow Rule
  2. Process Builder
  3. After update Trigger
  4. Flow

Answer(s): B



What is the correct order of execution for Visualforce Page "postback" requests (when user interaction requires a page update)?

  1. 1) Decode View State
    2) Evaluate expressions and method calls for the main page and custom components
    3) Upon successful completion, Evaluate the action that triggered the postback
    4) Upon successful completion, Update data and redirect user/update view state
    5) HTML sent to browser
  2. 1) Evaluate expressions and method calls for the main page and custom components
    2) Decode View State
    3) Upon successful completion, Update data and redirect user/update view state
    4) Upon successful completion, Evaluate the action that triggered the postback
    5) HTML sent to browser
  3. 1) Decode View State
    2) Evaluate expressions and method calls for the main page and custom components
    3) Upon successful completion, Update data and redirect user/update view state
    4) Upon successful completion, Evaluate the action that triggered the postback
    5) HTML sent to browser

Answer(s): A



The "action" attribute on <apex:page> is ONLY evaluated on which type of request?

  1. Get request
  2. Postback request

Answer(s): A



Viewing page 39 of 86
Viewing questions 191 - 195 out of 424 questions


Post your Comments and Discuss Salesforce Certified Platform Developer II exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!