Platform-Developer-II Dumps

Platform-Developer-II Free Practice Test

Salesforce Platform-Developer-II: Platform Developer II

QUESTION 71

- (Exam Topic 1)
A developer has written an After Update trigger on Account. A workflow rule and field update cause the trigger to repeatedly update the Account records.
How should the developer handle the recursive trigger?

Correct Answer: C

QUESTION 72

- (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 73

- (Exam Topic 1)
How should a developer verify that a specific Account record is being tested in a test class for a visualforce controller?

Correct Answer: A

QUESTION 74

- (Exam Topic 3)
A developer created a JavaScript library that simplifies the development of repetitive tasks and features and uploaded the library as a static resource called jsutils in Salesforce. Another developer is coding a new Lightning web component (LWC) and wants to leverage the library.
Which statement properly loads the static resource within the LWC?

Correct Answer: B

QUESTION 75

- (Exam Topic 3)
Which statement is true regarding savepoints?

Correct Answer: C