Question 73

- (Exam Topic 2)
A developer has the following code block:
public class PaymentTax {public static decimal SalesTax = 0.0875;} trigger OpportunityLineItemTrigger on OpportunityLineItem (before insert, before update) {PaymentTax PayTax = new PaymentTax();decimal ProductTax = ProductCost * XXXXXXXXXXX;} To calculate the productTax, which code segment would a developer insert at the XXXXXXXXXXX to make the value the class variable SalesTax accessible within the trigger?

Correct Answer:C

Question 74

- (Exam Topic 1)
A developer writes the following code:
PDI dumps exhibit
What is the result of the debug statement?

Correct Answer:C

Question 75

- (Exam Topic 1)
For which three items can a trace flag be configured? (Choose three.)

Correct Answer:ABD

Question 76

- (Exam Topic 2)
Which type of code represents the Controller in MVC architecture on the Force.com platform? (Choose 2)

Correct Answer:CD

Question 77

- (Exam Topic 2)
A developer has a unit test that is failing. To identify the issue, the developer copies the code inside the test method and executes it via the Execute Anonymous Apex Tool. The code then executes without failing. Why did the unit test failed, but not the Execute Anonymous?

Correct Answer:B

Question 78

- (Exam Topic 1)
What is the result of the debug statements in testMethod3 when you create test data using testSetup in below code?
PDI dumps exhibit

Correct Answer:C

START PDI EXAM