Scenario #1 With sharing, Without sharing and Inherited sharing.

Scenario #1 With sharing, Without sharing and Inherited sharing.

Preview unavailable

You must log in or sign up to view this lesson.

LoginSign up

Interview Questions

Buy nowLearn more

Introduction

  • Salesforce Admin Interview QA Book3
  • Salesforce Dev and Integration Interview QA Book10
  • Salesforce CPQ Interview QA Book1
  • Salesforce Financial Service Cloud Interview QA Book
  • Salesforce OmniScript Interview QA Book
  • Introduction7

SOQL [Salesforce Object Query Language]

  • Difference between SOQL and SOSL?
  • What is SOQL 101 exception and how do you handle it?
  • Maximum no of records that can be queried in a single transaction?
  • How to apply field level security [FLS] in a SOQL query?
  • What is the latest suggested approach in applying FLS to a SOQL query?
  • When to use stripInAccessible() in Apex?1
  • How can you perform FLS when a DML operation is performed?
  • What is the difference between With sharing, Without sharing & Inherited sharing keywords in SOQL?
  • What happens when I invoke a Without sharing method from a With sharing apex method?3
  • What happens when I invoke an *Inherited* sharing method from a With sharing apex method?
  • Scenario #1 With sharing, Without sharing and Inherited sharing.4
  • Scenario #2 Sharing and Abstract classes in Apex.

Apex Development

  • By default can I make callouts from batch apex class?2
  • Can we chain batch classes and how?
  • Can we execute inner queries in Batch Apex?
  • Can we invoke Batch from Schedulable?
  • Can we invoke future handler from batch apex?3
  • In Batch Apex how can I maintain the state of the variables between different batches?2
  • What are different types of Asynchronous Apex that are available?
  • Can I avoid implementing finish method in Batch Apex class?2
  • What's the default and max batch size in Batch Apex?
  • Is it a mandate that the Batch Class should have global access specifier?
  • Can we invoke Batch Apex class from triggers?2
  • What's are the difference between Future method and Queueable Apex?2
  • When a Future method invoked from Batch Apex, is it going to give us run time error or compile time error?
  • What advantages do we get as a developer when we use Future method?1
  • How can we pass list of sObject data from one Future method to another Future method?
  • What are the steps involved in making a callout in Integration?
  • How do you do the error handling when you make a callout in Integration?3
  • Can we use Future methods in Test classes?
  • What is row lock (concurrent batch) and how to solve that?2
  • Does governor limits apply in Test classes?
  • When we have chained Batch Apex how many Test Classes should we write?
  • What's the purpose of starttest() and stoptest() methods in Apex?
  • Can we invoke Queueable Apex from Batch Apex?
  • When I need to fetch more records in query locator in batch apex how can I achieve that?2
  • What if I get more than 50 million records even after applying filters in Batch Apex?
  • How can we do the code coverage for a private method?
  • How can we have common test data for all the test methods?
  • Can you tell different approaches by which we can inserting test data in a test class?
  • What does seeAllData=true means in Apex testing framework?2
  • Advantages of Continuation Apex
  • How can we do the code coverage as a specific user in test classes?
  • What's the maximum no of characters a custom label can have?
  • What is Apex managed sharing?1
  • Can i pass data to batch class while invoking it?1
  • Can we make a callout from finish method in batch apex?4
  • Can we send data of type SObject to queueable apex?
  • Difference between custom settings and custom metadata types?
  • What's the difference between custom list settings and custom hierarchy settings?2

Lightning Web Components [LWC]

  • What is api decorator or how to expose a property and method in child web components?1
  • In how many ways can we invoke apex method from lwc?1
  • Is it possible to invoke apex methods from life cycle hooks?
  • How many life cycle hooks we have got in lwc?
  • Is it possible to invoke 3rd party js libraries and style sheets in lwc?
  • What are the different life cycle hooks available?
  • What do we have in a lwc component bundle?
  • What is the target used to source a lwc to a quick action?
  • Can we embed lwc in an aura component and vice versa?1

Aura Components

  • How to invoke a piece of code automatically in Aura Components
  • Can we invoke Apex Constructor from Aura Components
  • Type of Events in Aura Components1
  • Why do we have Controller.js & Helper.js files in Aura Components
  • How Data Mutation works in Aura Components and LWC
  • What's the differences between Aura Components & LWC
  • Purpose of implements attribute in Aura Components
  • What's Resource Bundle
  • What's the interface used for Navigation in Aura Components
  • What's the purpose of design file in resource bundle
  • Can we invoke a flow in Aura Component
  • Can we send data between Aura and VF
  • What's the purpose of force:hasRecordId in LDS
  • What is Lightning Out in Aura Components
  • Can we remove attribute syncing between components
  • Different data types that we can provide to attributes in Aura Components
  • What are the methods we get access to in renderer file
  • What is $A in Aura Components
  • Can one Aura Component extend another component explain a scenario when I would need it?
  • How can we apply styles only to child tags in Aura Component
  • Advantages of <force:recordData /> tag over other LDS tags
  • How do you debug your Aura Components
  • How to improve performance using client side caching
  • How to invoke action handler in child component from parent component
  • When to use <lightning:recordViewForm /> vs <lightning:recordForm />

Apex Triggers

  • [Basic] Scenario #11
  • [Basic] Scenario #2