What are two benefits of the Lightning Component framework? (Choose two.)
What are two benefits of the Lightning Component framework? (Choose two.)A . It simplifies complexity when building pages, but not applications.B . It provides an event-driven architecture for better decoupling between components.C . It promotes faster development using out-of-box components that are suitable for desktop and mobile devices.D . It...
How should the Developer overcome this problem?
While writing a test class that covers an OpportunityLineItem trigger, a Developer is unable to create a standard PriceBook since one already exists in the org. How should the Developer overcome this problem?A . Use Test.getStandardPricebookId() to get the standard PriceBook IC . Use @IsTest(SeeAllData=true) and delete the existing standard...
What is the result of running this Apex?
An org has a single account named ‘NoContacts’ that has no related contacts. Given the query: List<Account> accounts = [Select ID, (Select ID, Name from Contacts) from Account where Name=‘NoContacts’]; What is the result of running this Apex?A . accounts[0].contacts is invalid Apex.B . accounts[0].contacts is an empty Apex.C ....
Which three options can be accomplished with formula fields? (Choose three.)
Which three options can be accomplished with formula fields? (Choose three.)A . Generate a link using the HYPERLINK function to a specific record.B . Display the previous value for a field using the PRIORVALUE function.C . Determine if a datetime field value has passed using the NOW function.D . Return...
Which type of exception will this trigger cause?
A lead object has a custom field Prior_Email__c. The following trigger is intended to copy the current Email into the Prior_Email__c field any time the Email field is changed: Which type of exception will this trigger cause?A . A null reference exceptionB . A compile time exceptionC . A DML...
How should the developer design the Apex classes?
A developer created a Lightning component to display a short text summary for an object and wants to use it with multiple Apex classes. How should the developer design the Apex classes?A . Have each class define method getObject() that returns the sObject that is controlled by the Apex class.B...
Which trigger event allows a developer to update fields in the Trigger.new list without using an additional DML statement?Choose 2 answers
Which trigger event allows a developer to update fields in the Trigger.new list without using an additional DML statement?Choose 2 answersA . Before insertB . Before updateC . After updateD . After insertView AnswerAnswer: A,B
Which statement would a developer use when creating test data for products and pricebooks?
Which statement would a developer use when creating test data for products and pricebooks?A . Id pricebookId = Test.getStandardPricebookId();B . Pricebook pb = new Pricebook();C . IsTest(SeeAllData = false);D . List objList = Test.loadData(Account.sObjectType, 'myResource');View AnswerAnswer: A
For which three items can a trace flag be configured? (Choose three.)
For which three items can a trace flag be configured? (Choose three.)A . Apex TriggerB . Apex ClassC . Process BuilderD . UserE . VisualforceView AnswerAnswer: A,B,D
How should a developer prevent a recursive trigger?
How should a developer prevent a recursive trigger?A . Use a “one trigger per object” pattern.B . Use a static Boolean variable.C . Use a trigger handler.D . Use a private Boolean variable.View AnswerAnswer: D