What should be done to eliminate this issue going forward?
A developer used custom settings to store some configuration data that changes occasionally. However, tests are now failing in some of the sandboxes that were recently refreshed. What should be done to eliminate this issue going forward?A . Set the setting type on the custom setting to List. B. Replace...
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...
Which recommended approach should the developer implement to the callout exception?
A developer created the code to perform an HTP GET request to an external system. When the code is executed, the callout is unsuccessful and the following error appears within the Developer Console:System.CalloutException: Unauthorized endpoint Which recommended approach should the developer implement to the callout exception?A . create a remote...
What should be added to the Lightning web component to allow the developer to interact with the Server Update platform event?
Get Cloudy Consulting (GCC) has a multitude of servers that host its customers' websites. GCC wants to provide a servers status page that is always on display in its call center. It should update in real time with any changes made to any servers. To accommodate this on the server...
Depending on company personnel resources, what are two ways to automate this?
A comply his reference data stored m multiple custom metadata records that represent del auh information and delete behavior for certain geographic regions. When a contact is inserted, the default information should be set on the contact from the custom metadata records based on the contact's address information. Additionally, if...
Which two recommendations should make this process more efficient?
A business currently has a process to manually upload orders from its external Order Management System (OMS) into Salesforce. This is a labor intensive process since accounts must be exported out of Salesforce to get the IDs. The upload file must be updated with the correct account IDs to relate...
What should the developer do to identify the configuration changes that need to be moved into production?
Just prior to a new deployment, the Salesforce Administrator who configured a new order fulfillment process in a developer sandbox suddenly left the company. The users had fully tested all of the changes in the sandbox and signed off on them. Unfortunately, although a Change Set was started, it was...
What should the developer do to improve performance of the component?
A developer implemented a custom data table in a Lightning web component with filter functionality. However, users are submitted support tickets about long load times when the filters are changed. The component uses an Apex method that is called to query for records the selected filters. What should the developer...
What should the developer do to ensure that users do not overwrite each other’s updates to the same Account if they make updates at the same time?
A developer created an Apex class that updates an Account based on input from a Lightning web component that is used to register an Account. The update to the Account should only be made if it has not already been registered. What should the developer do to ensure that users...
Which two best practices should the developer Implement to optimize this code? Choose 2 answers
Which two best practices should the developer Implement to optimize this code? Choose 2 answersA . Use a collection for the DML statement. B. Query the Pricing_structure__c records outside of the loop. C. Change the trigger context to after update, after insert. D. Remove the DML statement.View AnswerAnswer: B,D