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 Test class. B. The callouts will be made in an Apex Trigger. C. The callout...
What is a benefit of JavaScript remoting over Visualforce Remote Objects?
What is a benefit of JavaScript remoting over Visualforce Remote Objects?A . Supports complex server-side application logic B. Does not require any JavaScript code C. Does not require any Apex code D. Allows for specified re-render targetsView AnswerAnswer: A
How should <c-order> component communicate to the <c-order-order> component that an order has been selected by the user?
Consider the following code snippet: How should <c-order> component communicate to the <c-order-order> component that an order has been selected by the user?A . Created and fire an application event. B. Create and fire a standard DOM event. C. Create and fire a component event. D. Create and dispatch a...
Which two practices should the developer follow to ensure the page operates with optimal performance?
A developer is creating a page in App Builder that will be used in the Salesforce mobile app. Which two practices should the developer follow to ensure the page operates with optimal performance? Choose 2 answersA . Limit five visible components on the page. B. Limit 25 fields on the...
Which scenario requires a developer to use an Apex callout instead of Outbound Messaging?
Which scenario requires a developer to use an Apex callout instead of Outbound Messaging?A . The callout needs to be asynchronous. B. The callout needs to be invoked from a Workflow Rule. C. The Target system uses a REST API. D. The Target system uses a SOAP API.View AnswerAnswer: C
What are three reasons that a developer should write Jest tests for Lightning web components? Choose 3 answers
What are three reasons that a developer should write Jest tests for Lightning web components? Choose 3 answersA . To test basic user interaction B. To verify that events fire when expected C. To test how multiple components work together D. To verify the DOM output of a component E....
Wh at should be changed to most optimize the code’s effidency?
The Account object has a field, auais_Code__c, that is used to specify what type of auditing the Account needs and a Lookup to User, Ruditor_c, that is the assigned auditor. When an Account is initially created, the user specifies the Audit_Code__c. Each User in the org has a unique text...
What should the developer do to determine which objects to include in the response?
A developer writes a lightning web component that displays a dropdown list of all custom objects in the org from which a user will select Apex method prepares and returns data to the component. What should the developer do to determine which objects to include in the response?A . Check...
Which event should the c: 2eazchRccounta component fire to make it known that an Account is selected?
A developer is working on a set of custom Aura components that can be Individually added to a home page. One of the components, c:searchAccounts, allows users to search for an Account and then select a specific found Account. Once selected, the other components. Should get other information related to...
What should a developer use to query all Account fields for the Acme account in their sandbox?
What should a developer use to query all Account fields for the Acme account in their sandbox?A . SELECT FROM ACCOUNT WHERE Name = ‘Acme’ LIMIT 1 B. SELECT ALL FROM Account WHERE Name = ‘Acme’ LIMIT 1 C. SELECT FIELDS FROM Account WHERE Name = ‘Acme’ LIMIT 1 D....