Question 43

- (Exam Topic 1)
A developer notices the execution of all the test methods in a class takes a long time to run, due to the initial setup of ail the test data that is needed to perform the tests.
What should the developer do to speed up test execution?

Correct Answer:A

Question 44

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

Correct Answer:A

Question 45

- (Exam Topic 1)
What is the transaction limit for the number of records using QueryLocator?

Correct Answer:B
"Scope" parameter in "executeBatch" can be set up to 2,000 records

Question 46

- (Exam Topic 1)
A custom field Exec_Count_c of type Number is created on an Account object. An account record with value of "1" for a: Exec__Count_c is saved. A workflow field update is defined on the Exec_Count_c field, to increment its value every time an account record is created or updated. The following trigger is defined on the account:
trigger ExecOrderTrigger on Account (before insert, before update, after insert, after update){ for (Account accountlnstance: Trigger.New){ if (Trigger . isBefore){ accountlnstance Exec_Count_c += 1; } System, debug (accountlnstance.Exec_Count_c); } }

Correct Answer:C

Question 47

- (Exam Topic 3)
A developer has a Visual force page that automatically assign ownership of an Account to a queue save. The page appears to correctly assign ownership, but an assertion validating the correct ownership fails.
What can cause this problem?

Correct Answer:B

Question 48

- (Exam Topic 1)
A developer gets an error saying 'Maximum Trigger Depth Exceeded.' What is a possible reason to get this error message?

Correct Answer:C

START Platform-Developer-II EXAM