What is a benefit of JavaScript remoting over Visualforce Remote Objects?
What is a benefit of JavaScript remoting over Visualforce Remote Objects?A . Supports complex server-side application logicB . Does not require any JavaScript codeC . Does not require any Apex codeD . Allows for specified re-render targetsView AnswerAnswer: A
Which feature should be used to implement these requirements?
A developer needs to send Account records to an external system for backup purposes. The process must take a snapshot of Accounts as they are saved and then make a callout to a RESTful web service. The web service can only receive, at most, one record per call. Which feature...
What is the optimal way to store and retrieve the list?
A managed package uses a list of country ISO codes and country names as references data in many different places.. managed package Apex code. What is the optimal way to store and retrieve the list?A . Store the information in Custom Metadata and query it with SOQC . Store the...
In what order do the following operations execute?
Roll-up summary calculations In what order do the following operations execute?A . 1,2,5,6,4,3B . 1,5,6,2,4,3C . 1,2,4,5,6,3D . 1,6,5,2,4,3View AnswerAnswer: A
Which solution solves these requirements?
Universal Containers wants to use a Customer Community with Customer Community Plus licenses so their customers can track how many of containers they are renting and when they are due back. Many of their customers are global companies with complex Account hierarchies, representing various departments within the same organization. One...
Which two statements are true regarding these issues and resolution?
A large company uses Salesforce across several departments. Each department has its own Salesforce Administrator. It was agreed that each Administrator would have their own sandbox in which to test changes. Recently, users notice that fields that were recently added for one department suddenly disappear without warning. Also, Workflows that...
Which statement is true regarding the use of user input as part of a dynamic SOQL query?
Which statement is true regarding the use of user input as part of a dynamic SOQL query?A . Free text input should not be allowed, to avoid SOQL injectionB . The String.format() method should be used to prevent injectionC . Quotes should be escaped to protect against SOQL injectionD ....
What is the optimal way to fix this?
@isTest static void testAccountUpdate() { Account acct = new Account({Name = 'Test'); acct.Integration Updated_c = false; insert acct; CalloutUtil.sendAccountUpdate (acct.Id); Account acctAfter = [SELECT Id, Integration Updated_c FROM Account WHERE Id = :acct.Id] [0]; System.assert(true, acctAfter.Integration_Updated_c); } The test method above calls a web service that updates an external system...
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
What is the optimal way to automate this?
A company has a custom object, Sales Demo Request, that has a lookup to an Opportunity. It is required that a Sales Demo Request record be created when an Opportunity's Probability is greater than 50%. What is the optimal way to automate this?A . Build a Flow on Opportunity.B ....