The Sales Management team hires a new intern. The intern is not allowed to view Opportunities, but needs to see the Most Recent Closed Date of all child Opportunities when viewing an Account record. What would a developer do to meet this requirement?
A. Create a trigger on the Account object that queries the Close Date of the most recent Opportunities.
B. Create a Workflow rule on the Opportunity object that updates a field on the parent Account.
C. Create a formula field on the Account object that performs a MAX on the Opportunity Close Date field.
D. Create a roll-up summary field on the Account object that performs a MAX on the Opportunity Close Date field.
A developer wrote a workflow email alert on case creation so that an email is sent to the case owner manager when a case is created. When will the email be sent?
A. After Committing to database.
B. Before Trigger execution.
C. After Trigger execution.
D. Before Committing to database.
Which statement would a developer use when creating test data for products and pricebooks?
A. Id pricebookId = Test.getStandardPricebookId();
B. Pricebook pb = new Pricebook();
C. IsTest(SeeAllData = false);
D. List objList = Test.loadData(Account.sObjectType, 'myResource');
Where would a developer build a managed package?
A. Developer Sandbox
B. Unlimited Edition
C. Partial Copy Sandbox
D. Developer Edition
Which type of information is provided by the Checkpoints tab in the Developer Console? (Choose 2)
A. Namespace
B. Time
C. Exception
D. Debug Statement
In a single record, a user selects multiple values from a multi-select picklist. How are the selected values represented in Apex?
A. As a String with each value separated by a comma
B. As a Set with each value as an element in the set
C. As a String with each value separated by a semicolon
D. As a List with each value as an element in the list Previous
Which trigger event allows a developer to update fields in the Trigger.new list without using an additional DML statement?Choose 2 answers
A. Before insert
B. Before update
C. After update
D. After insert
For which three items can a trace flag be configured? (Choose three.)
A. Apex Trigger
B. Apex Class
C. Process Builder
D. User
E. Visualforce
Which SOQL query successfully returns the Accounts grouped by name?
A. SELECT Type, Max(CreatedDate) FROM Account GROUP BY Name
B. SELECT Name, Max(CreatedDate) FROM Account GROUP BY Name
C. SELECT Id, Type, Max(CreatedDate) FROM Account GROUP BY Name
D. SELECT Type, Name, Max(CreatedDate) FROM Account GROUP BY Name LIMIT 5
A developer wrote a unit test to confirm that a custom exception works properly in a custom controller, but the test failed due to an exception being thrown. Which step should the developer take to resolve the issue and properly test the exception?
A. Use try/catch within the unit test to catch the exception.
B. Use the finally bloc within the unit test to populate the exception.
C. Use the database methods with all or none set to FALSE.
D. Use Test.isRunningTest() within the custom controller.
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.