Free Platform-Developer-II Exam Braindumps

Pass your Platform Developer II exam with these free Questions and Answers

Page 15 of 35
QUESTION 66

- (Exam Topic 2)
A developer needs to implement a system audit feature that allows users, assigned to a custom profile named "Auditors", to perform searches against the historical records in the Account object. The developer must ensure the search is able to return history records that are between 12 and 24 months old.
Given the code below, which select statement should be inserted below as a valid way to retrieve the Account History records ranging from 12 to 24 month old?
A)
Platform-Developer-II dumps exhibit
B)
Platform-Developer-II dumps exhibit
C)
Platform-Developer-II dumps exhibit
D)
Platform-Developer-II dumps exhibit

  1. A. Option A
  2. B. Option B
  3. C. Option C
  4. D. Option D

Correct Answer: D

QUESTION 67

- (Exam Topic 1)
What is a consideration when using bind variables with dynamic SOQL? (Choose two.)

  1. A. Dynamic SOQL cannot reference fields on bind variables
  2. B. Dynamic SOQL cannot use bind variables
  3. C. Bind variables must be public or global
  4. D. Bind variables must be in local scope

Correct Answer: AD

QUESTION 68

- (Exam Topic 1)
What is a potential design issue with the following code?
Platform-Developer-II dumps exhibit

  1. A. SOQL could be avoided by creating a formula field for StageName in Account from the related Opportunity
  2. B. The code will result in a System.LimitException : Too many script statements error
  3. C. The code will result in a System.DmException:Entity_is_Deleted error
  4. D. The code will result in a System.LimitException: Apex CPU time limit exceeded error

Correct Answer: D

QUESTION 69

- (Exam Topic 3)
A developer creates a Lightning web component to allow a Contact to be quickly entered- However, error messages are not displayed.
Platform-Developer-II dumps exhibit
Which component should the developer add to the form to display error messages?

  1. A. apex:messages
  2. B. aura:messages
  3. C. lightning-messages
  4. D. lightning-error

Correct Answer: C

QUESTION 70

- (Exam Topic 3)
A developer created an Apex class that makes outbound RESTful callout. The following was created to send a fake response in Apex test methods.
Platform-Developer-II dumps exhibit
Which method can be called to return this fake response in the test methods?

  1. A. TestsetMock
  2. B. TestcreateStub
  3. C. testSetup
  4. D. Test.setTestData

Correct Answer: A

Page 15 of 35

Post your Comments and Discuss Salesforce Platform-Developer-II exam with other Community members: