Salesforce interview questions for freshers
First Salesforce interview? These are the basics every fresher gets asked, with short answers you can say out loud in under a minute.
New to this topic? Learn Salesforce from the basics step by step before you practise.
If this is your first Salesforce interview, the good news is that freshers are rarely asked trick questions. Interviewers want to see that you understand the basic building blocks, that you have actually clicked around a Salesforce org, and that you can explain things simply.
Every answer below is short enough to say out loud in under a minute. Practise saying them, not just reading them.
01What is Salesforce, in simple words?
What is Salesforce, in simple words?
Salesforce is a cloud-based CRM. It helps a company keep all its customer information in one place: who the customers are, what they bought, which deals are open and which support cases are pending.
Because it runs in the cloud, nobody installs anything. Users log in through a browser or the mobile app, and Salesforce handles servers, upgrades and backups. On top of the CRM, companies can build their own apps on the same platform.
02What is the difference between a standard object and a custom object?
What is the difference between a standard object and a custom object?
Standard objects come with Salesforce out of the box, for example Account, Contact, Opportunity, Lead and Case. Custom objects are ones you create for data Salesforce does not cover, such as a Property object for a real-estate company.
You can spot a custom object by its API name: it always ends in __c, like Property__c.
03What is the difference between a lookup and a master-detail relationship?
What is the difference between a lookup and a master-detail relationship?
Both link two objects, but master-detail is a much tighter link. In master-detail, the child cannot exist without the parent, deleting the parent deletes the children, the child inherits the parent's sharing, and you can build roll-up summary fields on the parent.
A lookup is loose. The child can exist on its own, has its own owner and sharing, and deleting the parent does not delete it by default. If you need roll-ups or ownership to follow the parent, choose master-detail; otherwise, lookup.
04What is a junction object?
What is a junction object?
A junction object is a custom object with two master-detail relationships. It is how you model a many-to-many relationship.
Example: a student can join many courses and a course has many students. You create an Enrollment object with a master-detail to Student and another to Course. Each Enrollment record links one student to one course.
05What is the difference between a profile and a permission set?
What is the difference between a profile and a permission set?
Every user has exactly one profile, which sets their baseline access: which objects, fields, apps and settings they can use. A permission set adds extra access on top of the profile, and a user can have many.
The modern approach is to keep profiles minimal and grant most access through permission sets and permission set groups. It is much easier to manage than creating a new profile for every small difference.
06What is a role and how is it different from a profile?
What is a role and how is it different from a profile?
A profile controls what a user can do: which objects and fields. A role controls which records they can see, through the role hierarchy. Managers higher up the hierarchy can see records owned by people below them.
A short way to say it in an interview: profiles control what, roles help control which records.
07What are org-wide defaults?
What are org-wide defaults?
Org-wide defaults (OWD) set the baseline record access for each object, for users who do not own the record. Typical settings are Private, Public Read Only and Public Read/Write.
You always set OWD to the most restrictive level anyone needs, then open access up with the role hierarchy, sharing rules and manual sharing. Sharing can open access, but it can never take it away below the OWD.
08What is a validation rule?
What is a validation rule?
A validation rule stops a record from being saved if the data is wrong. It has a formula that returns true when there is a problem, and an error message to show the user.
Example: an Opportunity cannot be marked Closed Won without an Amount. The formula would be AND(ISPICKVAL(StageName, "Closed Won"), ISBLANK(Amount)).
09What is Flow and why has it replaced Workflow Rules and Process Builder?
What is Flow and why has it replaced Workflow Rules and Process Builder?
Flow is Salesforce's main tool for building automation without code. You can update records, create records, send emails, call Apex and even build screens that guide users step by step.
Salesforce has retired Workflow Rules and Process Builder for new automation because Flow can do everything they did and much more, in one tool. New automation should be built in Flow.
10What is a sandbox and what types are there?
What is a sandbox and what types are there?
A sandbox is a copy of your production org used for building and testing, so you never experiment on live data.
- Developer: metadata only, small storage, for individual development.
- Developer Pro: same, with more storage.
- Partial Copy: metadata plus a sample of data, good for testing.
- Full: a full copy of metadata and data, used for final testing and training.
11What is the difference between a report and a dashboard?
What is the difference between a report and a dashboard?
A report is a list of records that meet your criteria, which you can group, summarise and chart. A dashboard is a visual page that shows several reports side by side as charts, gauges and tables.
Every dashboard component is powered by a source report, so you build the report first.
12What is a record type?
What is a record type?
Record types let one object behave differently for different groups of users. Each record type can have its own page layout and its own picklist values.
Example: a Case object with one record type for hardware issues and another for billing questions, each showing different fields and statuses.
13What is Apex?
What is Apex?
Apex is Salesforce's own programming language. It looks a lot like Java and runs on Salesforce's servers. Developers use it when Flow cannot do the job, for complex logic, integrations or heavy data processing.
Because it runs on a shared platform, Apex has governor limits that stop any one piece of code from using too many resources.
14What are governor limits?
What are governor limits?
Salesforce is multi-tenant: many companies share the same servers. Governor limits make sure no single company's code hogs those resources.
The two everyone should know are 100 SOQL queries and 150 DML statements per synchronous transaction. That is why you never put a query or a DML statement inside a loop.
15What is the difference between SOQL and SOSL?
What is the difference between SOQL and SOSL?
SOQL queries one object at a time (plus related objects) when you know where the data is, like a SQL SELECT. SOSL is a text search across many objects at once, when you only know a word or phrase.
Use SOQL for "get all open Opportunities for this Account". Use SOSL for "find anything that mentions Acme".
16What is a trigger?
What is a trigger?
A trigger is Apex code that runs automatically before or after a record is inserted, updated, deleted or undeleted.
Before triggers are used to change or validate values on the same record. After triggers are used when you need the record's Id or want to update other records.
17What is Lightning Web Components (LWC)?
What is Lightning Web Components (LWC)?
LWC is Salesforce's modern framework for building custom user interface components using standard HTML, JavaScript and CSS. It replaced Aura as the recommended way to build custom UI because it is faster and uses web standards.
18How would you prepare for a Salesforce role with no work experience?
How would you prepare for a Salesforce role with no work experience?
Be honest that you are new, then show what you have done. Mention the Trailhead modules and superbadges you completed, any certification such as Associate or Administrator, and one small project you built in a free Developer Edition org.
Interviewers remember a candidate who can say "I built a leave-request app with a custom object, a Flow and a report" far better than one who lists definitions.
How freshers get shortlisted
Freshers who stand out usually have three things: the Administrator or Associate certification, a Trailhead profile with real badges, and one small project they can demo. If you have those, most of the questions above will feel familiar.
Next, work through the admin interview questions or, if you are aiming for a developer role, the Apex interview questions.