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 +

What can a developer to do address the issue?

A company notices that their unit tests in a test class with many methods to create many records for prerequisite reference data are slow . What can a developer to do address the issue?A . Move the prerequisite reference data setup to a TestDataFactory and call that from each test...

April 29, 2022 No Comments READ MORE +

How should the developer enable this functionality?

A developer is working on code that requires a call to an external web service from a batch . How should the developer enable this functionality?A . Implement a custom System.CalloutException classB . Include Database.AllowCallout() in the class definitionC . Implement an @future method for the callout, and invoke it...

April 29, 2022 No Comments READ MORE +

Which code block will accurately meet the business requirements?

.A developer is asked to update data in an org based on new business rules. The new rules state that Accounts with the type set to 'Customer' should have a status of 'Active,' and Accounts with the type set to 'Prospect' should have a status of 'Pending.' No other changes...

April 28, 2022 No Comments READ MORE +

Which two changes should a developer make in this trigger to adhere to best practices?

Consider the above trigger intended to assign the Account to the manager of the Account''s region . Which two changes should a developer make in this trigger to adhere to best practices? Choose 2 answersA . Use a Map accountMap instead of List accountList.B . Use a Map to cache...

April 28, 2022 No Comments READ MORE +