Which is the optimal method to implement this in Salesforce?

A company has a native iOS app for placing orders that needs to connect to Salesforce to retrieve consolidated information from many different objects in a JSON format. Which is the optimal method to implement this in Salesforce?A . Apex REST Web ServiceB . Apex SOAP Web ServiceC . Apex...

March 10, 2021 No Comments READ MORE +

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

Consider the Apex class above that defines a RemoteAction used on a Visualforce search page. global with sharing class MyRemoter { public String accountName { get; set; } public static Account account { get; set; } public AccountRemoter() {} @RemoteAction global static Account getAccount(String accountName) { account = [SELECT Id,...

March 10, 2021 No Comments READ MORE +

Which two of the examples above have correct System.debug statements? (Choose two.)

Which two of the examples above have correct System.debug statements? (Choose two.) Example 1: AggregateResult[] groupedResults = [SELECT CampaignId, AVG(Amount) FROM Opportunity GROUP BY CampaignId]; for (AggregateResult ar : groupedResults) { System.debug('Campaign ID' + ar.get('CampaignId')); System.debug('Average amount' + ar.get('expr0')); } Example 2: AggregateResult[] groupedResults = [SELECT CampaignId, AVG(Amount) theAverage FROM...

March 10, 2021 No Comments READ MORE +

Which are relevant practices while analyzing the timeline of different types of transactions in the execution overview panel? (Choose two.)

Which are relevant practices while analyzing the timeline of different types of transactions in the execution overview panel? (Choose two.)A . Log lines in the execution log panel can be analyzed for details about specific eventsB . The performance tree should be use to analyze events further starting from the...

March 10, 2021 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...

March 10, 2021 No Comments READ MORE +

Which tool should the developer use?

A developer wants to retrieve and deploy metadata, perform simple CSV export of query results, and debug Apex REST calls by viewing JSON responses. Which tool should the developer use?A . Developer ConsoleB . Force.com Migration ToolC . WorkbenchD . Force.com IDEView AnswerAnswer: C

March 9, 2021 No Comments READ MORE +

What is the optimal way to automate this?

A company has a custom object, Sales Demo Request, that has a lookup to an Opportunity. It is required that a Sales Demo Request record be created when an Opportunity’s Probability is greater than 50%. What is the optimal way to automate this?A . Use an Apex Trigger on Opportunity.B...

March 9, 2021 No Comments READ MORE +

Which option has the correct component changes to display correctly on desktops and tablets?

Refer to the component code above. The information displays as expected (in three rows) on a mobile device. However, the information is not displaying as desired (in a single row) on a desktop or tablet. Which option has the correct component changes to display correctly on desktops and tablets?A ....

March 8, 2021 No Comments READ MORE +

What is a possible reason to get this error message?

A developer gets an error saying 'Maximum Trigger Depth Exceeded'. What is a possible reason to get this error message?A . The SOQL governor limits are being hit.B . A process Builder is running that sends mass emails.C . There are numerous DML operations in the trigger logic.D . A...

March 8, 2021 No Comments READ MORE +

What is the optimal way to accomplish this?

A developer is asked to build a solution that will automatically send an email to the Customer when an Opportunity stage changes. The solution must scale to allow for 10,000 emails per day. The criteria to send the email should be evaluated after all Workflow Rules have fired. What is...

March 8, 2021 No Comments READ MORE +