What is the transaction limit for the number of records for SOSL?

What is the transaction limit for the number of records for SOSL?A . 20B . 2,000C . 100 (synchronous), 200 (async)D . 200 (synchronous), 100 (async)E . There is no limitView AnswerAnswer: B

October 28, 2021 No Comments READ MORE +

How would you test a web service?

How would you test a web service?A . Use the @future annotation on the methodB . Call the WebService interfaceC . Web Services do not need to be testedD . Create a class that implements the WebServiceMock interfaceView AnswerAnswer: D

October 27, 2021 No Comments READ MORE +

What is the optimal way for a developer to get the total number of Opportunities for the Lightning Component?

Part of a custom Lightning Component displays the total number of Opportunities in the org, which is in the millions. The Lightning Component uses an Apex Controller to get the data it needs. What is the optimal way for a developer to get the total number of Opportunities for the...

October 27, 2021 No Comments READ MORE +

What should be done to address the problem?

A company has code to update a Request and Request Lines and make a callout to their external ERP system's REST endpoint with the updated records. The CalloutUtil. makeRestCallout fails with a 'You have uncommitted work pending. Please commit or rollback before calling out' error. What should be done to...

October 27, 2021 No Comments READ MORE +

What should a developer do to fix the problem?

A developer wrote a test class that successfully asserts a trigger on Account. It fires and updates data correctly in a sandbox environment. A salesforce admin with a custom profile attempts to deploy this trigger via a change set into the production environment, but the test class fails with an...

October 27, 2021 No Comments READ MORE +

Choose the correct definition for <apex:pageMessage>.

Choose the correct definition for <apex:pageMessage>.A . Standard Salesforce formatting, throws a specific message on a pageB . Standard Salesforce formatting, shows all errors that occur on page. Can add more messages through the "ApexPages.addMessage" functionC . A single message, without formatting, that can be associated with a specific component...

October 27, 2021 No Comments READ MORE +

What is the correct syntax to declare a remote method in Apex?

A developer has created a Visualforce page that uses a third-party JavaScript framework. The developer has decided to supply data to the JavaScript functions using JavaScript Remoting for Apex Controllers. What is the correct syntax to declare a remote method in Apex? (Choose two.)A . @RemoteAction global static String getTable()B...

October 27, 2021 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...

October 27, 2021 No Comments READ MORE +

How should a developer implement the callouts?

A Visualforce page needs to make a callout to get biding information and tax information from two different REST endpoints. The information needs to be Displayed to the user at the same time and the return value of the billing information contains the input for the tax information callout. Each...

October 27, 2021 No Comments READ MORE +

Invokable methods accept sObjects as parameters.

Invokable methods accept sObjects as parameters.A . TrueB . FalseView AnswerAnswer: B

October 27, 2021 No Comments READ MORE +