Which method of integration should the application use?

A corporation has many different Salesforce orgs, with some different objects and some common objects, and wants to build an application that can create, retrieve, and update common object records in all of the different orgs. Which method of integration should the application use?A . Apex REST Web ServiceB ....

October 29, 2021 No Comments READ MORE +

What would allow Universal Containers to switch vendors without updating the code to handle authentication?

Universal Containers wants to use an external Web Service provided by a third-party vendor to validate that shipping and billing addresses are correct. The current vendor uses basic password authentication, but Universal Containers might switch to a different vendor who uses OAuth. What would allow Universal Containers to switch vendors...

October 29, 2021 No Comments READ MORE +

Which tag should the developer use inside the component?

A developer created a custom component to display an HTML table. The developer wants to be able to use the component on different Visualforce Pages and specify different header text for the table. Which tag should the developer use inside the component?A . <apex:variable>B . <apex:define>C . <apex:param>D . <apex:attribute>View...

October 29, 2021 No Comments READ MORE +

How can the developer accomplish this?

A developer is using a third-party JavaScript library to create a custom user interface in Visualforce. The developer needs to use JavaScript to get data from a controller method in response to a user action. How can the developer accomplish this?A . Use <apex:actionFunction> to create a JavaScript wrapper for...

October 29, 2021 No Comments READ MORE +

When should you use the "transient" property on variables?

When should you use the "transient" property on variables?A . Variables that you want transmitted as part of the view state. Static variables also don't get transmittedB . Variables that you don't want transmitted as part of the view state. Static variables also don't get transmittedC . Static variables that...

October 29, 2021 No Comments READ MORE +

Code must have X% overall code coverage.

Code must have X% overall code coverage.A . X= 100B . X = 75C . X = 65D . X = 50View AnswerAnswer: B

October 28, 2021 No Comments READ MORE +

What is the optimal method for a developer to troubleshoot this?

An Apex trigger creates an Order__c record every time an Opportunity is won by a Sales Rep. Recently the trigger is creating two orders. What is the optimal method for a developer to troubleshoot this?A . Run the Apex Test Classes for the Apex trigger to ensure the code still...

October 28, 2021 No Comments READ MORE +

What Salesforce tool lets you deploy/retrieve metadata, check status of apex jobs, and check responses of REST calls?

What Salesforce tool lets you deploy/retrieve metadata, check status of apex jobs, and check responses of REST calls?A . Force.com Migration ToolB . Developer ConsoleC . WorkbenchD . Streaming APIView AnswerAnswer: C

October 28, 2021 No Comments READ MORE +

What is the most effective approach to ensure values displayed respect the users locale settings?

In an organization that has multi-currency enabled, a developer is tasked with building a Lighting Component that displays the top ten Opportunities most recently access by the logged in user. The developer must ensure the Amount and LastModifiedDate field values are displayed according to the user's locale. What is the...

October 28, 2021 No Comments READ MORE +

Which assertion would be used in a negative test case?

A developer is writing unit tests for the following method: Which assertion would be used in a negative test case?A . System.assertEquals(true, isFreezing(null))B . System.assertEquals (true, isFreezing('O')C . System.assertEquals(null, isFreezing('asdf))D . System.assertEquals(true, isFreezingClOO'))View AnswerAnswer: C

October 28, 2021 No Comments READ MORE +