Which API can b|e used to execute unit tests? (Choose three.)
A. Streaming AP
B. Test API
C. Tooling API
D. SOAP API
E. Metadata API
A developer created an Apex class that updates an Account based on input from a Lightning web component that is used to register an Account. The update to the Account should only be made if it has not already been registered.
What should the developer do to ensure that users do not overwrite each other's updates to the same Account if they make updates at the same time?
A. Use CastiCase.update(account, false).
B. Add a try/catch block around the update.
C. Use upsert instead of update.
D. Use FOR UPDATE in a SOQL query.
[FIND 'map' IN ALL FIELDS RETURNING Account (Id, Name), Contact, Opportunity, Lead] What is a valid return type for th|e following SOSL query?
A. List
B. List>
C. List
D. List
A developer needs test data for Apex test classes.
What can the developer use to provide test data to the test methods? (Choose two.)
A. List
B. myDataFactory.createTestRecords (10)
C. Database.createTestRecords (10)
D. List
Which two objects can be inserted in the same transaction? (Choose two.)
A. Opportunity and User
B. Account and AccountShare
C. Case and CaseComment
D. Account and Group
How can the DISTANCE and GEOLOCATION functions be used i|n SOQL queries? (Choose two.)
A. To filter results based on distance from a latitude and longitude
B. To get the distance results from a latitude and longitude
C. To order results by distance from a latitude or longitude
D. To group results in distance ranges from a latitude and longitude
A developer has created a solution using the SOAP API for authenticating Communities users. What is needed when issuing the login() Call? (Choose two.)
A. Organization Id
B. Session Id
C. Username and Password
D. Security Token
When developing a Visualforce page that will be used by a global organization that does business in many languages and many currencies, which feature should be used? (Choose three.)
A. Custom Labels
B. convertCurrency()
C. Global Labels
D. Translation Workberic
E. getLocalCurrency()
What is a consideration when using bind variables with dynamic SOQL? (Choose two.)
A. Dynamic SOQL cannot reference fields on bind variables
B. Dynamic SOQL cannot use bind variables
C. Bind variables must be public or global
D. Bind variables must be in local scope
A developer created a custom component to display an HTML table. The developer wants to be able to use the component on different Visualforce Pages and specify different header text for the table. Which tag should the developer use inside the component?
A.
B.
C.
D.
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Salesforce exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your PDII exam preparations and Salesforce certification application, do not hesitate to visit our Vcedump.com to find your solutions here.