When would the use of Heroku Postgres be appropriate?
A. To cache commonly accessed data for faster retrieval.
B. To interconnect Microsoft SQL servers to Heroku Applications.
C. To store and retrieve data using the Structured Query Language.
D. To store user generated pictures and Word documents.
How can a custom type be identified as unique when added to a Set?
A. Methods in the class must be static
B. The class must implement the Equals and Hashcode methods
C. Methods in the class must be global
D. The class must have a method with the @InvocableMethod annotation
A sales manager wants to make sure that whenever an opportunity stage is changed to 'Closed Won', a new case will be of created for the support team to collect necessary information from the customer. How should a developer accomplish this?
A. Create a Process Builder to create the new case.
B. Set up a validation rule on the Opportunity Stage.
C. Create a lookup field to the Case object on the opportunity object.
D. Create a workflow rule to create the new case.
What are two valid options for iterating through each Account in the collection List
A. For (List L : AccountList) {...}
B. For (Account theAccount : AccountList){...}
C. For(AccountList){...}
D. For (Integer i=0; i
A developer is asked to write negative tests as part of the unit testing for a method that calculates a person's age based on birth date. What should the negative tests include?
A. Assert that future dates are rejected by the method.
B. Assert that past dates are accepted by the method.
C. Assert that a null value is accepted by the method.
D. Throwing a custom exception in the unit test.
A developer has created a Visualforce Page and Apex Controller that uses the With Sharing keyword. The page will be used of by Sales Managers and should only display Accounts owned by Sales
Representatives who report to the running Sales Manager. The organization-wide sharing for Accounts is set to Private. Which additional set of stops should the developer take?
A. Create one Profile, two Permission Sets, and one Role.
B. Create one Profile, one Permission Set, and one Role.
C. Create one Profile, one Permission Set, and two Roles.
D. Create two Profiles, one Permission Set, and one Role.
Which collection type provides unique key/value pairings of data?
A. Map
B. List
C. Array
D. Set
What can a developer use to determine if the core Apex code exceeds any governor limits in a test class during bulk execution?
A. Limits, startTest, stopTest
B. Test.getDmlStatements()
C. @TestSetup.
D. @TestVisible
What are two features of Heroku Connect? Choose 2 answers
A. Displaying data from an external data store via External Objects.
B. Real Time Sync between Salesforce and Postgres
C. Bidirectional syncs, allowing data to be written into Salesforce
D. Near Real Time Sync between Heroku Postgres and Salesforce
A developer is tasked to perform a security review of the ContactSearch Apex class that exists in the system. Whithin the class, the developer identifies the following method as a security threat: List
What are two ways the developer can update the method to prevent a SOQL injection attack? Choose 2 answers
A. Use variable binding and replace the dynamic query with a static SOQL.
B. Use the escapeSingleQuote method to sanitize the parameter before its use.
C. Use a regular expression expression on the parameter to remove special characters.
D. Use the @Readonly annotation and the with sharing keyword on the class.
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 PDI exam preparations and Salesforce certification application, do not hesitate to visit our Vcedump.com to find your solutions here.