What is the optimal way to update the Accounts from the external system?

A company uses an external system to manage its custom account territory assignments. Every quarter, millions of Accounts may be updated in Salesforce with new Owners when the territory assignments are completed in the external system. What is the optimal way to update the Accounts from the external system?A ....

June 1, 2020 No Comments READ MORE +

What is a benefit of JavaScript remoting over Visualforce Remote Objects?

What is a benefit of JavaScript remoting over Visualforce Remote Objects?A . Allows for specified re-render targetsB . Does not require any Apex codeC . Does not require any JavaScript codeD . Supports complex server-side application logicView AnswerAnswer: C

May 31, 2020 No Comments READ MORE +

What is the optimal method for a developer to troubleshoot this?

An Apex trigger creates an Order__c record every time an Opportunity is won by a Sales Rep. Recently the trigger is creating two orders. What is the optimal method for a developer to troubleshoot this?A . Set up debug logging for every Sales Rep, then monitor the logs for errors...

May 31, 2020 No Comments READ MORE +

What is one way in which the integration can stay near real-time, but not exceed the number of allowed API calls in a 24-hour period?

Recently a Salesforce org's integration failed because it exceeded the number of allowed API calls in a 24-hour period. The integration handles a near real-time, complex insertion of data into Salesforce. The flow of data is as follows: - The integration looks up Contact records with a given email address...

May 31, 2020 No Comments READ MORE +

Following best practices, what should a developer use to meet this requirement?

A company wants to implement a new call center process for handling customer service calls. It requires service reps to ask for the caller’s account number before proceeding with the rest of their call script. Following best practices, what should a developer use to meet this requirement?A . Apex TriggerB...

May 31, 2020 No Comments READ MORE +

What is the optimal solution?

Sometimes events on Salesforce need to be handled by an external system due to the scale or type of process being executed. Consider the use case of a user in Salesforce needing to get pricing for an order they are building in Salesforce while on the phone with a customer....

May 31, 2020 No Comments READ MORE +

What is the most extendable way to update the Apex Trigger to accomplish this?

An Apex Trigger creates a Contract record every time an Opportunity record is marked as Closed and Won. This trigger is working great, except (due to a recent acquisition) historical Opportunity records need to be loaded into the Salesforce instance. When a test batch of records is loaded, the Apex...

May 31, 2020 No Comments READ MORE +

Which method of integration is optimal?

A company has a web page that needs to get Account record information, given its Salesforce record ID, from JavaScript on the page and then display it. Which method of integration is optimal?A . REST APIB . Apex SOAP Web ServiceC . Soap APID . Apex REST Web ServiceView AnswerAnswer:...

May 31, 2020 No Comments READ MORE +

What is the best way to implement this?

A developer wishes to improve runtime performance of Apex calls by caching results on the client. What is the best way to implement this?A . Decorate the server-side method with @AuraEnabled(cacheable=true).B . Set a cookie in the browser for use upon return to the page.C . Call the setStorable() method...

May 30, 2020 No Comments READ MORE +

What change should be applied to the component?

A Lightning Component functions in preview mode and needs to be used inside a Lightning App Builder page, but it is not available. What change should be applied to the component?A . Expose it in the markup using the implements and access attributes.B . Delete the component, metadata, and Apex...

May 30, 2020 No Comments READ MORE +