<< Prev Question Next Question >>

Question 38/66

A developer must create an Apex class, contactcontroller, that a Lightning component can use to search for Contact records. User of the Lightning component should only be able to search Contact records to which they have access. Which two will restrict the records correctly?

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (66q)
1 commentQuestion 1: what are the methods used to show input in classic and light...
3 commentQuestion 2: A recursive transaction is limited by a DML statement creati...
1 commentQuestion 3: A developer needs to prevent the creation of request records...
Question 4: Which standard field is required when creating a newcontact ...
2 commentQuestion 5: Which two events need to happen when deploying to a producti...
5 commentQuestion 6: When importing and exporting data into Salesforce, whichtwo ...
3 commentQuestion 7: A developer needs to create a custom Interface in Apex. Whic...
1 commentQuestion 8: Which three resources in an Azure Component can contain Java...
Question 9: A Lightning component has a wired property, searchResults, t...
Question 10: While writing a test class that coversan OpportunityLineItem...
Question 11: Universal Containers (UC) uses a custom object called Vendor...
Question 12: A Salesforce developer wants to review their code changesimm...
Question 13: Where are two locations a developer can look to find informa...
Question 14: A developer has a single custom controller class that works ...
Question 15: What are two ways for a developer to execute tests in an org...
Question 16: Universal Containers has an order system that uses an Order ...
Question 17: What should be used to create scratch orgs?...
1 commentQuestion 18: Which two are phases in the Salesforce Application Event pro...
Question 19: A developer must create a CreditcardPayment class that provi...
Question 20: Which code displays the content of Visualforce page as PDF?...
Question 21: A developer is creating a test coveragefor a class and needs...
Question 22: When using SalesforceDX, what does a developer need to enabl...
Question 23: Which two operations can be performed using a formula field?...
Question 24: What are two characteristics related to formulas? Choose 2 a...
Question 25: A team of many developers work in their own individual orgs ...
3 commentQuestion 26: A developer needs to create a custom button for the Account ...
Question 27: In the following example, which sharing context will myMetho...
Question 28: What is an example of a polymorphic lookup field in Salesfor...
1 commentQuestion 29: Which two statements are true about using the @testSetup ann...
2 commentQuestion 30: Universal Containers decides to use exclusively declarative ...
Question 31: What are three ways for a developer to execute tests in an o...
Question 32: A developer needs to create a baseline set of data (Accounts...
Question 33: A developer uses a loop to check eachContact in a list. When...
Question 34: Which three operations affect the number of times a trigger ...
Question 35: Universal Containers stores the availability date on each Li...
5 commentQuestion 36: Refer to the following code snippet for an environment has m...
1 commentQuestion 37: What can used to delete components from production?...
Question 38: A developer must create an Apex class,contactcontroller, tha...
Question 39: Given the following Apex statement: Account myAccount = [SEL...
Question 40: A Next Best Action strategy uses an Enhance Element that inv...
1 commentQuestion 41: A developer wants to invoke on outbound message when a recor...
Question 42: A developer needs to confirm that a Contact trigger works co...
Question 43: Which exception type cannot be caught ?...
Question 44: A developer is asked to create a Visualforce page that displ...
Question 45: A developer wants to mark eachAccount in a List&lt;Account&g...
Question 46: An Approval Process is defined in the Expense_Item__c. A bus...
Question 47: A developer has an integer variable called maxAttempts. The ...
Question 48: Which three process automations can immediately send an emai...
Question 49: Which three web technologies can be integrated into a Visual...
Question 50: A developer considers the following snippet of code: (Exhibi...
2 commentQuestion 51: Given the following trigger implementation: trigger leadTrig...
Question 52: Which three code lines are required to create a Lightning co...
Question 53: Refer to the following code that runs in an Execute Anonymou...
Question 54: A developer iscreating a page that allows users to create mu...
Question 55: A developer created a Visualforce page and custom controller...
Question 56: Universal Containers wants a list button to display a Visual...
1 commentQuestion 57: Which scenario is valid for execution by unit tests?...
1 commentQuestion 58: A developer must implement a CheckPaymentProcessor class tha...
Question 59: Which Salesforce feature allows a developer to see when a us...
Question 60: Assuming that 'name; is a String obtained by an &lt;apex:inp...
Question 61: What are three considerations when usingthe @InvocableMethod...
Question 62: which statement is true regarding execution order when trigg...
Question 63: A developer must modify the following code snippet to preven...
Question 64: A workflow updates the value of a custom field for an existi...
Question 65: Cloud Kicks Fitness, an ISV Salesforce partner, is developin...
Question 66: What are two ways that a controller and extension can be spe...