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

Page 43 of 107

The "Webservice" keyword ____________.

  1. Method must be static, and class must be global
  2. Can be used on all classes
  3. Used for any member variables included
  4. All of the above

Answer(s): D



REST uses __________.

  1. The HTTP class
  2. The HTTPRequest class
  3. The HTTPResponse class
  4. All of the above

Answer(s): D

Explanation:

CalloutException happens if an error occurs Classes begin with @RestResource(urlMapping='/yourUrl'), and methods can have annotations such as @HttpGet, @HttpPost, etc



The SOAP 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 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): C

Explanation:

Use SOAP API in any language that supports Web services Session ID is used to make further calls after logging in



The REST 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): B






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

Exam Discussions & Posts