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 +

How can the developer accomplish this?

A developer is using a third-party JavaScript library to create a custom user interface in Visualforce. The developer needs to use JavaScript to get data from a controller method in response to a user action. How can the developer accomplish this?A . Use <apex:actionFunction> to create a JavaScript wrapper for...

March 18, 2021 No Comments READ MORE +

What should the developer ensure to correct these errors?

A developer created and tested a Visualforce page in their developer sandbox, but now receives reports that users are encountering ViewState errors when using it in Production. What should the developer ensure to correct these errors?A . Ensure queries do not exceed governor limits.B . Ensure properties are marked as...

March 18, 2021 No Comments READ MORE +

Which sObject type requires the test class to have the (seeAllData=true) annotation?

A developer is trying to access org data from within a test class. Which sObject type requires the test class to have the (seeAllData=true) annotation?A . RecordTypeB . ProfileC . UserD . ReportView AnswerAnswer: A,B,C

March 17, 2021 No Comments READ MORE +

Which statement should be used to allow some of the records in a list of records to be inserted if others fail to be inserted?

Which statement should be used to allow some of the records in a list of records to be inserted if others fail to be inserted?A . Database.insert(records, false)B . Database.insert(records, true)C . insert recordsD . insert (records, false)View AnswerAnswer: A

March 16, 2021 No Comments READ MORE +