Share Your Experience With Others

Salesforce Developer Interview Questions

Hello Guys, when we want to prepare for interview we need some questions to prepare so today i am writing some questions for preparation.I will update these questions time to time.

Please tell me questions in comments which i can add in this list.

  • Tell me something about yourself
  • What is your current project?
  • What is your role in your current project?
  • What is the difficult thing you have implemented in your entire experience?
  • Why do you want to leave your current company?
  • What is a Profile?Can a User in SFDC exist without a Profile?
  • What is Permission Set? What is the need of it and Give me a real use case in which i need to implement the permission set.
  • What is Role Hierarchy?
  • What is Owd?
  • If a user on Account having OWD private and at profile level he has CRUD permissions so he will be able to create account records or not?
  • Difference between Role Hierarchy and Profile?
  • what is a workflow?What actions we can perform using workflow?
  • How many emails we can send using a single workflow?
  • How many Field Update and Task we can create using a single workflow?
  • Is parent to child field update is possible in workflow?
  • What will be called first, trigger or workflow?
  • What is process builder and how it is different from workflow?
  • What actions we can do with workflow but not with process builder?
  • What actions we can do with process builder but not with workflow?
  • How we can make a class available to call in process builder?
  • What is a Trigger?How many types of Trigger are there in SFDC?
  • Difference between Trigger.New and Trigger.NewMap?
  • Difference between Trigger.New and Trigger.old?
  • Difference between Trigger.old and Trigger.OldMap?
  • In all before and after events what value we will get of trigger context variables
  • What we can do in before triggers?Give me a real use case in which i can implement only before trigger not after?
  • What we can do in after triggers?Give me a real use case in which i can implement only after trigger not before?
  • What is a batch class?
  • What are the required methods to write a batch class?
  • If there are 3 objects which have no relationship with each other then can we update the records of all three objects in batch class?
  • What are Batchable,Queable or Stateful?classes or interfaces?
  • Can we perform child to parent field update in process builder?
  • Can we delete a user in SFDC?
  • Is it possible to create a batch class without finish() method? if not then why it is necessary even we are not writing any code in it.
  • what is a future method?
  • Difference between future method and batch class?
  • Can we call a future method in a batch class?
  • Can we call a batch class from future method?
  • what are different Asynchronous process in SFDC.
  • When we have standard controller, why we need custom controller?
  • When we have custom controller, why we need custom extensions?
  • What is System mode or User mode?
  • A trigger will run in a user mode or system mode?
  • What is the purpose of using with sharing and without sharing keywords? What will follow if i will not use any of these keywords in my class?
  • What is the return type of Trigger.new?
  • What is the return type of Trigger.newMap?
  • What are the best practices of Apex,Vf pages,Triggers and Test Classes?
  • How we can reduce the view state of VF page?
  • What is the view state size of VF page?
  • Write a trigger to count the no. of contacts related to an account.
  • Write a trigger to count the no.of parent accounts of an account.
  • For example There is current scenario: A—->B—–>C.A is parent of B and B is parent of C.We need to copy a field value of object C to the field of object A.How we will achieve this?
  • How Lightning Components is different from Visualforce Components?Give me solid example which can prove that lightning components are better than vf component.
  • How many resources are present in a component bundle?
  • How we can call a child component method in parent component in lightning components?
  • Can we call controller method inside another controller method in lightning components if possible then how?
  • Can we call a helper method inside another helper method in lightning components if possible then how?
  • How many types of events are there in lightning components?
  • When we will use application event and when component event?
  • How we can use a static resource inside lightning component?
  • Why we need to add interface while developing LEX components?
  • Why there are two JS controllers in component bundle?
  • What are the different events fired during component rendering lifecycle?
  • How we can extend a parent component inside child component?What we need to do in parent component to be extensible?
  • What is bubble and capture phase in LEX components?
  • What are the functionalities that are available in classic experience but not in LEX?
  • How FLS can be ensured while developing LEX components?
  • How an apex class will be available to call by a LEX component?
  • Why Salesforce introduced LWC when we have LEX components?
  • How we can write a test class for LEX apex controller?
  • What is the use of Renderer resource in lightning component bundle?
  • How we can use a lightning component inside vf page?
  • what is the purpose of using Design resource in lightning component?
  • What is a wrapper class?Why we need wrapper class in sfdc?
  • How we can send the variable value from vf page to the controller?
  • Difference between actionFunction and actionSupport?
  • How we can get the id from Url in sfdc?
  • How we can access a private variable in test class?
  • Write a trigger to insert an account with a related opportunity?
  • How we can stop a recursive trigger?
  • What is the size of single attachment in salesforce?
  • What is the maximum size of static resource we can store in salesforce?
  • What is the difference between Documents, Attachments, Files and Static Resources in Salesforce?
  • What is Mixed DML exception and how we will resolve it?

7 responses to “Salesforce Developer Interview Questions”

  1. Abhi Avatar
    Abhi

    nice mr. kamal

    Like

    1. Kamaal Ahmad Usmani Avatar
      Kamaal Ahmad Usmani

      Thnx Abhi

      Like

    2. rupa Avatar
      rupa

      Hi Kamal,
      How are you doing? I have a quick question
      Can you please explain me about the current project which is ”in-house project on telecommunication” of salesforce admin/developer can you please try to elaborate it.
      I really appreciate your response.

      Like

      1. Kamaal Ahmad Usmani Avatar
        Kamaal Ahmad Usmani

        Ok but how can I explain you without details?

        Like

  2. rupa Avatar
    rupa

    Thank you for your response may i know what all the details you require.

    Like

  3. rupa Avatar
    rupa

    Hi kamal,
    what all the details you require please let me know i’ll send it to you.
    i just need general project explanation that how to explain to the interviewer it is an in-house project of 7+ years as i said and what salesforce admin/developer role plays in this position for Hotwire telecommunication company. can you please send it to my email id- rocking462@gmail.com
    I really appreciate your response.
    will be waiting for your reply.
    TIA

    Like

    1. Kamaal Ahmad Usmani Avatar
      Kamaal Ahmad Usmani

      Ok so you can write the project details in points and then you can elaborate those points to the interviewer simple.If you want to ask more than I reply on it. Thanks for asking

      Like

Leave a reply to Kamaal Ahmad Usmani Cancel reply