A. To avoid Apex code coverage requirements for the code between these lines
B. To start and stop anonymous block execution when executing anonymous Apex code.
C. To indicate test code so that it does not impact Apex line count governor limits
D. To create an additional set of governor limits during the execution of a single test class.
D. To create an additional set of governor limits during the execution of a single test class.
A. The StandardSetController to support related lists for pagination
B. The Opportunity StandardController for pre-built functionality
C. A callback constructor to reference the StandardController
D. A constructor that initialized a private Opportunity variable.
B. The Opportunity StandardController for pre-built functionality
for(Lead l : Tigger.new)
{
if(l.PostalCode != null)
{
List< Territory\_\_c> terrList =
[ SELECT Id FROM Territory\_\_c where PostalCode\_\_c =: lo.PostalCode ];
if(terrList.size() > 0)
{
l.Territory\_\_c = terrList[0].id;
}
}
}Which line of code is causing the code block to fail?
A. 03: A SQOL query is located inside of the for loop code.
B. 01: Trigger.new is not valid in a before insert Trigger.
C. 02: A NullPointer exception is thrown if PostalCode is null.
D. 05: The Lead in the before insert trigger cannot be updated.
A. 03: A SQOL query is located inside of the for loop code.
A. Create a process with a process builder.
A. Create activities at multiple intervals
B. Send outbound message without Apex code
A. Create a method that creates valid Account records, and call this method from within test methods.
B. Create a method that loads valid Account records from static resource, and call this method within test methods.
7. Which component is available to deploy using Metadata API? Choose 2 answers. A. Case Layout B. Account Layout C. Case Feed Layout D. Console Layout
A. Case Layout
B. Account Layout
8. In the code below, what type does Boolean inherit from? Boolean b = true; A. Enum B. Object C. String D. Class
B. Object
D. By uploading the content as a Static Resource.
B. Lookup
D. The Apex Trigger is fired more than once.
12. What is true of a partial sandbox that is not true of a full sandbox? A. More frequent refreshes B. Only includes necessary meta data C. Use of change sets D. Limited to 5 GB of data
A. More frequent refreshes
D. Limited to 5 GB of data
A. Before Triggers; Validation Rules; After Triggers; Assignment Rules; Workflow Rules; Commit
A. Match an external Id text field to a column in the imported file
B. Match the Id field to a column in the imported file.
A. The values in the CampaignMember. Estimated_value__c are converted into the currency of the Campaign record, and the sum is displayed using the currency on the Campaign record.
C. Create a master-detail relationship in the Applications custom object to the Job Posting custom object.
A. It has an event-driven architecture.
C. It includes responsive components
A. Formula fields can reference fields from mater-detail or lookup parent relationships
B. Formula fields can expose data the user does not have access to in the record
E. Formula fields can reference fields from object that are up to 10 relationships away
D. Anonymous Blocks
D. Open the Logs tab in the Developer Console
A. A list of lists of sObjects
C. By using Maps to hold data from query results.
D. By performing DML transactions on lists of sObjects
C. Queries select the fewer fields and records possible to avoid exceeding governor limits.
test class to production? Choose 2 answers
A. The REST API and ApexTestRun method
B. The Apex Test Execution page in Salesforce Setup
C. The Test menu in the Developer Console
D. The Run Tests page in the Salesforce Setup
B. The Apex Test Execution page in Salesforce Setup
C. The Test menu in the Developer Console