Which code snippet will assert that the remote action returned the correct Account?

Consider the Apex class above that defines a RemoteAction used on a Visualforce search page. Global with sharing class MyRemoter { public String accountName { get; set; } public static Account account { get; set; } public AccountRemoter(} {} @RemoteAction global static Account getAccount (String acccuntName) { account = [SELECT...

March 25, 2021 No Comments READ MORE +

What should the developer use to ensure error messages are properly displayed?

Users report that a button on a custom Lightning Web Component is not working. However, there are no other details provided. What should the developer use to ensure error messages are properly displayed?A . Add the <apex:messages/> tag to the component.B . Use the Database method with allOrNone set to...

March 24, 2021 1 Comment 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...

March 24, 2021 No Comments READ MORE +

What is the transaction limit on the number of Apex jobs added to the queue?

What is the transaction limit on the number of Apex jobs added to the queue?A . 100B . 150C . 50D . 200E . There is no limitView AnswerAnswer: C

March 24, 2021 No Comments READ MORE +

What modification is necessary on the Salesforce side?

A company exposes a REST web service and wants to establish two-way SSL between Salesforce and the REST web service. A certificate signed by an appropriate certificate authority has been provided to the developer. What modification is necessary on the Salesforce side? (Choose two.)A . Create an entry for the...

March 24, 2021 No Comments READ MORE +

Which options are valid?

The progress of an apex job queued is using the System.enqueueJob method and needs to be monitored. Which options are valid? (Choose two.)A . Use the Apex Jobs page in setupB . Query the Queueable Apex recordC . Query the AsyncApexJob recordD . Use the Scheduled Jobs page in setupView...

March 23, 2021 No Comments READ MORE +

REST uses___________.

REST uses___________.A . The HTTP classB . The HTTPRequest classC . The HTTPResponse classD . All of the aboveView AnswerAnswer: D

March 23, 2021 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...

March 23, 2021 No Comments READ MORE +

Which two queries are optimized for large data volumes?

Consider the following queries. For these queries, assume that there are more than 200,000 Account records. These records include soft-deleted records; that is, deleted records that are still in the Recycle Bin. Note that there are two fields that are marked as External Id on the Account. These fields are...

March 22, 2021 No Comments READ MORE +

Which statement is true regarding both Flow and Lightning Process? (Choose two.)

Which statement is true regarding both Flow and Lightning Process? (Choose two.)A . Can use Apex methods with the @lnvocableMethod annotationB . Are both server-side considerations in the Order of ExecutionC . Can use Apex that implements the Process.Plugin interfaceD . Are able to be embedded directly into Visualforce pagesView...

March 22, 2021 No Comments READ MORE +