What is the transaction limit for the number of records for SOSL?

What is the transaction limit for the number of records for SOSL?A . 20B . 2,000C . 100 (synchronous), 200 (async)D . 200 (synchronous), 100 (async)E . There is no limitView AnswerAnswer: B

April 23, 2022 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...

April 23, 2022 No Comments READ MORE +

After a Platform Event is defined in a Salesforce org, events can be published via which two mechanisms? Choose 2 answers

After a Platform Event is defined in a Salesforce org, events can be published via which two mechanisms? Choose 2 answersA . internal Apps can use Outbound MessagesB . Internal Apps can use Process Builder.C . External Apps require a custom Apex web service.D . External Apps can use the...

April 23, 2022 No Comments READ MORE +

What will happen when a user clicks the command button?

A developer has a page with two extensions overriding the Standard controller for Case. What will happen when a user clicks the command button?A . All of the three Save methods will be executedB . Save from Case Standard Controller will be executedC . Save from CaseExtensionTwo will be executedD...

April 22, 2022 No Comments READ MORE +

What code should the developer use to authenticate?

A developer has generated Apex code from a WSDL for an external web service. The web service requires Basic authentication. What code should the developer use to authenticate?A . Http.setHeader ('Authorization' , 'Basic QthZGprjpchVulHNchFtZQ!)B . stub.inputHttpHeaders_x.put('Authorization' , 'Basic QthZGprJpchVulHNchFtZQ')C . Http.setAuthentication('Basic QthZGprjpchVulHNchFtZQ')D . stub.authentication.put ('Authorization','Basic QthZGprjpchVulHNchFtZQ')View AnswerAnswer: B

April 22, 2022 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

April 22, 2022 No Comments READ MORE +

In which of the following scenarios would it be acceptable to use programmatic sharing instead of declarative sharing? (Choose three.)

In which of the following scenarios would it be acceptable to use programmatic sharing instead of declarative sharing? (Choose three.)A . Every record created by sales users needs to be visible to their respective managerB . Poor performance when using native sharing componentsC . Team functionality is required on custom...

April 22, 2022 No Comments READ MORE +

What is the optimal code that should be added to fire the event when the search has completed?

A company has a custom component that allows users to search for records of a certain object type by invoking an Apex Controller that returns a list of results based on the user's input, when the search Is completed, a searchComplete event is fired, with the results put in a...

April 22, 2022 No Comments READ MORE +

What might be causing the failed assertion?

A developer wrote a trigger on Opportunity that will update a custom Last Sold Date field on the Opportunity's Account whenever an Opportunity is dosed. In the test class for the trigger, the assertion to validate the Last Sold Date field fails. What might be causing the failed assertion?A ....

April 22, 2022 No Comments READ MORE +

What is the optimal way to automate this?

A company has reference data stored in multiple Custom Metadata records that represent default information for certain. When a Contact is inserted, the default information should be set on the Contact from the Custom Metadata records .. Address information. What is the optimal way to automate this?A . Process BuilderB...

April 22, 2022 No Comments READ MORE +