What is the most efficient way in Visualforce to show information based on data filters defined by an end-user for a large volume of data?

What is the most efficient way in Visualforce to show information based on data filters defined by an end-user for a large volume of data?A . Use the rendered condition in Visualforce to limit data based on data filtersB . Use filter conditions in a SOQL query to limit data...

May 1, 2022 No Comments READ MORE +

Which use case is an appropriate fit for the ©future asynchronous Apex method? (Choose two.)

Which use case is an appropriate fit for the ©future asynchronous Apex method? (Choose two.)A . A developer has jobs that need larger query results than regular transactions allowB . A developer needs to segregate DML operations and bypass the mixed save DML errorC . A developer has long-running jobs...

May 1, 2022 No Comments READ MORE +

What Visualforce tag can be used to display custom messages in pages using the Salesforce Ul styling for errors, warnings, and other types of messages?

What Visualforce tag can be used to display custom messages in pages using the Salesforce Ul styling for errors, warnings, and other types of messages?A . <apex:customMessage>B . <apex:error>C . <apex:message>D . <apex:pageMessage>View AnswerAnswer: D

April 30, 2022 No Comments READ MORE +

What is a recommended practice with regard to the Apex CPU limit? (Choose two.)

What is a recommended practice with regard to the Apex CPU limit? (Choose two.)A . Optimize SOQL query performanceB . Use Map collections to cache sObjectsC . Avoid nested Apex iterationsD . Reduce view state in Visualforce pagesView AnswerAnswer: B,C

April 30, 2022 No Comments READ MORE +

What is the most effective approach to ensure values displayed respect the user’s 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...

April 30, 2022 No Comments READ MORE +

Which type of controller is best suited when you want all of the basic DML functions from an object's normal new/edit page?

Which type of controller is best suited when you want all of the basic DML functions from an object's normal new/edit page?A . Standard ControllerB . Standard List/Set ControllerC . Controller ExtensionsD . Custom ControllerView AnswerAnswer: A

April 30, 2022 No Comments READ MORE +

Which interface needs to be implemented by a Lightning Component so that it may be displayed in modal dialog by clicking a button on a Lightning Record page?

Which interface needs to be implemented by a Lightning Component so that it may be displayed in modal dialog by clicking a button on a Lightning Record page?A . Force: lightningQuickActionB . Lightning:editActionC . Fightning:quickActionD . Force:lightningEditActionView AnswerAnswer: A

April 29, 2022 No Comments READ MORE +

Which two queries are optimized for large data volumes?

Consider the following queries. For these queries, assume that there are more than 200,000 Account records. These records include soft-deleted records; that is, deleted records that are still in the Recycle Bin. Note that there are two fields that are marked as External Id on the Account. These fields are...

April 29, 2022 No Comments READ MORE +

What is the transaction limit for the number of records using QueryLocator?

What is the transaction limit for the number of records using QueryLocator?A . 50,000B . 50,000,000C . 100,000D . 5,000,000E . There is no limitView AnswerAnswer: B Explanation: Reference: "Scope" parameter in "executeBatch" can be set up to 2,000 records

April 29, 2022 No Comments READ MORE +

When should you use the "transient" property on variables?

When should you use the "transient" property on variables?A . Variables that you want transmitted as part of the view state. Static variables also don't get transmittedB . Variables that you don't want transmitted as part of the view state. Static variables also don't get transmittedC . Static variables that...

April 29, 2022 No Comments READ MORE +