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 +

What are three valid Apex loop structures for iterating through items in the collection?

Given: Map<ID, Account> accountMap = new Map>ID, Account> ([SELECT Id, Name FROM Account]); What are three valid Apex loop structures for iterating through items in the collection? (Choose three.)A . for (ID accountID : accountMap.keySet()) {…}B . for (Account accountRecord : accountMap.values()) {…}C . for (Integer i=0; I < accountMap.size();...

October 24, 2021 No Comments READ MORE +

Which approach should a developer use to add pagination to a Visualforce page?

Which approach should a developer use to add pagination to a Visualforce page?A . A StandardControllerB . The Action attribute for a pageC . The extensions attribute for a pageD . A StandardSetControllerView AnswerAnswer: D

October 24, 2021 No Comments READ MORE +

Which two ways should a developer create this functionality?

A developer is asked to create a PDF quote document formatted using the company’s branding guidelines, and automatically save it to the Opportunity record. Which two ways should a developer create this functionality? (Choose two.)A . Install an application from the AppExchange to generate documents.B . Create a Visualforce page...

October 24, 2021 No Comments READ MORE +

Which tool allows a developer to send requests to the Salesforce REST APIs and view the responses?

Which tool allows a developer to send requests to the Salesforce REST APIs and view the responses?A . REST resource path URLB . Workbench REST ExplorerC . Developer Console REST tabD . Force.com IDE REST Explorer tabView AnswerAnswer: B

October 24, 2021 No Comments READ MORE +

Which two Apex data types can be used to reference a Salesforce record ID dynamically? (Choose two.)

Which two Apex data types can be used to reference a Salesforce record ID dynamically? (Choose two.)A . ENUMB . sObjectC . External IDD . StringView AnswerAnswer: A,D

October 24, 2021 No Comments READ MORE +