ExamGecko
Ask Question

Salesforce Certified Platform Developer II Practice Test - Questions Answers, Page 17

List of questions

Question 161

Report
Export
Collapse

The "Webservice" keyword___________.

Method must be static, and class must be global
Method must be static, and class must be global
Can be used on all classes
Can be used on all classes
Used for any member variables included
Used for any member variables included
All of the above
All of the above
Suggested answer: D
asked 23/09/2024
Enayat Meer
28 questions

Question 162

Report
Export
Collapse

REST uses___________.

The HTTP class
The HTTP class
The HTTPRequest class
The HTTPRequest class
The HTTPResponse class
The HTTPResponse class
All of the above
All of the above
Suggested answer: D
asked 23/09/2024
mahdis khaledi
46 questions

Question 163

Report
Export
Collapse

The SOAP API_________.

Is based on REST principles and is optimized for loading or deleting large sets of data. You can use it to query, queryAII, insert, update, upsert, or delete many records asynchronously by submitting batches
Is based on REST principles and is optimized for loading or deleting large sets of data. You can use it to query, queryAII, insert, update, upsert, or delete many records asynchronously by submitting batches
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
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
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
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
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
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
Suggested answer: C
asked 23/09/2024
Yung-Shuen Chang
40 questions

Question 164

Report
Export
Collapse

The REST API___________.

Is based on REST principles and is optimized for loading or deleting large sets of data. You can use it to query, queryAII, insert, update, upsert, or delete many records asynchronously by submitting batches
Is based on REST principles and is optimized for loading or deleting large sets of data. You can use it to query, queryAII, insert, update, upsert, or delete many records asynchronously by submitting batches
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
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
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
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
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
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
Suggested answer: B
asked 23/09/2024
Tiro malope
40 questions

Question 165

Report
Export
Collapse

The Bulk API__________.

Is based on REST principles and is optimized for loading or deleting large sets of data. You can use it to query, queryAII, insert, update, upsert, or delete many records asynchronously by submitting batches
Is based on REST principles and is optimized for loading or deleting large sets of data. You can use it to query, queryAII, insert, update, upsert, or delete many records asynchronously by submitting batches
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
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
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
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
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
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
Suggested answer: A
asked 23/09/2024
Ben Pike
33 questions

Question 166

Report
Export
Collapse

The Metadata API___________.

Is based on REST principles and is optimized for loading or deleting large sets of data. You can use it to query, queryAII, insert, update, upsert, or delete many records asynchronously by submitting batches
Is based on REST principles and is optimized for loading or deleting large sets of data. You can use it to query, queryAII, insert, update, upsert, or delete many records asynchronously by submitting batches
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
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
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
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
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
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
Suggested answer: D
asked 23/09/2024
Ludovic HEZON
41 questions

Question 167

Report
Export
Collapse

Code must have X% overall code coverage.

X= 100
X= 100
X = 75
X = 75
X = 65
X = 65
X = 50
X = 50
Suggested answer: B
asked 23/09/2024
George Sanchez
38 questions

Question 168

Report
Export
Collapse

How would you test a web service?

Use the @future annotation on the method
Use the @future annotation on the method
Call the WebService interface
Call the WebService interface
Web Services do not need to be tested
Web Services do not need to be tested
Create a class that implements the WebServiceMock interface
Create a class that implements the WebServiceMock interface
Suggested answer: D
asked 23/09/2024
Colin Mabe
41 questions

Question 169

Report
Export
Collapse

Which of the following about Dynamic Apex is incorrect?

You can retrieve the sObject type from an Id by calling .getSObjectTypeQ
You can retrieve the sObject type from an Id by calling .getSObjectTypeQ
getDescribe() can get you a variety of info on a particular object/field
getDescribe() can get you a variety of info on a particular object/field
Schema.getGlobalDescribeQ gives you a map of all sObject
Schema.getGlobalDescribeQ gives you a map of all sObject
In dynamic SOQL, you can use bind variables and bind variable fields
In dynamic SOQL, you can use bind variables and bind variable fields
Suggested answer: D

Explanation:

While you can use simple bind variables in dynamic SOQL, you cann|ot use bind variable fields (e.g. :myVariable.field1_c) Use escapeSingleQuotes to prevent SOQL injection

asked 23/09/2024
Euwing Mendoza
44 questions

Question 170

Report
Export
Collapse

Which of the following exceptions cannot be caught and will force an error? (Choose three.)

LimitException
LimitException
AssertException
AssertException
SObjectExceptions
SObjectExceptions
DMLException
DMLException
License exceptions
License exceptions
ListException
ListException
Suggested answer: A, B, E

Explanation:

SObjectException occurs when accessing a field not queried, or you try to change a field during the wrong dml statement (i.e. an edit-only field being set on insert) Custom exceptions must extend the "Exception" class

asked 23/09/2024
Zulkarnain Hashim
39 questions
Total 438 questions
Go to page: of 44

Related questions