Aura MCQ's
A few MCQ's on Aura Components.
What are the advantages of lightning ?
- Event driven architecture
- Better cache management
- Device aware & Cross browser compatibility
- Availability of out of the box components?
- All the above
Do we need to create a custom domain to develop lightning components?
- Yes
- No
Can we Include one lightning application to another lightning application?
- Yes
- No
What’s the annotation used to invoke an Apex method from Aura Components?
- @future
- @isTest
- @AuraEnabled
- @cacheable
Aura is a ____ based framework?
- MVC
- Dependency Injection
- Component
- None of the Above
What’s the notation used to declare a variable if its value has to be constant?
- var
- let
- const
- All the above
Is it a mandate to end every statement with a semicolon in JavaScript?
- Yes
- No
What’s the purpose of Attributes?
- Handle the events
- Take care of navigation between components
- Invoke init handlers
- Pass data from parent to child components
How can we interact with data in Aura Components without using Apex?
- Lightning Data Services
- Lightning Design System
- Lightning Out
- Lightning Locker
- How to ensure FLS while working with LDS?
- We cannot use LDS when we want to maintain FLS
- It’s taken care of Automatically with LDS
- There are a separate set of tags that we need to use when we need to implement FLS
- None of the above