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

Page 44 of 90

The Bulk API________________.

  1. Is based on REST principles and is optimized for loading or deleting large sets of data. You can use it to query, queryAll, insert, update, upsert, or delete many records asynchronously by submitting batches
  2. Provides a powerful, convenient, and simple REST-based web services interface for interacting with Salesforce. Its advantages include ease of integration and development, and it's an excellent choice of technology for use with mobile applications and web projects
  3. Is used to create, retrieve, update or delete records, such as accounts, leads, and custom objects, and allows you to maintain passwords, perform searches, and much more
  4. Is used to retrieve, deploy, create, update, or delete customizations for your org. The most common use is to migrate changes from a sandbox or testing org to your production environment

Answer(s): A



The Metadata API______________.

  1. Is based on REST principles and is optimized for loading or deleting large sets of data. You can use it to query, queryAll, insert, update, upsert, or delete many records asynchronously by submitting batches
  2. Provides a powerful, convenient, and simple REST-based web services interface for interacting with Salesforce. Its advantages include ease of integration and development, and it's an excellent choice of technology for use with mobile applications and web projects
  3. Is used to create, retrieve, update or delete records, such as accounts, leads, and custom objects, and allows you to maintain passwords, perform searches, and much more
  4. Is used to retrieve, deploy, create, update, or delete customizations for your org. The most common use is to migrate changes from a sandbox or testing org to your production environment

Answer(s): D



Code must have X% overall code coverage.

  1. X = 100
  2. X = 75
  3. X = 65
  4. X = 50

Answer(s): B

Explanation:

All triggers must have at least 1% code coverage



How would you test a web service?

  1. Use the @future annotation on the method
  2. Call the WebService interface
  3. Web Services do not need to be tested
  4. Create a class that implements the WebServiceMock interface

Answer(s): D

Explanation:

Write a fake response in the doInvoke method Mark this class with an @isTest annotation. That way, it gets excluded from your org's size limit in test method, call Test.setMock(WebServiceMock.class, [mock class name])



Page 44 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