What is the transaction limit on the max timeout for all callouts?

What is the transaction limit on the max timeout for all callouts?A . 120 secondsB . 60 secondsC . 120 seconds (synchronous); 200 seconds (async)D . 60 seconds (synchronous); 200 seconds (asyncE . There is no limitView AnswerAnswer: A

May 2, 2022 No Comments READ MORE +

What is wrong with it?

Line 1 public class AttributeTypes Line 2 { Line 3 private final String[] arrayItems; Line 4 Line 5 @AuraEnabled Line 6 public List<String> getStringArray() { Line 7 Strings+ arrayItems = new String*+, 'red', 'green', 'blue' -; Line 8 return arrayItems; Line 9 } Line 10 } Consider the Apex controller...

May 2, 2022 No Comments READ MORE +

How can this be accomplished?

A developer wants to create a Visualforce page that allows a user to search for a given account by Name. If the account is found, the account details should be populated on screen. If no account is found, an error message should be displayed to the user. How can this...

May 1, 2022 No Comments READ MORE +

How can the developer meet these requirements?

A developer must create a custom pagination solution for accessing approximately 2000 records and displaying 50 records on each page. Data from Salesforce will be accessed via an API and not via Apex. How can the developer meet these requirements? (Choose two.)A . Use a StandardSetControllerB . Use CURSOR 50...

May 1, 2022 No Comments READ MORE +

What may have caused this problem?

A developer creates an application event that has triggered an infinite loop . What may have caused this problem?A . The event has multiple handlers registered in the project.B . The event handler calls a trigger.C . An event is fired ontouchend" and is unhandled.D . The event Is fired...

May 1, 2022 No Comments READ MORE +

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

May 1, 2022 No Comments READ MORE +

What is the most efficient way in Visualforce to show information based on data filters defined by an end-user for a large volume of data?

What is the most efficient way in Visualforce to show information based on data filters defined by an end-user for a large volume of data?A . Use the rendered condition in Visualforce to limit data based on data filtersB . Use filter conditions in a SOQL query to limit data...

May 1, 2022 No Comments READ MORE +

Which use case is an appropriate fit for the ©future asynchronous Apex method? (Choose two.)

Which use case is an appropriate fit for the ©future asynchronous Apex method? (Choose two.)A . A developer has jobs that need larger query results than regular transactions allowB . A developer needs to segregate DML operations and bypass the mixed save DML errorC . A developer has long-running jobs...

May 1, 2022 No Comments READ MORE +

What Visualforce tag can be used to display custom messages in pages using the Salesforce Ul styling for errors, warnings, and other types of messages?

What Visualforce tag can be used to display custom messages in pages using the Salesforce Ul styling for errors, warnings, and other types of messages?A . <apex:customMessage>B . <apex:error>C . <apex:message>D . <apex:pageMessage>View AnswerAnswer: D

April 30, 2022 No Comments READ MORE +

What is a recommended practice with regard to the Apex CPU limit? (Choose two.)

What is a recommended practice with regard to the Apex CPU limit? (Choose two.)A . Optimize SOQL query performanceB . Use Map collections to cache sObjectsC . Avoid nested Apex iterationsD . Reduce view state in Visualforce pagesView AnswerAnswer: B,C

April 30, 2022 No Comments READ MORE +