Which type of exception will this trigger cause?

A lead object has a custom field Prior_Email__c. The following trigger is intended to copy the current Email into the Prior_Email__c field any time the Email field is changed: Which type of exception will this trigger cause?A . A null reference exceptionB . A compile time exceptionC . A DML...

October 25, 2021 No Comments READ MORE +

What should a developer do to meet these requirements?

The operation manager at a construction company uses a custom object called Machinery to manage the usage and maintenance of its cranes and other machinery. The manager wants to be able to assign machinery to different constructions jobs, and track the dates and costs associated with each job. More than...

October 25, 2021 No Comments READ MORE +

How many levels can be returned in a single query?

A developer writes a SOQL query to find child records for a specific parent. How many levels can be returned in a single query?A . 1B . 7C . 5D . 3View AnswerAnswer: C

October 25, 2021 No Comments READ MORE +

What is the requirement?

A developer wants to override a button using Visualforce on an object. What is the requirement?A . The controller or extension must have a PageReference method.B . The standardController attribute must be set to the object.C . The action attribute must be set to a controller method.D . The object...

October 25, 2021 No Comments READ MORE +

What is a capability of the <ltng:require> tag that is used for loading external Javascript libraries in Lightning Component? (Choose three.)

What is a capability of the <ltng:require> tag that is used for loading external Javascript libraries in Lightning Component? (Choose three.)A . Loading files from Documents.B . One-time loading for duplicate scripts.C . Specifying loading order.D . Loading scripts in parallel.E . Loading externally hosted scripts.View AnswerAnswer: B,C,D

October 25, 2021 No Comments READ MORE +

How should the developer implement this request?

A developer is asked to set a picklist field to ‘Monitor’ on any new Leads owned by a subnet of Users. How should the developer implement this request?A . Create an after insert Lead trigger.B . Create a before insert Lead trigger.C . Create a Lead Workflow Rule Field Update.D...

October 25, 2021 No Comments READ MORE +

What is the result of the debug statement?

A developer writes the following code: What is the result of the debug statement?A . 1, 100B . 1, 150C . 2, 150D . 2, 200View AnswerAnswer: C

October 25, 2021 No Comments READ MORE +

When is an Apex Trigger required instead of a Process Builder Process?

When is an Apex Trigger required instead of a Process Builder Process?A . When a record needs to be createdB . When multiple records related to the triggering record need to be updatedC . When a post to Chatter needs to be createdD . When an action needs to be...

October 25, 2021 No Comments READ MORE +

What are two valid options for iterating through each Account in the collection List<Account> named AccountList? (Choose two.)

What are two valid options for iterating through each Account in the collection List<Account> named AccountList? (Choose two.)A . for (Account theAccount : AccountList) {…}B . for(AccountList) {…}C . for (List L : AccountList) {…}D . for (Integer i=0; i < AccountList.Size(); i++) {…}View AnswerAnswer: A,D

October 24, 2021 No Comments READ MORE +

Which three attributes need to be defined with values in the <apex:page> tag to accomplish this?

A platform developer at Universal Containers needs to create a custom button for the Account object that, when clicked, will perform a series of calculations and redirect the user to a custom Visualforce page. Which three attributes need to be defined with values in the <apex:page> tag to accomplish this?...

October 24, 2021 No Comments READ MORE +