A custom field Exec_Count_c of type Number is created on an Account object. An account record with value of "1" for a: Exec__Count_c is saved. A workflow field update is defined on the Exec_Count_c field, to increment its value every time an account record is created or updated.

A custom field Exec_Count_c of type Number is created on an Account object. An account record with value of "1" for a: Exec__Count_c is saved. A workflow field update is defined on the Exec_Count_c field, to increment its value every time an account record is created or updated. The following...

March 20, 2021 No Comments READ MORE +

What is the most effective approach to ensure values displayed respect the users locale settings?

In an organization that has multi-currency enabled, a developer is tasked with building a Lighting Component that displays the top ten Opportunities most recently access by the logged in user. The developer must ensure the Amount and LastModifiedDate field values are displayed according to the user's locale. What is the...

March 20, 2021 No Comments READ MORE +

Which change should the developer make to ensure the integration is not affected with minimal impact to business logic?

A developer created a new trigger that inserts a Task when a new Lead is created. After deploying to production, an outside integration is periodically reporting errors. Which change should the developer make to ensure the integration is not affected with minimal impact to business logic?A . Use a Try/Catch...

March 20, 2021 No Comments READ MORE +

What should the developer do to ensure a more meaningful message?

A user receives the generic "An internal server error has occurred" while interacting with a custom Lightning Component. What should the developer do to ensure a more meaningful message?A . Use an AuraHandledException in a try/catch block.B . Use ProcessBuilder to catch the error.C . Add an onerror event handler...

March 19, 2021 No Comments READ MORE +

What is the transaction limit for the number of records for SOSL?

What is the transaction limit for the number of records for SOSL?A . 20B . 2,000C . 100 (synchronous), 200 (async)D . 200 (synchronous), 100 (async)E . There is no limitView AnswerAnswer: B

March 19, 2021 No Comments READ MORE +

What is a consideration when using bind variables with dynamic SOQL? (Choose two.)

What is a consideration when using bind variables with dynamic SOQL? (Choose two.)A . Dynamic SOQL cannot reference fields on bind variablesB . Dynamic SOQL cannot use bind variablesC . Bind variables must be public or globalD . Bind variables must be in local scopeView AnswerAnswer: A,D

March 19, 2021 No Comments READ MORE +

What change In the controller will fix the error?

A Visualforce Page throws an Attempt to dereference a null object error for a Contact. What change In the controller will fix the error?A . Declare a static final Contact at the top of the controller.B . Change the setters signature to return a Contact.C . Use a condition in...

March 19, 2021 No Comments READ MORE +

After a Platform Event is defined in a Salesforce org, events can be published via which two mechanisms? Choose 2 answers

After a Platform Event is defined in a Salesforce org, events can be published via which two mechanisms? Choose 2 answersA . internal Apps can use Outbound MessagesB . Internal Apps can use Process Builder.C . External Apps require a custom Apex web service.D . External Apps can use the...

March 18, 2021 No Comments READ MORE +

How should the developer handle the recursive trigger?

A developer has written an After Update trigger on Account. A workflow rule and field update cause the trigger to repeatedly update the Account records. How should the developer handle the recursive trigger?A . Deactivate the trigger and move the logic into a Process or FlowB . Deactivate the workflow...

March 18, 2021 No Comments READ MORE +

What is the optimal way to store and retrieve the list?

A managed package uses a list of country ISO codes and country names as references data in many different places.. managed package Apex code. What is the optimal way to store and retrieve the list?A . Store the information in Custom Metadata and query it with SOQC . Store the...

March 18, 2021 No Comments READ MORE +