<< Prev Question Next Question >>

Question 35/79

A developer wants to get access to the standard price book in the org while writing a test class that covers an OpportunitylLineltem trigger.
Which method allows access to the price book?

LEAVE A REPLY

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

Question List (79q)
Question 1: Which Lightning Web Component custom event property settings...
1 commentQuestion 2: Cloud Kicks has a multi-screen flow that its call center age...
Question 3: How is a controller and extension specified for a custom obj...
Question 4: Which statement should be used to allow some of the records ...
1 commentQuestion 5: Consider the following code snippet for a Visualforce page t...
Question 6: A developer creates a batch Apex job to update a large numbe...
2 commentQuestion 7: A developer wants to send an outbound message when a record ...
Question 8: A Primaryid__c custom field exists on the candidate_ c custo...
Question 9: A developer has a Visualforce page and custom controller to ...
Question 10: A developer needs to implement a custom SOAP Web Service tha...
Question 11: Universal Containers wants to assess the advantages of decla...
Question 12: A developer must perform a complex SOQL query that joins two...
Question 13: Universal Containers is building a recruiting app with an Ap...
Question 14: A company decides to implement a new process where every tim...
Question 15: Which annotation should a developer use on an Apex method to...
Question 16: A Next Best Action strategy uses an Enhance element that inv...
Question 17: What Is the result of the following code? (Exhibit)...
Question 18: Assuming that name is a String obtained by an &lt;apex:inpuc...
Question 19: Universal Containers implemented a private sharing model for...
1 commentQuestion 20: Which two settings must be defined in order to update a reco...
Question 21: A lead developer creates an Apex interface called Laptop. Co...
Question 22: Universal Containers wants a list button to display a Visual...
2 commentQuestion 23: Which scenario is valid for execution by unit tests?...
Question 24: developer must provide custom user interfaces when users edi...
Question 25: While writing an Apex class, a developer wants to make sure ...
Question 26: Universal Containers wants to automatically assign new cases...
2 commentQuestion 27: How many Accounts will be inserted by the following block of...
Question 28: A developer is creating an app that contains multiple Lightn...
Question 29: Universal Containers decides to use exclusively declarative ...
Question 30: A developer must troubleshoot to pinpoint the causes of perf...
Question 31: While working in a sandbox, an Apex test fails when run in t...
Question 32: A developer has an integer variable called maxattempts. The ...
Question 33: A developer creates a custom exception as shown below: publi...
Question 34: A custom Visualforce controller calls the apexPages.addMessa...
Question 35: A developer wants to get access to the standard price book i...
Question 36: What are two benefits of using declarative customizations ov...
Question 37: Which two actions may cause triggers to fire? Choose 2 answe...
Question 38: What should a developer use to obtain the Id and Name of all...
Question 39: Which code in a Visualforce page and/or controller might pre...
Question 40: What are three characteristics of change set deployments? Ch...
Question 41: What are two benefits of using External IDs? Choose 2 answer...
2 commentQuestion 42: A developer considers the following snippet of code: (Exhibi...
Question 43: A developer wrote Apex code that calls out to an external sy...
Question 44: Which three Salesforce resources can be accessed from a Ligh...
Question 45: Universal Containers needs to create a custom user interface...
1 commentQuestion 46: A developer needs to allow users to complete a form on an Ac...
Question 47: A business has a proprietary Order Management System (QMS) t...
Question 48: Which two statements are true about using the @testSetup ann...
Question 49: A developer is alerted to an Issue with a custom Apex trigge...
Question 50: A developer must create a DrawList class that provides capab...
Question 51: A custom picklist field, Food _Preference_ c, exists on a cu...
2 commentQuestion 52: Universal Containers wants to ensure that all new leads crea...
Question 53: What should a developer use to fix a Lightning web component...
Question 54: Which exception type cannot be caught?...
Question 55: A credit card company needs to implement the functionality f...
Question 56: What should a developer use to script the deployment and uni...
Question 57: A developer Is designing a new application on the Salesforce...
Question 58: What are three ways for a developer to execute tests in an o...
Question 59: Which two are phases in the Aura application event propagati...
Question 60: What is an example of a polymorphic lookup field in Salesfor...
Question 61: A developer needs to create a baseline set of data (Accounts...
Question 62: team of developers is working on a source-driven project tha...
Question 63: The Job_application_ c custom object has a field that is a m...
Question 64: The following code snippet is executed by a Lightning web co...
Question 65: In terms of the MVC paradigm, what are two advantages of imp...
Question 66: A custom object Trainer_ &lt; has a lookup field to another ...
Question 67: A developer needs to prevent the creation of Request__c reco...
Question 68: A development team wants to use a deployment script to autom...
Question 69: Which code displays the contents of a Visualforce page as a ...
Question 70: What are two considerations for deploying from a sandbox to ...
Question 71: Which two operations affect the number of times a trigger ca...
Question 72: A developer created a trigger on the Account object and want...
Question 73: A developer deployed a trigger to update the status__c of As...
Question 74: An org has an existing flow that edits an Opportunity with a...
Question 75: A developer must implement a checkpaymentpbrocaessox class t...
Question 76: A developer needs to have records with specific field values...
1 commentQuestion 77: A developer must create a Lightning component that allows us...
Question 78: What are two ways a developer can get the status of an enque...
Question 79: A developer created a custom order management app that uses ...