
Dev 3/21
Authored by Megan Santos
Business
1st Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
There is a trigger on the Contact object which causes an update on the parent Account object. The Account update uses an update DML
statement and triggers a validation rule. Which of the following statements is true?
The Contact record is update but the Account is not
The Account trigger is rolled back
The Account record is updated but Contact record is no
The entire transaction is rolled back
2.
MULTIPLE SELECT QUESTION
1 min • 1 pt
In which Salesforce environments can Lightning Components be used? (Choose 3)
• Lightning Experience
• Salesforce Classic
• Experiences
• Salesforce Mobile App
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
You are working for a server installation provider and have been requested that whenever an Opportunity is created with a value over £10000 to
enforce that there has been a Site Review record created before allowing the Opportunity stage to be set to Closed Won. How best can this be
achieved?
• Use an Apex trigger and use the setError() method if the criteria hasn’t been met
• Use an Apex trigger and use the addError() method if the criteria hasn’t been met
• Use a validation rule which is trigger if the criteria hasn’t been met
• Use a record triggered Flow with the “Add Error” action
4.
MULTIPLE SELECT QUESTION
1 min • 1 pt
A developer wishes to streamline the setting up of data for their test class. How could this be achieved? (Select 2)
• Create a class specifically to create data for test methods
• Utilise the @isTest(SeeAllData=true) annotation
• Add a @TestSetup annotated method to the class
• Use the @isTest(isParallel=true) annotation
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A developer has an @AuraEnabled method that is frequently used in several Lightning Web Components. It performs some complex calculations
based on data stored within custom metadata. Unless these values change, this method will always return the same result. How can the
developer improve the runtime performance of Lightning Components utilising this method?
• Use the Platform Cache to store the computed value
• Modify the method to be @AuraEnabled(cacheable=true)
• Create an ECMAScript Module component to manage calling and caching the response
• Before calling the apex method in the LWC, call “.setStorable()” on it
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following isn’t true about Visualforce standard controllers?
• Controllers can either be tied to a single record, or a collection of records
• Field level and object level security is enforced by built in actions
• They can be extended to provide customised logic
• Standard controllers only exist for custom objects
7.
MULTIPLE SELECT QUESTION
1 min • 1 pt
What benefits are there to using the Lightning Web Component Framework? (Choose 4)
• Faster development
• Interoperability with popular frameworks such as React or Vue
• Performance
• Out-of-the-box components
• Built upon web standards
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?