<< Prev Question Next Question >>

Question 32/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)
Question 1: A developer is asked to create a Visualforce page that displ...
Question 2: An org tracks customer orders on an Order object and the ite...
1 commentQuestion 3: When using SalesforceDX, what does a developer need to enabl...
Question 4: In the following example, which sharing context will myMetho...
1 commentQuestion 5: A developer observes that an Apex test method fails in the S...
Question 6: What are two characteristics related to formulas? Choose 2 a...
2 commentQuestion 7: A developer must create a lightning component that allows us...
Question 8: If apex code executes inside the execute() method of an Apex...
Question 9: A development team wants to use a deployment script lo autom...
5 commentQuestion 10: A developer considers the following snippet of code: (Exhibi...
Question 11: What are three techniques that a developer can use to invoke...
4 commentQuestion 12: What are two ways a developer can get the status of an enque...
Question 13: Which Apex class contains methods to return the amount of re...
Question 14: A developer needs an Apex method that can process Account or...
Question 15: A developer must create a ShippingCalculator class that cann...
Question 16: A developer needs to join data received from an integration ...
Question 17: A developer is asked to create a Visualforce page for Opport...
Question 18: Which three statements are true regarding trace flags? (Choo...
Question 19: A developer has a Visualforce page and custom controller to ...
Question 20: Which action causes a before trigger to fire by default for ...
Question 21: What is the result of the following code snippet?...
Question 22: A developer is creating a page that allows users to create m...
2 commentQuestion 23: A developer must modify the following code snippet to preven...
Question 24: What is the order of operations when a record is saved in Sa...
Question 25: A developer is implementing an Apex class for a financial sy...
Question 26: Which three operations affect the number of times a trigger ...
1 commentQuestion 27: A developer has the following requirements: Calculate the to...
1 commentQuestion 28: Which two statements are true about using the @testSetup ann...
Question 29: A developer uses a loop to check each Contact in a list. Whe...
Question 30: A developer wants to retrieve the Contacts and Users with th...
Question 31: What is the value of the Trigger.old context variable in a B...
Question 32: A developer must create an Apex class, contactcontroller, th...
Question 33: What will be the output in the debug log in the event of a Q...
Question 34: A Lightning component has a wired property, searchResults, t...
Question 35: Which two are best practices when it comes to component and ...
Question 36: A workflow updates the value of a custom field for an existi...
Question 37: Which three web technologies can be integrated into a Visual...
Question 38: Which three data types can a SOQL query return? Choose 3 ans...
3 commentQuestion 39: Which two statements are accurate regarding Apex classes and...
Question 40: A developer wrote Apex code that calls out to an external sy...
Question 41: A developer has a VF page and custom controller to save Acco...
Question 42: developer created this Apex trigger that calls MyClass .mySt...
Question 43: In terms of the MVC paradigm, what are two advantages of imp...
3 commentQuestion 44: A developer needs to create a custom button for the Account ...
Question 45: A developer must write an Apex method that will be called fr...
1 commentQuestion 46: A team of developers is working on a source-driven project t...
Question 47: The values 'High', 'Medium', and 'Low' are Identified as com...
Question 48: How should a custom user interface be provided when a user e...
Question 49: A developer is creating a test coverage for a class and need...
Question 50: Which aspect of Apex programming is limited due to multitena...
Question 51: A developer needs to create a baseline set of data (Accounts...
5 commentQuestion 52: A developer needs to create a custom Interface in Apex. Whic...
Question 53: A developer wants to invoke on outbound message when a recor...
Question 54: What is the maximum number of SOQL queries used by the follo...
Question 55: While writing a test class that covers an OpportunityLineIte...
Question 56: Which two types of process automation can be used to calcula...
Question 57: Which statement is true about developing in a multi-tenant e...
Question 58: How many accounts will be inserted by the following block of...
2 commentQuestion 59: A Visual Flow uses an apex Action to provide additional info...
3 commentQuestion 60: A developer creates a new Apex trigger with a helper class, ...
3 commentQuestion 61: Which two are phases in the Salesforce Application Event pro...
2 commentQuestion 62: Which two statements are true about Getter and Setter method...
4 commentQuestion 63: A developer writes a trigger on the Account object on the be...
Question 64: What are two ways for a developer to execute tests in an org...
Question 65: Which code displays the content of Visualforce page as PDF?...
3 commentQuestion 66: Given the following code snippet, that is part of a custom c...