Topic 1 : Exam Pool A
Where can a developer identify the time taken by each process in a transaction using Developer Console log inspector?
A.
Performance Tree tab under Stack Tree panel
B.
Execution Tree tab under Stack Tree panel
C.
Timeline tab under Execution Overview panel
D.
Save Order tab under Execution Overview panel
Timeline tab under Execution Overview panel
Universal Containers wants Opportunities to be locked from editing when reaching the Closed/Won stage.
Which two strategies should a developer use to accomplish this? (Choose two.)
A.
Use a Visual Workflow.
B.
Use a validation rule.
C.
Use the Process Automation Settings.
D.
Use a Trigger.
Use a validation rule.
Use a Trigger.
A developer encounters APEX heap limit errors in a trigger.
Which two methods should the developer use to avoid this error? (Choose two.)
A.
Use the transient keyword when declaring variables.
B.
Query and store fields from the related object in a collection when updating related objects.
C.
Remove or set collections to null after use.
D.
Use SOQL for loops instead of assigning large queries results to a single collection and looping through
the collection.
Use the transient keyword when declaring variables.
Use SOQL for loops instead of assigning large queries results to a single collection and looping through
the collection.
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
Apex Trigger
Apex Class
User
A newly hired developer discovers that there are multiple triggers on the case object.
What should the developer consider when working with triggers?
A.
Developers must dictate the order of trigger execution.
B.
Unit tests must specify the trigger being tested.
C.
Trigger execution order is not guaranteed for the same sObject.
D.
Trigger execution order is not guaranteed for the same sObject.
Developers must dictate the order of trigger execution.
Unit tests must specify the trigger being tested.
Trigger execution order is not guaranteed for the same sObject.
A developer executes the following query in Apex to retrieve a list of contacts for each account:
List<account> accounts = [Select ID, Name, (Select ID, Name from Contacts) from Account] ;
Which two exceptions may occur when it executes? (Choose two.)
A.
CPU limit exception due to the complexity of the query.
B.
SOQL query row limit exception due to the number of contacts.
C.
SOQL query limit exception due to the number of contacts.
D.
SOQL query row limit exception due to the number of accounts.
SOQL query limit exception due to the number of contacts.
SOQL query row limit exception due to the number of accounts.
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 List<String> with each value as an element in the list
B.
As a String with each value separated by a comma
C.
As a String with each value separated by a semicolon
D.
As a Set<String> with each value as an element in the set
As a String with each value separated by a semicolon
Which two platform features align to the Controller portion of MVC architecture? (Choose two.)
A.
Process Builder actions
B.
Workflow rules
C.
Standard objects
D.
Date fields
Process Builder actions
Workflow rules
Which two Apex data types can be used to reference a Salesforce record ID dynamically? (Choose two.)
A.
ENUM
B.
sObject
C.
External ID
D.
String
ENUM
String
When is an Apex Trigger required instead of a Process Builder Process?
A.
When a record needs to be created
B.
When multiple records related to the triggering record need to be updated
C.
When a post to Chatter needs to be created
D.
When an action needs to be taken on a delete or undelete, or before a DML operation is executed.
When an action needs to be taken on a delete or undelete, or before a DML operation is executed.
Page 3 out of 39 Pages |
Previous |