Question 13

- (Exam Topic 1)
A developer wrote a trigger on Opportunity that will update a custom Last Sold Date field on the Opportunity's Account whenever an Opportunity is dosed. In the test class for the trigger, the assertion to validate the Last Sold Date field fails.
What might be causing the failed assertion?

Correct Answer:B

Question 14

- (Exam Topic 1)
Employee_c is a Child object of Company_c. The Company_c object has an external Id field Company_ld_c. How can a developer insert an Employee_c record linked to Company_c with a Company_ld_c of '999'?

Correct Answer:D

Question 15

- (Exam Topic 3)
A developer created the following test method:
Platform-Developer-II dumps exhibit
The developer org has five accounts where the name starts with Test". The developer executes this test in the Developer Console.
After the test code runs, which statement is true?

Correct Answer:C

Question 16

- (Exam Topic 1)
In which of the following scenarios would it be acceptable to use programmatic sharing instead of declarative sharing? (Choose three.)

Correct Answer:BCD

Question 17

- (Exam Topic 1)
A developer is writing a Visualforce page to display a list of all of the checkbox fields found on a custom object.
What is the recommended mechanism the developer should use to accomplish this?

Correct Answer:A

Question 18

- (Exam Topic 1)
What is the transaction limit on the number of "sendEmail" method calls?

Correct Answer:B

The reserveEmailCapacity methods let you declare how many emails you want to send prior to actually sending, allowing you to handle limit errors prematurely

START Platform-Developer-II EXAM