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...
What is the optimal way to achieve this?
A company wants to incorporate a third-party web service to set the Address fields when an Account is inserted, if they have not already been set. What is the optimal way to achieve this?A . Create a Process, call an Apex @future(callout=true) method from it, and make the callout from...
Which strategy can a developer use to improve the performance?
A Visualforce page loads slowly due to the large amount of data it displays. Which strategy can a developer use to improve the performance?A . Use Javascript to move data processing to the browser instead of the controller.B . Use the transient keywords for the List variables used in the...
What can be used when developing a custom screen to ensure an Account is not created if the creation of the Contact fails?
Business rules require a Contact to always be created when a new Account is created. What can be used when developing a custom screen to ensure an Account is not created if the creation of the Contact fails?A . Use the Database.Delete method if the Contact insertion fails.B . Use...
Which scenario necessitates that the callout be made in an @future method?
A developer is writing code that requires making callouts to an external web service. Which scenario necessitates that the callout be made in an @future method?A . The callouts will be made in an Apex Trigger.B . The callouts will be made in an Apex Test class.C . The callout...