Free Platform-Developer-II Exam Braindumps

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

Page 7 of 35
QUESTION 26

- (Exam Topic 3)
Universal Containers wants to be able to bring up an Account detail page and view a table of containers
currently being rented. The user wants to be able to dick on a container In the table and quickly edit and save the location of the container.
In addition to this, the page should have a section that shows the location of each container on a map. Universal Containers wants the map to re-render whenever the location of a container is changed.
What can a developer use to accomplish this task?

  1. A. Two Lightning Components leveraging Application Events
  2. B. Two Visualforce Page Components leveraging Application Events
  3. C. A single visualforce Page leveraging Platform Events
  4. D. Two Lightning Components leveraging Platform Events

Correct Answer: A

QUESTION 27

- (Exam Topic 1)
Which statement should be used to allow some of the records in a list of records to be inserted if others fail to be inserted?

  1. A. Database.insert(records, false)
  2. B. Database.insert(records, true)
  3. C. insert records
  4. D. insert (records, false)

Correct Answer: A

QUESTION 28

- (Exam Topic 3)
A Salesforce org has more than 50,000 contacts. A new business process requires a calculation that aggregates data from all of these contact records. This calculation needs to run once a day after business hours.
Which two steps should a developer take to accomplish this? Choose 2 answers

  1. A. Use the @future annotation on the method that performs the aggregate calculation.
  2. B. Implement the schedulable Interface In the class that contains the aggregate calculation method.
  3. C. Use the areadOnly annotation on the method that performs the aggregate calculation.
  4. D. Implement the Queuable Interface in the class that contains the aggregate calculation method.

Correct Answer: BD

QUESTION 29

- (Exam Topic 1)
When should you use the "transient" property on variables?

  1. A. Variables that you want transmitted as part of the view stat
  2. B. Static variables also don't get transmitted
  3. C. Variables that you don't want transmitted as part of the view stat
  4. D. Static variables also don't get transmitted
  5. E. Static variables that you want transmitted as part of the view state to save space
  6. F. Large variables in order to save space

Correct Answer: B

QUESTION 30

- (Exam Topic 1)
A developer needs to send Account records to an external system for backup purposes. The process must take a snapshot of Accounts as they are saved and then make a callout to a RESTful web service. The web service can only receive, at most, one record per call. Which feature should be used to implement these requirements?

  1. A. workflow
  2. B. @future
  3. C. Queueable
  4. D. Process Builder

Correct Answer: D

Page 7 of 35

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