Salesforce Interview Questions & Answers Book is now available!

Grab Now

Aura

Aura MCQ's

A few MCQ's on Aura Components.

By Teja, ex-Salesforce engineer · Updated January 25, 2021 · 1 min read

What are the advantages of lightning ?

  1. Event driven architecture
  2. Better cache management
  3. Device aware & Cross browser compatibility
  4. Availability of out of the box components?
  5. All the above

Do we need to create a custom domain to develop lightning components?

  1. Yes
  2. No

Can we Include one lightning application to another lightning application?

  1. Yes
  2. No

What’s the annotation used to invoke an Apex method from Aura Components?

  1. @future
  2. @isTest
  3. @AuraEnabled
  4. @cacheable

Aura is a ____ based framework?

  1. MVC
  2. Dependency Injection
  3. Component
  4. None of the Above

What’s the notation used to declare a variable if its value has to be constant?

  1. var
  2. let
  3. const
  4. All the above

Is it a mandate to end every statement with a semicolon in JavaScript?

  1. Yes
  2. No

What’s the purpose of Attributes?

  1. Handle the events
  2. Take care of navigation between components
  3. Invoke init handlers
  4. Pass data from parent to child components

How can we interact with data in Aura Components without using Apex?

  1. Lightning Data Services

  2. Lightning Design System

  3. Lightning Out

  4. Lightning Locker

  5. How to ensure FLS while working with LDS?

  6. We cannot use LDS when we want to maintain FLS

  7. It’s taken care of Automatically with LDS

  8. There are a separate set of tags that we need to use when we need to implement FLS

  9. None of the above

Learn it by building it

Every course, every code repository, the discussion group and certificates of completion — one subscription.

Keep me in the loop!

Email me when a new episode is published (promise, I will not spam you)

You're signing up to receive emails from Salesforce Casts