Software Development Life Cycle (SDLC) Interview Questions
261 multiple-choice tech interview questions on Software Development Life Cycle (SDLC): SDLC planning and phases, requirements and design baselines, build, test, maintenance and retirement, waterfall and the V-model, iterative and spiral models, environments and promotion, versioning and release management, deployment versus release, and the secure and regulated SDLC. Written for technical phone screens and interview prep, organized by subtopic, with a short explanation for every answer. Learn the 25 key terms with the flashcards first, then test yourself.
Take the practice test · Flashcards · All study tools
What it covers
- 3.1 Life cycle overview and planning
- 3.2 Requirements, design and the SRS
- 3.3 Build, test, deploy, maintain and retire
- 3.4 Waterfall and the V-model
- 3.5 Iterative, spiral, RAD and other models
- 3.6 Environments and promotion
- 3.7 Versioning and release management
- 3.8 Deployment versus release
- 3.9 Secure and regulated SDLC
Key terms
3.1 Life cycle overview and planning
- SDLC
- Phases from planning through maintenance that software goes through
- Requirements analysis
- Phase that gathers and documents what the system must do
3.4 Waterfall and the V-model
- Waterfall
- Sequential phases, each finished before the next
- V-model
- Each development phase paired with a matching test phase
- Spiral model
- Risk-driven repeated cycles
3.7 Versioning and release management
- Semantic versioning
- MAJOR.MINOR.PATCH versioning based on compatibility
- Feature flag
- Runtime switch separating deployment from release
- Release candidate
- Build ready for final testing before release
3.9 Secure and regulated SDLC
- Shift left
- Moving quality and security work earlier
- SAST
- Static analysis of code for security flaws
- Feasibility study
- A check of technical, financial, and operational viability before committing
- Phase gate
- A planned go/no-go decision before more money is spent
- Verification
- Checking that the product was built to the specification
- Validation
- Checking that the product meets the real need
- User acceptance testing
- The receiving party checks fitness for use
- Corrective maintenance
- Fixing defects in a system that is already in use
- Adaptive maintenance
- Changing a system so it still works in a new environment
- Perfective maintenance
- Improving a live system's function, performance, or maintainability
- Iterative model
- Revisiting and improving a version in later cycles
- Staging environment
- A production-like place to test before real users are affected
- Promotion
- Moving a known build forward through agreed environments and checks
- Changelog
- A record of what changed, what was fixed, and what might break
- Threat modeling
- Early analysis of how a system could be abused
- Software requirements specification
- A baseline of functional and quality requirements
- End of support
- The date after which a release line will no longer get fixes
Sample practice questions
What is the software development life cycle (SDLC)?
- A command-line tool that compiles source code into binaries
- The time a server runs before it needs to be restarted
- A list of programming languages approved for a project
- The phases software goes through, from planning to maintenance
Answer: D. The phases software goes through, from planning to maintenance Models differ in how they sequence and repeat these phases.
In which SDLC phase are business needs gathered and documented?
- Requirements analysis
- Deployment and release
- Maintenance and support
- Testing and quality checks
Answer: A. Requirements analysis Mistakes here are the most expensive to fix later.
Why is the maintenance phase often the longest and most expensive part of the life cycle?
- Maintenance requires rewriting all of the code from scratch every month
- Software runs for years, needing fixes, patches, updates and features
- Maintenance only happens before release, when the most work is done
- It includes the cost of every piece of hardware, for as long as it runs
Answer: B. Software runs for years, needing fixes, patches, updates and features Designing for maintainability pays off over the system's lifetime.
What characterizes the waterfall model?
- Short iterations, each ending with a frequent release to real users
- No planning or documentation of any kind, from start to finish
- Continuous deployment of every commit straight to production
- Sequential phases, each finished before the next, with little going back
Answer: D. Sequential phases, each finished before the next, with little going back It suits projects with stable, well-understood requirements and heavy regulation.
What distinguishes the spiral model?
- A single pass through every phase, with no repetition at all
- No risk management of any kind, in any of its phases
- Repeated cycles of planning, risk analysis, building and evaluation
- A model that's designed specifically for building websites
Answer: C. Repeated cycles of planning, risk analysis, building and evaluation Barry Boehm proposed it for large, high-risk projects.
What is the purpose of separate dev, test or staging, and production environments?
- Tripling the organization's cloud costs on purpose to justify a bigger budget
- Letting each developer run a different version of the code than everyone else
- Testing changes in production-like conditions before real users are affected
- Avoiding the need for version control by keeping copies in each environment
Answer: C. Testing changes in production-like conditions before real users are affected Staging should mirror production configuration as closely as practical.
What is semantic versioning (SemVer)?
- Versioning each release only by the calendar date it was published on
- Random version numbers assigned to each build by the CI pipeline
- MAJOR.MINOR.PATCH: breaking changes, compatible features, compatible fixes
- A Git branching strategy with separate branches for each version
Answer: C. MAJOR.MINOR.PATCH: breaking changes, compatible features, compatible fixes Example: going from 2.3.1 to 3.0.0 signals a breaking change.
What is a feature flag, and why is it useful in releases?
- A code comment that marks a section of unfinished work for later
- A Git tag that's attached to the commit for each official release
- A label that's added to a bug ticket to show which feature it affects
- A runtime switch letting teams deploy code without exposing it yet
Answer: D. A runtime switch letting teams deploy code without exposing it yet It separates deployment from release and enables gradual rollouts and quick rollback.
What does "shift left" mean in the SDLC?
- Moving testing, security and quality work earlier
- Moving all deployments to Friday afternoons instead
- Assigning work to the left side of the office floor
- Delaying all testing until after the software's release
Answer: A. Moving testing, security and quality work earlier Running static analysis and tests in pull requests is a typical shift-left practice.
What is a feasibility study at the start of a project?
- A performance test that's run against the finished product before launch
- A user satisfaction survey that's sent out after the product is released
- Checking technical, financial and operational viability before committing
- A checklist that reviewers follow when reviewing each code change
Answer: C. Checking technical, financial and operational viability before committing It may conclude that the project should not proceed.