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 +

What is the transaction limit on the max Salesforce CPU time?

What is the transaction limit on the max Salesforce CPU time?A . 100 secondsB . 60 secondsC . 100 seconds (synchronous); 200 seconds (async)D . 10 seconds (synchronous); 60 seconds (async)E . There is no limitView AnswerAnswer: D

April 28, 2022 No Comments READ MORE +

Which of the following elements can be members of a public group? (Choose three.)

Which of the following elements can be members of a public group? (Choose three.)A . TerritoriesB . Case TeamsC . UsersD . RolesE . ProfilesView AnswerAnswer: A,C,D

April 28, 2022 No Comments READ MORE +

Which solution solves these requirements?

Universal Containers wants to use a Customer Community with Customer Community Plus licenses so their customers can track how many of containers they are renting and when they are due back. Many of their customers are global companies with complex Account hierarchies, representing various departments within the same organization. One...

April 28, 2022 No Comments READ MORE +

Which code snippet will assert that the remote action returned the correct Account?

Global with sharing class MyRemoter { public String accountName { get; set; } public static Account account { get; set; } public AccountRemoter(} {} @RemoteAction global static Account getAccount (String acccuntName) { account = [SELECT Id, Name, NumberOfEmployees FROM Account WHERE Name = :accountName]; return account; } } Consider the...

April 27, 2022 No Comments READ MORE +

The Bulk API__________.

The Bulk API__________.A . Is based on REST principles and is optimized for loading or deleting large sets of data. You can use it to query, queryAII, insert, update, upsert, or delete many records asynchronously by submitting batchesB . Provides a powerful, convenient, and simple REST-based web services interface for...

April 27, 2022 No Comments READ MORE +

How many Territories can an instance of salesforce have?

How many Territories can an instance of salesforce have?A . 400B . 200C . 1000D . 100E . 500View AnswerAnswer: E

April 26, 2022 No Comments READ MORE +