Salesforce Developer Interview
Questions In 2024
So, my old company decided to cut some of us loose,
and now I’m on the job hunt in the Salesforce development scene. It’s wild how
things have changed since I last looked for a gig.
Back in the day, job titles were simple — Salesforce Developer,
Salesforce Developer I/II/III, or Senior Salesforce Developer. But now? It’s a
whole new game. You’ve got roles like Salesforce Developer Full Stack,
Salesforce Developer Mulesoft, Salesforce Developer Dell Boomi, Salesforce
Front End, Salesforce Integration Specialist popping up everywhere.
As I dive into this job search, I’m excited about the variety, but it’s
clear the Salesforce world has gotten way more diverse. I’m ready to adapt and
bring my skills to the table in this ever-evolving landscape. Here’s to
embracing the changes and finding the next exciting chapter in Salesforce
development. Cheers to new opportunities!
In this post I’ll list all the questions I was asked during the
interview process. Let’s put them in the following categories.
1.
Salesforce basics and questions regarding
development process
2.
Salesforce setup and administration
3.
Salesforce declarative development
4.
Salesforce coding development
5.
Salesforce LWC specific
6.
Front-end and Web development
7.
Bonus — Use cases
Part 1 — Salesforce basics and
questions regarding development process
// 1.1 Overall best practices in salesforce development (declarative and coding)// 1.2 Explain objects and relationships in Salesforce
// 1.3 Difference between lookup and master-detail relationship
// 1.4 Why do you need junction object?
// 1.5 Explain roles, profiles, and permission sets
// 1.6 Talk about Salesforce Governor Limits
// 1.7 What's the most and the least restricted Salesforce Security Models?
// 1.8 How many junction objects can you have on one object?
// 1.9 How would you code error tracking in your application, so that your end users can access this information?
Part 2 — Salesforce setup and
administration
// 2.1 What is Org Wide Default?// 2.2 Sharing rules vs. manual sharing rules. When and why would you use them?
// 2.3 What is Salesforce Schield?
// 2.4 What is custom settings?
// 2.5 What's the difference between scheduled jobs and apex jobs?
Part 3 — Salesforce declarative
development
// 3.1 What declarative tool can you use to send emails?// 3.2 Name different types of flows
// 3.3 Talk about similarities bitween Validation rules and Flows
// 3.4 Where would you use custom metadata types, custom settings, and labels?
// 3.5 How do you handle errors in Salesforce Flows?
// 3.6 What's the difference between scheduled flow and scheduled apex?
// 3.7 What is there you CAN and CAN'T do in declarative development and apex?
Part 4 — Salesforce coding
development
// 4.1 What is Trigger Based Framework? What're before and after triggers?
// 4.2 How many triggers would you create on one object?
// 4.3 How do you rectrict field access in apex?
// 4.4 Talk about async apex
// 4.5 What's the difference between future and quablele methods?
// 4.6 What is Invokable apex?
// 4.7 What's the difference between SOQL and SOSL in Salesforce
// 4.8 What is Salesforce Web Services?
// 4.9 How do you deploy code into Salesforce?
// 4.10 How much test coverage do you have in your test classes?
// 4.11 Talk about the difference between LC, Aura, Visualforce, and LWC
// 4.12 Sharing rules in apex
// 4.13 How to secure credentials in outbound?
// 4.14 What is Encryption in Apex?
// 4.15 What is Interface in apex?
// 4.16 Can an Apex method have multiple decorators?
// 4.17 What is lightning out?
// 4.18 When do you use Runas in an apex test class?
// 4.19 How do you seed custom Metadata in a test class?
// 4.20 How much percentage of your test classes use assertions?
// 4.21 What is SOQL injection? How can you prevent it?
// 4.22 In Encryption what is the difference b/w probabilistic and deterministic encryption?
// 4.23 Can you encrypt a formula field?
// 4.23 Tell three OOP concepts?
// 4.24 What is the sequence of events in an apex trigger after updating a database?
// 4.25 Where would you use Visualforce these days? Can you come up with a use case?
// 4.26 Have you worked with managed packages? What is managed package?
// 4.27 What is Salesforce security review?
// 4.28 Have you worked with Salesforce events? What did you use them for?
// 4.29 Why do you need both triggers and classes in Salesforce?
// 4.30 Can you test API callouts in apex?
Part 5 — Salesforce LWC specific
// 5.1 What are decorators in LWC?// 5.2 Can a LWC have multiple decorators?
// 5.3 Can you declare a constant outside of a class?
// 5.4 What is the significance of the $ symbol in the parameter in LWC?
// 5.5 What are the different lifecycle hooks in LWC?
// 5.6 When is the Rendercallback event called?
// 5.7 What is the difference b/w Event.StopPropogation and Event.preventdefault?
// 5.8 Why do you extend a Lightning Web Component?
// 5.9 Can a LWC component raise and capture same event?
// 5.10 What is the difference betweenw Var, Let and Const?
// 5.11 How to communicate between a parent and a child LWC?
Part 6 — Front-end and Web
development
// 6.1 What is a viewstate error?
// 6.2 What is callback hell?
// 6.3 Are callback functions Synchronous or Asynchronous?
// 6.4 What is Data-Id?
// 6.5 What is a promise and what are the 3 stages of promises?
// 6.6 What is a Promise.all()?
Part 7 — Use cases
Exercise 1:
We have the following error in the log. What does it mean and how to fix it? → The number of results does not match the number of interviews that were executed in a single bulk execution.
Exercise 2:
If there are 3 LWC Components Comp A , Comp B and Comp C. If Component A is the Master component , Component B and Component C are children of Component A. How do Component B communicate with Component C.
Exercise 3:
Assume in a MVC in the View component you have a variable which calculates the Sum of dollar amounts of a million records in realtime. How would you re-calculate the dollar amount if some of the underlying records change values.
Exercise 4:
Create three new date fields on the Lead object. Then create a validation rule that will check that the fields you just created are NOT null. If the fields are null (at least one of them), don’t create a lead.
Exercise 5:
Using Workbench or Postman design a solution that will parse a payload. Upsert account record. While adding accounts, do not create duplicate records.
Exercise 6:
Display a list of opportunities using Salesforce flows.
Exercise 7:
You have a long Validation rule. You need to add more conditions to the rule. How would you proceed with following Salesforce best practice?
Exercise 8:
What’s wrong with this code?
@InvocableMethod(label='My Label' description=‘My description’ category='Other')
public static List<Account> getAccounts(List<Id> acctIds){
List<Account> myAccounts = [SELECT Id, Name FROM Account WHERE Id IN : acctIds];
return myAccounts;
}
Author
Techsourcing Salesforce Mentors
Comments
Post a Comment