What is the transaction limit for the number of records per DML statement?

What is the transaction limit for the number of records per DML statement?A . 5,000B . 20,000C . 50,000D . 10,000E . There is no limitView AnswerAnswer: D

May 4, 2022 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...

May 4, 2022 No Comments READ MORE +

During the order of execution of a Visualforce page GET request, what happens after this step? Evaluate constructors on controllers and extensions

During the order of execution of a Visualforce page GET request, what happens after this step? Evaluate constructors on controllers and extensionsA . Evaluate constructors and expressions on custom componentsB . Create view state if <apex: form> existsC . Send the HTML response to the browserD . Evaluate expressions, action...

May 3, 2022 No Comments READ MORE +

Which method should be used to convert a Date to a String in the current user's locale?

Which method should be used to convert a Date to a String in the current user's locale?A . Date.formatB . Date.parseC . String.formatD . String. valueOfView AnswerAnswer: D

May 3, 2022 No Comments READ MORE +

What are three recommendations to optimize page performance?

A customer has a single Visualforce page that allows each user to input up to 1500 sales forecasts and instantly view pivoted forecast calculations. Users are complaining that the page is loading slowly, and they are seeing error messages regarding heap and view state limits. What are three recommendations to...

May 3, 2022 No Comments READ MORE +

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: Reference: The reserveEmailCapacity methods let you declare how many emails you want to send prior to actually sending, allowing you to handle...

May 3, 2022 No Comments READ MORE +

A developer created three Rollup Summary fields: Total_timesheets_c,

A developer created three Rollup Summary fields: Total_timesheets_c, Total_Approved_timesheet_c and Total_project_Timesheet_c in the custom object, project _c Now, the developer is tasked with created a new field to show the ratio between and approvedA . No test methods will be executed during deployment.B . A test class that validates the...

May 3, 2022 No Comments READ MORE +

What is the correct order of execution for Visualforce Page "postback" requests (when user interaction requires a page update)?

What is the correct order of execution for Visualforce Page "postback" requests (when user interaction requires a page update)?A . 1) Decode View State 2) Evaluate expressions and method calls for the main page and custom components 3) Upon successful completion, Evaluate the action that triggered the postback 4) Upon...

May 2, 2022 No Comments READ MORE +

Which step should be taken to resolve the issue?

A developer receives the exception 'SOQL query not selective enough' when performing a query on an object with a large amount of data . Which step should be taken to resolve the issue?A . Use an ID in the WHERE clause of the SOQL query.B . Perform the SOQL query...

May 2, 2022 No Comments READ MORE +

Which is the optimal method to implement this in Salesforce?

A company has a native iOS app for placing orders that needs to connect to Salesforce to retrieve consolidated information from many different objects in a JSON format . Which is the optimal method to implement this in Salesforce?A . Apex SOAP CalloutB . Apex REST CalloutC . Apex SOAP...

May 2, 2022 No Comments READ MORE +