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...
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...
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...
Invokable methods accept sObjects as parameters.
Invokable methods accept sObjects as parameters.A . TrueB . FalseView AnswerAnswer: B
What will improve performance?
A developer has built a multi-page wizard using a single Custom Controller to query and update data. Users are complaining that the pages are loading slowly. What will improve performance? (Choose three.)A . Reducing the view stateB . Using actionRegion and rerenderC . Turning off the standard stylesheetD . Setting...
If you have a method "doStuff(List<sObject> records)", which is a valid call?
If you have a method "doStuff(List<sObject> records)", which is a valid call?A . doStuff([Select Id From Account]);B . doStuff(List<Account> records);C . doStuff(Account acct);D . doStuff(sObject obj);View AnswerAnswer: A
Choose the correct definition for <apex:actionFunction>.
Choose the correct definition for <apex:actionFunction>.A . Allows for controller methods to be called directly from Javascript. Must be| encapsulated in <apex:form> tags. Unlike actionSupport, these function<apex:actionPoller>s can be called directly from Javascript code B Sends an AJAX request according to the time interval you specify. If this ever gets...
What is the transaction limit on the number of "sendEmail" method calls?
What is the transaction limit on the number of "sendEmail" method calls?A . 20B . 10C . 50D . 100E . There is no limitView AnswerAnswer: B Explanation: The reserveEmailCapacity methods let you declare how many emails you want to send prior to actually sending, allowing you to handle limit...
Which statement is true about using ConnectApi namespace (also called Chatter in Apex)? (Choose two.)
Which statement is true about using ConnectApi namespace (also called Chatter in Apex)? (Choose two.)A . Chatter in Apex methods honor the 'with sharing' and 'without sharing' keywordsB . Chatter in Apex operations are synchronous, and they occur immediatelyC . Chatter in Apex methods do not run in system mode;...
Which of the following variables are not transmitted in the view state? (Choose two.)
Which of the following variables are not transmitted in the view state? (Choose two.)A . PrivateB . TransientC . PublicD . StaticView AnswerAnswer: B,D