PDII Exam Question 6
The test method above calls an @future method that increments the Number_of_Times_Viewed__c value. The assertion is failing because the Number_of_Times_Viewed__c equals 0. What is the optimal way to fix this?
PDII Exam Question 7
How can the DISTANCE and GEOLOCATION functions be used i|n SOQL queries? (Choose two.)
PDII Exam Question 8
A company requires all internal users to submit a Case for adding a new Account in Salesforce. The case record captures all the data required to create an Account. The case approval process is a manual process.
When a case is approved, an Account record should automatically be created based on the case details. What is the recommended solution?
When a case is approved, an Account record should automatically be created based on the case details. What is the recommended solution?
PDII Exam Question 9
What is a technique to maximize code re-use within Visualforce pages? Choose 3 answers
PDII Exam Question 10
The Contact object has a custom field called "Zone." Its data type is "Text" and field length is 3. What is the outcome after executing the following code snippet in the org? List<Contact> contactsToBeInserted=new List<Contact>(); Contact contactInstance= new Contact(LastName='Smith', Department='Tech', Zone__c='IAD'); contactsToBeInserted.add(contactlnstance); contactInstance= new Contact(LastName='Sm1th', Department='Tech', Zone__c='PITT'); contactsToBeInserted.add(contactlnstance); Database.insert(contactsToBeInserted,true);
