Question 25

- (Exam Topic 2)
A developer is creating a test coverage for a class and needs to insert records to validate functionality. Which method annotation should be used to create records for every method in the test class?

Correct Answer:C

Question 26

- (Exam Topic 2)
A developer in a Salesforce org with 100 Accounts executes the following code using the Developer console:Account myAccount = new Account(Name = 'MyAccount');Insert myAccount;For (Integer x = 0; x < 150; x++) {Account newAccount = new Account (Name='MyAccount' + x);try {Insert newAccount;} catch (Exception ex) {System.debug (ex) ;}}insert new Account (Name='myAccount');How many accounts are in the org after this code is run?

Correct Answer:B

Question 27

- (Exam Topic 2)
In the Lightning Component framework, where is client-side controller logic contained?

Correct Answer:D

Question 28

- (Exam Topic 2)
What is a capability of a StandardSetController?Choose 2 answers

Correct Answer:AB

Question 29

- (Exam Topic 2)
How would a developer change the field type of a custom field on the Account object from string to an integer?

Correct Answer:D

Question 30

- (Exam Topic 2)
How are debug levels adjusted In the Developer Console?

Correct Answer:D

START PDI EXAM