Describe the real cycle in your organisation; interviewers want to see that you understand the full path from code to production. A sample answer for a team using two-week sprints: 1. Planning Work items (user stories and bugs) are prioritised in Jira or Azure Boards and planned into a sprint. 2. Development - Each developer works on a short-lived feature branch. - Code is written with unit tests and run locally, including integration tests with Docker dependencies. 3. Pull request and CI - A pull request triggers the CI pipeline: build, unit and integration tests, static analysis, security scans and coverage. - At least one reviewer approves; branch policies prevent merging if checks fail. 4. Merge and deploy to Dev - On merge to main, the pipeline creates a versioned artifact (Docker image or package) and deploys it automatically to the Dev environment. 5. QA or Test environment - The same artifact is promoted to QA, where testers run functional, regression and automated end-to-end tests. Bugs found go back into the sprint. 6. Staging or UAT - Before release, the build is deployed to staging (production-like configuration and data volumes) for user acceptance testing by business users and final performance checks. 7. Release to production - Release approval by the product owner or release manager (and a change request in some organisations). - Database migrations run first (backward compatible), then the app is deployed with zero downtime using deployment slots, blue-green or rolling updates. - Smoke tests verify critical flows. 8. Monitoring and support - Dashboards and alerts (Application Insights, Grafana) watch error rates and performance. - Hotfix process: urgent fixes go through a shortened pipeline but still with tests and review. - Rollback plan: swap slots back or redeploy the previous version. 9. Retrospective - Release issues are discussed and the process is improved. Release frequency examples: "we release to production every two weeks after the sprint review, while hotfixes can go out the same day." Adjust this to your company's reality — for example, some teams deploy to production several times a day with feature flags.
Ravindra Wadile · · 0 likes