What should the developer do to ensure a more meaningful message?
A user receives the generic "An internal server error has occurred" while interacting with a custom Lightning Component. What should the developer do to ensure a more meaningful message?A . Add an onerror event handler to the tag.B . Add an error-view component to the markup.C . Use an AuraHandledException...
What is the optimal way to fix this?
The test method above calls an @future method that increments the Number_of_Times_Viewed__c value. The assertion is failing because the Number_of_Times_Viewed__c equals 0. @isTest static void testIncrement() { Account acct = new Account(Name = 'Test'); acct.Number_Of_Times_Viewed__c = 0; insert acct; AuditUtil.incrementViewed(acct.Id); Account acctAfter = [SELECT Number_Of_Times_Viewed__c FROM Account WHERE Id =...
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....
Which design resource configuration should be used?
A company wants to build a custom Lightning Component that will display a specified Account Field Set and that can only be added to the Account record page. Which design resource configuration should be used?A . <design:component label="Account FS Component"> <design:attribute name="fieldSetName" Label="Field Set Name" /> <sfdc:objects> <sfdc:object>FieldSet</sfdc:object> </sfdc:objects> </design:component>B...
Which use case can only be performed by using asynchronous Apex?
Which use case can only be performed by using asynchronous Apex?A . Scheduling a batch process to complete in the futureB . Processing high volumes of recordsC . Updating a record after the completion of an insertD . Calling a web service from an Apex triggerView AnswerAnswer: D
Which change should the developer make to ensure the integration is not affected with minimal impact to business logic?
A developer created a new trigger that inserts a Task when a new Lead is created. After deploying to production, an outside integration is periodically reporting errors. Which change should the developer make to ensure the integration is not affected with minimal impact to business logic?A . Remove the Apex...
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...
What should the developer ensure to correct these errors?
A developer created and tested a Visualforce page in their developer sandbox, but now receives reports that users are encountering ViewState errors when using it in Production. What should the developer ensure to correct these errors?A . Ensure queries do not exceed governor limits.B . Ensure properties are marked as...
What is the optimal method to implement this?
A company processes Orders within their Salesforce instance. When an Order’s status changes to 'Paid' it must notify the company’s order management system (OMS). The OMS exposes SOAP web service endpoints to listen for when to retrieve the data from Salesforce. What is the optimal method to implement this?A ....
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...