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...

November 9, 2020 No Comments READ MORE +

What is the optimal way for a developer to fix the issue?

A company has many different unit test methods that create Account records as part of their data setup. A new required field was added to the Account and now all of the unit tests fail. What is the optimal way for a developer to fix the issue?A . Add a...

November 9, 2020 No Comments READ MORE +

What is the optimal way to implement this?

A company represents their customers as Accounts in Salesforce. All customers have a unique Customer_Number__c that is unique across all of the company’s systems. They also have a custom Invoice__c object, with a Lookup to Account, to represent invoices that are sent out from their external system. This company wants...

November 8, 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...

November 8, 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....

November 8, 2020 No Comments READ MORE +

Which two relationship queries use the proper syntax? (Choose two.)

Which two relationship queries use the proper syntax? (Choose two.)A . SELECT Id, Name, Account__r.Name FROM Contact WHERE Account__r.Industry ='Media'B . SELECT Name, (SELECT LastName FROM Contacts__r) FROM AccountC . SELECT Name, (SELECT LastName FROM Contacts) FROM AccountD . SELECT Id, Name, Account.Name FROM Contact WHERE Account.Industry = 'Media'View AnswerAnswer:...

November 8, 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: D

November 7, 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...

November 7, 2020 No Comments READ MORE +

What are three benefits of using static resources in Visualforce and Lightning Components? (Choose three.)

What are three benefits of using static resources in Visualforce and Lightning Components? (Choose three.)A . Static resource files are automatically minified.B . Static resource files can be referenced by using the $Resource global variable instead of hardcoded IDs.C . Static resource files can be packaged into a collection of...

November 7, 2020 No Comments READ MORE +

What can a developer use to analyze and diagnose the problem in the Lightning Page?

A company has a Lightning Page with many Lightning Components, some that cache reference data. It is reported that the page does not always show the most current reference data. What can a developer use to analyze and diagnose the problem in the Lightning Page?A . Salesforce Lightning Inspector Actions...

November 6, 2020 No Comments READ MORE +