Which change should the developer make to ensure the integration is not affected with minimal impact to business logic?

A developer created a new trigger that inserts a Task when a new Lead is created. After deploying to production, an outside integration is periodically reporting errors. Which change should the developer make to ensure the integration is not affected with minimal impact to business logic?A . Use a Try/Catch...

November 5, 2021 No Comments READ MORE +

Which type of controller is best suited when you want all of the basic DML functions from an object's normal new/edit page and want to include multiple records?

Which type of controller is best suited when you want all of the basic DML functions from an object's normal new/edit page and want to include multiple records?A . Standard ControllerB . Standard List/Set ControllerC . Controller ExtensionsD . Custom ControllerView AnswerAnswer: B

November 5, 2021 No Comments READ MORE +

The REST API___________.

The REST API___________.A . Is based on REST principles and is optimized for loading or deleting large sets of data. You can use it to query, queryAII, insert, update, upsert, or delete many records asynchronously by submitting batchesB . Provides a powerful, convenient, and simple REST-based web services interface for...

November 5, 2021 No Comments READ MORE +

What are three actions to enable this functionality?

A developer is creating unit tests for code that makes SOAP web service callouts. The developer needs to insert some test data as a part of the unit tests setup. What are three actions to enable this functionality? (Choose three.)A . Surround the callout with TeststartTest(), Test.stopTest()B . Surround the...

November 4, 2021 No Comments READ MORE +

What is a valid request for the following REST method? (Choose two.)

What is a valid request for the following REST method? (Choose two.) @HttpPost global static void myPostMethod(String si, Integer il, Boolean bl, String 52)A . <request> <sl>my first string</sl> <ll>123</il> <32>my second string</32> <bl>false</bl> </request>B . <request> <sl>"my first string"</sl> <il>123</il> <sZ>!,my second string"</32> <bl>false</bl> </request>C . si" : "my...

November 4, 2021 No Comments READ MORE +

What can a developer to do address the issue?

A company notices that their unit tests in a test class with many methods to create many records for prerequisite reference data are slow. What can a developer to do address the issue?A . Move the prerequisite reference data setup to a TestDataFactory and call that from each test method.B...

November 4, 2021 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...

November 4, 2021 No Comments READ MORE +

What is the optimal solution for UC Loans to accomplish this?

UC Loans is a small company with a part time Salesforce administrator. UC Loans wants to create a Loan__c record whenever an Opportunity is won. What is the optimal solution for UC Loans to accomplish this?A . Quick ActionB . Apex TriggerC . Process BuilderD . Workflow RuleView AnswerAnswer: C

November 4, 2021 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...

November 4, 2021 No Comments READ MORE +

What change In the controller will fix the error?

A Visualforce Page throws an Attempt to dereference a null object error for a Contact. What change In the controller will fix the error?A . Declare a static final Contact at the top of the controller.B . Change the setters signature to return a Contact.C . Use a condition in...

November 3, 2021 No Comments READ MORE +