Topic 1 : Exam Pool A
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 6 out of 78 Pages |
Previous |