Which method allows access to the price book?
A developer wants to get access to the standard price book in the org while writing a test class that covers an OpportunityLineItem trigger. Which method allows access to the price book?A . Use Test.loadData ( )and a static resource to load a standard price book B. Use @TestVisible to...
Assuming that naze is 8 String obtained by an <apex:inpotText> tag on 8 Visualforce page, which two SOQL queries performed are safe from SOQL injection? Choose 2 answers
Assuming that naze is 8 String obtained by an <apex:inpotText> tag on 8 Visualforce page, which two SOQL queries performed are safe from SOQL injection? Choose 2 answers A) B) C) D) A . Option A B. Option B C. Option C D. Option DView AnswerAnswer: C,D
What are three capabilities of the <ltng : require> tag when loading JavaScript resources in Aura components? Choose 3 answers
What are three capabilities of the <ltng : require> tag when loading JavaScript resources in Aura components? Choose 3 answersA . Loading files from Documents B. One-time loading for duplicate scripts C. Specifying loading order D. Loading scripts In parallel E. Loading externally hosted scriptsView AnswerAnswer: B,C,D
What happens wtier the developer tries to deploy the ... and two classes to production, assuming no other code exists?
A developer created this Apex trigger that calls MyClass,myStartmethod: The developer creates a test method that calls MyClase,myStartmethod directly, resulting in 81% overall code coverage. What happens wtier the developer tries to deploy the ... and two classes to production, assuming no other code exists?A . The deployment fails because...
Which two should a developer implement to satisfy the requirements?
Uniersal Containers (UC) is developing a process for their sales teams that requires all sales reps to go through a set of scripted steps with each new customer they create. In the first steps of collecting information, UC’s ERP system must be checked via as a REST endpoint to see...
Which three operations affect the number of times a trigger can fire?
Which three operations affect the number of times a trigger can fire? Choose 3 answersA . Process Flows B. Workflow Rules C. Criteria-based Sharing calculations D. Email messages E. Roll-Up Summary fieldsView AnswerAnswer: A,B,E
Which two techniques should the developer implement as a best practice to ensure transaction control and avoid exceeding governor limits?
A developer has identified a method in an Apex class that performs resource intensive actions in memory by iterating over the result set of a SOQL statement on the account. The method also performs a DML statement to save the changes to the datadase. Which two techniques should the developer...
Which annotation should the developer add to the Apex method to achieve this?
A developer wrote an Apex method to update a list of Contacts and wants to make it available for use by Lightning web components. Which annotation should the developer add to the Apex method to achieve this? A) B) C) D) A . Option B. Option C. Option D. OptionView...
What should a developer Implement to support these requirements?
Universal Containers has a support process that allows users to request support from its engineering team using a custom object, Engineering_Support__c. Users should be able to associate multiple engineering_Support__c records to a single Opportunity record. Additionally, aggregate Information about the Engineering_support__c records should be shown on the Opportunity record. What...
which statement is true regarding execution order when triggers are associated to the same object and event?
which statement is true regarding execution order when triggers are associated to the same object and event?A . Trigger execution order cannot be guaranteed. B. executed In the order they are modified. C. Triggers are executed alphabetically by trigger name. D. Triggers are executed in the order they are created.View...