Salesforce interview questions for 3 years experience
On this page (6 sections)
What interviewers expect at 3 yearsAdmin and configurationApex and developmentIntegration and deliveryWorking with peopleRelated guidesAt around three years, interviewers stop checking whether you know the definitions and start checking whether you have used them. Expect "how did you" and "what would you do" more than "what is". This page mixes admin and developer questions, because most people at this level do some of both.
For each answer, the best version includes a short example from your own project. Use ours as a structure and swap in your real experience.
What interviewers expect at 3 years
- Confident fundamentals: sharing, data model, Flow, triggers, SOQL.
- At least one feature you built end to end.
- Experience with deployments, sandboxes and fixing defects.
- Some exposure to integrations or async Apex.
- Clear communication with business users.
Admin and configuration
01A user can see an object's tab but not a specific record. How do you troubleshoot?
A user can see an object's tab but not a specific record. How do you troubleshoot?
Object access is fine, so this is record-level sharing. I check the org-wide default, the record owner and their role, sharing rules, teams and territories, and then use the Sharing button on the record to see who has access and why.
I fix it in the cleanest place, usually a sharing rule or team, rather than manual sharing that is hard to maintain.
02How have you moved access from profiles to permission sets?
How have you moved access from profiles to permission sets?
We kept a small number of minimal profiles and moved object, field and app access into permission sets, grouped into permission set groups by job role, such as Sales Rep or Support Agent.
The benefits: fewer profiles to maintain, access that matches real roles, and easier audits. I would mention muting permission sets for exceptions and testing each role with a test user before go-live.
03When do you use a before-save Flow and when an after-save Flow?
When do you use a before-save Flow and when an after-save Flow?
A before-save Flow updates fields on the record being saved, very efficiently, without extra DML. An after-save Flow is needed when you create or update other records, send emails or call actions, because the record has been saved by then.
A good habit to mention: add entry conditions so the Flow only runs when the relevant fields change.
04How do you handle errors in Flows?
How do you handle errors in Flows?
Add fault paths to elements that can fail, such as DML and actions. In the fault path, log the error, for example to a custom error object, and show a clear message in screen Flows.
I also set the Flow error email recipient so failures reach the team, not just the last person who edited the Flow.
05Describe a data migration you worked on.
Describe a data migration you worked on.
Structure it: what data, how much, from where, which tool, and what went wrong. For example: "We migrated 300,000 accounts and contacts from an old CRM with Data Loader. We cleaned duplicates first, used external IDs to link records, loaded parents before children, and turned off non-essential automation during the load."
Mention validation afterwards: record counts, spot checks with users, and a rollback plan.
Apex and development
06Walk me through how you write a bulk-safe trigger.
Walk me through how you write a bulk-safe trigger.
One trigger per object, with logic in a handler class. Collect IDs in a Set, query once into a Map, change records in memory, and do one DML at the end. No SOQL or DML inside loops.
trigger OpportunityTrigger on Opportunity (before insert, before update) {
OpportunityTriggerHandler.beforeSave(Trigger.new, Trigger.oldMap);
}Then test it with 200 records, because that is the batch size a trigger can receive.
07How do you stop a trigger from running twice?
How do you stop a trigger from running twice?
First find out why it runs again. Often a workflow, Flow or another trigger updates the same record. Fixing that design is better than hiding it.
Where re-entry is genuinely expected, use a static set of processed record IDs in a helper class, so each record is handled once per transaction. A simple static boolean is risky because it can skip records in later batches.
08When have you used Queueable or Batch Apex?
When have you used Queueable or Batch Apex?
Give a real example. Queueable: "After an order is created, a Queueable job calls the ERP API, because callouts are not allowed directly in triggers." Batch: "A nightly batch recalculates account health scores for 500,000 accounts."
Show you know the choice: Queueable for single jobs and chaining, Batch for very large data volumes, Scheduled Apex to run either on a timetable.
09How do you write a good test class?
How do you write a good test class?
Create test data in the test, ideally with a data factory and @testSetup. Test positive, negative and bulk cases, test as different users with System.runAs, and assert the outcome, not just that no error was thrown.
Coverage of 75% is only the minimum to deploy. Meaningful assertions are what catch real bugs.
10How do you call Apex from a Lightning Web Component?
How do you call Apex from a Lightning Web Component?
Either with @wire, which is reactive and cached, or imperatively by calling the method in JavaScript, for example on a button click. Wired methods must be cacheable=true and cannot change data.
I use @wire for reading data that should refresh when parameters change, and imperative calls for actions that save data. After saving, I use refreshApex or Lightning Data Service so the UI shows current data.
11How do parent and child LWC components communicate?
How do parent and child LWC components communicate?
Parent to child: public properties with @api, or public methods. Child to parent: custom events with dispatchEvent. For components that are not related, use Lightning Message Service.
Mention keeping events simple and passing only the data the parent needs.
12What is the difference between SOQL and SOSL, and when have you used SOSL?
What is the difference between SOQL and SOSL, and when have you used SOSL?
SOQL queries one object and its related objects with precise filters. SOSL searches text across several objects at once, using the search index.
A typical SOSL use is a global search box that looks for a phone number or name across Accounts, Contacts and Leads.
13How do you make a SOQL query on a large object perform well?
How do you make a SOQL query on a large object perform well?
Filter on indexed fields such as Id, Name, external IDs, lookup fields or custom indexed fields, avoid leading wildcards in LIKE, and select only the fields you need.
Use the Query Plan tool to check whether a query is selective, and ask Salesforce for a custom index if a common filter field needs one.
Integration and delivery
14Explain an integration you have worked on.
Explain an integration you have worked on.
Cover the two systems, direction, real-time or batch, API, authentication and error handling. For example: "We sent new orders to the ERP in real time with a Queueable callout using a Named Credential. Failures were logged to an error object and retried by a scheduled job."
15What is a Named Credential and why use it?
What is a Named Credential and why use it?
A Named Credential stores an external endpoint and its authentication in Setup. Apex refers to it by name, so URLs and secrets are not hard-coded and can differ between sandbox and production.
In current orgs, Named Credentials work together with External Credentials, which hold the authentication details.
16How do you deploy changes on your project?
How do you deploy changes on your project?
Describe your real process honestly, for example: development sandboxes, Git with pull requests, a CI pipeline using the Salesforce CLI, a QA sandbox, UAT, then production in a release window. If you use change sets, say so and explain what you would improve.
17Tell me about a production issue you fixed.
Tell me about a production issue you fixed.
Use a simple structure: what happened, how you found the cause, the fix, and what you changed so it would not happen again. Interviewers care most about the last part, because it shows ownership.
Working with people
18A business user asks for a change that you think is a bad idea. What do you do?
A business user asks for a change that you think is a bad idea. What do you do?
Understand the goal behind the request first, then explain the risk in business terms and offer an alternative that meets the goal. If they still want it, raise it with the product owner or lead so the decision is visible.
19How do you estimate a piece of work?
How do you estimate a piece of work?
Break it into configuration, code, testing and deployment tasks, estimate each, add time for reviews and fixes, and state assumptions. Compare with similar work you have done before.
20What are you learning now?
What are you learning now?
Have a real answer. In 2026 good options are Agentforce, Data 360, or a certification you are working towards. Mention what you built while learning, even a small demo.