Salesforce Developer Interview Question

How do you move changes from development to production, and which sandboxes do you use?

What the interviewer is probing, how to structure your answer, and a spoken example you can adapt.

Quick answer

Develop in Developer sandboxes or scratch orgs, keep metadata in source control, and deploy with the Salesforce CLI through a pipeline rather than change sets where you can. Promote through integration and UAT sandboxes, using a Partial Copy or Full sandbox to test against realistic data. Validate the production deployment in advance with local tests, then quick deploy in the release window. Script post deployment steps and keep a rollback plan.

Why interviewers ask this

Release management is where many Salesforce teams struggle, with missing components and surprises in production. The interviewer wants a source driven process, a sensible sandbox strategy, and an understanding of how production deployments run tests. Knowing about validation followed by quick deploy, and that profiles and destructive changes need special care, shows you have run real releases rather than clicking through change sets.

How to structure your answer

  • Describe where development happens and the role of source control.
  • Explain the sandbox path and what each type is for.
  • Cover validation, test levels and quick deploy.
  • Mention manual steps, destructive changes and rollback.

Example answer

Spoken example, first person

Development happens in a Developer sandbox or a scratch org, and every change goes into Git, so the repository is the source of truth. A pipeline using the Salesforce CLI deploys merged changes to an integration sandbox, where automated tests run. Releases then move to a UAT sandbox, ideally a Partial Copy or Full sandbox, because testing against realistic data and volumes catches problems a Developer sandbox never will. Full sandboxes can only be refreshed about once a month, so we treat them as precious. For production I run a validation deployment a day or two ahead with local tests, which runs all our tests and checks coverage without changing anything. On release day we quick deploy that validated package, which takes minutes. Anything that cannot be deployed as metadata goes on a written post deployment checklist, and deletions go through a destructive changes manifest. Rollback usually means deploying the previous version from Git, so every release is tagged.

Walking into this interview soon? GhostPilot listens to your live call, spots the question the moment it is asked, and puts a structured answer on your screen in real time. Try it on your next mock, or grab a $29 Session Pass, no subscription, for the real thing.

See how it works

Follow-up questions to expect

  • Why are profiles awkward to deploy, and what do you do instead?
  • How would you deploy a change that also needs data updated?
  • What would you do if the production validation fails the night before a release?

Related salesforce developer questions

Your interviewer will ask their own version of this. Paste your actual job description into the free Question Predictor and get the 20 questions that role is most likely to ask, with what each one is really probing.

Predict my questions

Rehearse the hard questions before they are asked

Practise with a live copilot, then walk in ready. A $29 Session Pass gets you through the interview with no subscription and no lock-in.

Get GhostPilot