The Account object has a custom formula field,Level_c, that is defined as a Formula(Number) with two decimal places. Which three are valid assignments? Choose 3.
A. Long myLevel = acct.Level_c;
B. Object myLevel = acct.Level_c;
C. Double myLevel = acct.Level_c;
D. Decimal myLevel = acct.Level_c;
E. Integer myLevel = acct.Level_c;
How many levels of child records can be returned in a single SOQL query from one parent object?
A. 1
B. 3
C. 5
D. 7
Which two statements are acceptable for a developer to use inside procedural loops?
A. Contact con = new Contact();
B. ContactList.remove(i);
C. Delete contactList;
D. Account a = [SELECT id, Name FROM account WHERE id = : con.AccountId LIMIT 1];
When a Task is created for a Contact, how can a developer prevent the task from being included on the Activity Timeline of the Contact's Account record?
A. In Activity Settings, uncheck Roll up activities to a contact's primary account.
B. By default, tasks do not display on the Account Activity Timiline.
C. Use Process Builder to create a process to set the Task Account field to blank.
D. Create a Task trigger to set the Account field to NULL
The sales team at Universal Containers would like to see a visual indicator appear on both Account and Opportunity page layouts to alert salespeople when an Account is late making payments or has entered the collections process.
What can a developer implement to achieve this requirement without having to write custom code?
A. Quick Action
B. Formula Field
C. Roll-up Summary Field
D. Workflow Rule
A developer needs to create a baseline set of data (Accounts, Contacts, Products, Assets) for an entire suite of tests allowing them to test independent requirements various types of Salesforce Cases.
Which approach can efficiently generate the required data for each unit test?
A. Add @IsTest(seeAllData=true) at the start of the unit test class
B. Create test data before test.startTest() in the test unit.
C. Use @TestSetup with a void method
D. Create a mock using Stub API
A developer has the following class and trigger code:
public class InsuranceRates { public static final Decimal smokerCharge = 0.01; } trigger ContactTrigger on Contact (before insert) { InsuranceRates rates = new InsuranceRates(); Decimal baseCost = XXX; } Which code segment should a
developer insert at the XXX to set the baseCost variable to the value of the class variable smokerCharge?
A. Rates.smokerCharge
B. Rates.getSmokerCharge()
C. ContactTrigger.InsuranceRates.smokerCharge
D. InsuranceRates.smokerCharge
Which two SOSL searches will returns records matching search criteria contained in any of the searchable texts fields on an object? Choose 2 answers
A. [FIND 'Acme*' RETURNING Account,Opportunity];
B. [FIND 'Acme*' IN ANY FIELDS RETURNING Account,Opportunity];
C. [FIND 'Acme*' IN TEXT FIELDS RETURNING Account,Opportunity];
D. [FIND 'Acme*' IN ALL FIELDS RETURNING Account,Opportunity];
A company wants to create an employee rating program that allows employees to rate each other. An employees average rating must be displayed on the employee record. Employees must be able to create rating records, but are not allowed to create employee records. Which two actions should a developer take to accomplish this task?
A. Create a trigger on the Rating object than updates a field on the Employee object.
B. Create a roll-up summary field on the Employee and use AVG to calculate the average rating score.
C. Create a lookup relationship between the Rating and Employee object.
D. Create a master-detail relationship between the Rating and Employee objects.
Managed Packages can be created in which type of org?
A. Developer Sandbox
B. Unlimited Edition
C. Developer Edition
D. Partial Copy Sandbox
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.