What is the correct definition of a Lighting Web component property that uses the getAccounts method?

An Apex method, getAccounts, that returns a List of Accounts given a search Term, is available for Lighting Web components to use. What is the correct definition of a Lighting Web component property that uses the getAccounts method?A . @AuraEnabled(getAccounts, ‘$searchTerm’) accountList;B . @wire(getAccounts, ‘$searchTerm’) accountList;C . @AuraEnabled(getAccounts, {searchTerm: ‘$searchTerm’})...

June 16, 2022 No Comments READ MORE +

What are two benefits of choosing a formula held instead of an Apex trigger to fulfill the request?

A develop created these three roll-up summary fields on the custom object. Project_c: The developer is asked to create a new field that should the ratio between rejected and approved timesheet for a given project. What are two benefits of choosing a formula held instead of an Apex trigger to...

June 16, 2022 No Comments READ MORE +

How should a developer write the test to provide test coverage?

A developer wrote Apex code that calls out to an external system. How should a developer write the test to provide test coverage?A . Write a class that extends HTTPCalloutMock.B . Write a class that implements the HTTPCalloutMock interface.C . Write a class that implements the WebserviceMock interface.D . Write...

June 16, 2022 No Comments READ MORE +

Get Cloudy Consulting (GCC) has a multitude of servers that host its customers’ websites. GCC wants to provide a servers status page that is always on display in its call center. It should update in real time with any changes made to any servers. To accommodate this on the server side, a developer created a server Update platform event.

Get Cloudy Consulting (GCC) has a multitude of servers that host its customers’ websites. GCC wants to provide a servers status page that is always on display in its call center. It should update in real time with any changes made to any servers. To accommodate this on the server...

June 15, 2022 No Comments READ MORE +

Which is the correct definition of the Apex method that gets additional information?

A Visual Flow uses an apex Action to provide additional information about multiple Contacts, stored in a custom class, contactInfo. Which is the correct definition of the Apex method that gets additional information?A . @InvocableMethod(label='Additional Info') public List<ContactInfo> getInfo(List<Id> contactIds) { /*implementation*/ }B . @InvocableMethod(label='additional Info') public static ContactInfo getInfo(Id...

June 15, 2022 No Comments READ MORE +

Which two settings must be defined in order to update a record of a junction object? Choose 2 answers

Which two settings must be defined in order to update a record of a junction object? Choose 2 answersA . Read access on the primary relationshipB . Read/Write access on the secondary relationshipC . Read/Write access on the primary relationshipD . Read/Write access on the junction objectView AnswerAnswer: B,C

June 15, 2022 1 Comment READ MORE +

Universal Containers has an order system that uses an Order Number to identify an order for customers and service agents. Order will be imported into Salesforce.

Universal Containers has an order system that uses an Order Number to identify an order for customers and service agents. Order will be imported into Salesforce.A . LookupB . Direct LookupC . Number with External IDD . Indirect LookupView AnswerAnswer: C

June 15, 2022 No Comments READ MORE +

Which is the correct implementation?

A developer must create a DrawList class that provides capabilities defined in the Sortable and Drawable interfaces. public interface Sortable { void sort(); } public interface Drawable { void draw(); } Which is the correct implementation?A . Public class DrawList implements Sortable, Implements Drawable { public void sort() { /*implementation*/}...

June 14, 2022 No Comments READ MORE +

Which component should be added to the Visualforce page to display the message?

A custom Visualforce controller calls the ApexPages,addMessage () method, but no messages are rendering on the page. Which component should be added to the Visualforce page to display the message?A . <apex: pageMessages />B . <apex: pageMessage severity=”info’’/>C . <Apex: facet name=’’ message’’/>D . <Apex: message for=’’ info’’/>View AnswerAnswer: B

June 14, 2022 No Comments READ MORE +

Since Aura application events follow the traditional publish-subscribe model, which method is used to fire an event?

Since Aura application events follow the traditional publish-subscribe model, which method is used to fire an event?A . ernit()B . fireEvent()C . fire()D . registerEvent()View AnswerAnswer: C

June 14, 2022 No Comments READ MORE +