Free Certified Platform Developer II Exam Braindumps (page: 14)

Page 14 of 90

What is the optimal technique a developer should use to programmatically retrieve Global Picklist options in a Test Method?

  1. Use the Schema namespace.
  2. Use a static resource.
  3. Perform a callout to the Metadata API.
  4. Perform a SOQL Query.

Answer(s): A



A company has a web page that needs to get Account record information, given its Salesforce record ID, from JavaScript on the page and then display it.
Which method of integration is optimal?

  1. REST API
  2. Apex SOAP Web Service
  3. Soap API
  4. Apex REST Web Service

Answer(s): A



A large company uses Salesforce across several departments. Each department has its own Salesforce Administrator. It was agreed that each Administrator would have their own sandbox in which to test changes.

Recently, users notice that fields that were recently added for one department suddenly disappear without warning. Also, Workflows that once sent emails and created tasks no longer do so.

Which two statements are true regarding these issues and resolution? (Choose two.)

  1. The administrators are deploying their own Change Sets, thus deleting each other’s fields from the objects in production.
  2. A sandbox should be created to use as a unified testing environment instead of deploying Change Sets directly to production.
  3. Page Layouts should never be deployed via Change Sets, as this causes Workflows and Field-level Security to be reset and fields to disappear.
  4. The administrators are deploying their own Change Sets over each other, thus replacing entire Page Layouts and Workflows in Production.

Answer(s): B,D



A developer is writing a Visualforce page that queries accounts in the system and presents a data table with the results. The users want to be able to filter the results based on up to five fields. However, the users want to pick the five fields to use as filter fields when they run the page.
Which feature of Apex code is required to facilitate this solution?

  1. SOSL queries
  2. describeSObjects()
  3. Dynamic Schema binding
  4. REST API

Answer(s): B



Page 14 of 90



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

Jenil Gandhi commented on November 14, 2024
Hi everyone could sone share the certification voucher for PD2.
INDIA
upvote

Aniq commented on December 02, 2023
Hi every one Could some share the certification voucher for PD2
Anonymous
upvote

Rasheed commented on June 07, 2023
Worth the price. I got 50% off when I selected 2 exams.
PAKISTAN
upvote

Lisha commented on September 21, 2022
Thank you!
Anonymous
upvote