Which two Apex data types can be used to reference a Salesforce record ID dynamically? (Choose two.)
ENUM
sObject
External ID
String
Correct answer: AD
Question 2
Where can a developer identify the time taken by each process in a transaction using Developer Console log inspector?
Performance Tree tab under Stack Tree panel
Execution Tree tab under Stack Tree panel
Timeline tab under Execution Overview panel
Save Order tab under Execution Overview panel
Correct answer: C
Explanation:
Question 3
A developer working on a time management application wants to make total hours for each timecard available to application users. A timecard entry has a Master-Detail relationship to a timecard.
Which approach should the developer use to accomplish this declaratively?
A Visualforce page that calculates the total number of hours for a timecard and displays it on the page
A Roll-Up Summary field on the Timecard Object that calculates the total hours from timecard entries for that timecard
A Process Builder process that updates a field on the timecard when a timecard entry is created
An Apex trigger that uses an Aggregate Query to calculate the hours for a given timecard and stores it in a custom field