Free Platform-Developer-II Exam Braindumps

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

Page 2 of 35
QUESTION 1

- (Exam Topic 1)
A developer is trying to decide between creating a Visualforce component or a Lightning component for a custom screen. Which functionality consideration impacts the final decision?

  1. A. Does the screen need to be accessible from the Lightning Experience UI?
  2. B. Will the screen make use of a JavaScript framework?
  3. C. Does the screen need to be rendered as a PDF?
  4. D. Will the screen be accessed via a mobile app?

Correct Answer: A

QUESTION 2

- (Exam Topic 1)
A developer notices the execution of all the test methods in a class takes a long time to run, due to the initial setup of ail the test data that is needed to perform the tests.
What should the developer do to speed up test execution?

  1. A. Define a method that creates test data and annotate with @testSetup.
  2. B. Define a method that creates test data and annotate with @createData
  3. C. Reduce the amount of test methods in the class.
  4. D. Ensure proper usage of test data factory In all test methods.

Correct Answer: A

QUESTION 3

- (Exam Topic 1)
What is the most efficient way in Visualforce to show information based on data filters defined by an end-user for a large volume of data?

  1. A. Use the rendered condition in Visualforce to limit data based on data filters
  2. B. Use filter conditions in a SOQL query to limit data based on data filters
  3. C. Use an Apex controller to refine raw data based on data filters and store the result in a transient variable
  4. D. Use an Apex controller to refine raw data based on data filters and store the result in a static variable

Correct Answer: B

QUESTION 4

- (Exam Topic 3)
A developer is building a Lightning web component that retrieves data from Salesforce and assigns it to the record property.
Platform-Developer-II dumps exhibit
What must be done in the component to get the data from Salesforce?
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: B

QUESTION 5

- (Exam Topic 3)
A developer is creating a Lightning web component that can be added to a Lightning App Page and displayed when the page Is rendered in desktop and mobile phone format. To ensure a great mobile experience, the developer chooses to use the SLDS grid utility.
Which two Lighting web components should the developer implement to ensure the application Is mobile-ready? Choose 2 answers

  1. A. <lightning-layou></lightning-layout>
  2. B.
  3. C.
  4. D.

Correct Answer: AC

Page 2 of 35

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