Interview Prep/Real-World Interview/CI/CD pipeline deep-dive

Why trunk-based development (or GitFlow) in your project?

IntermediateBehavioralCI/CD pipeline deep-dive
Answer

Good answer looks like → "Trunk-based with short-lived branches, merged within a day or two, with feature flags for unfinished work. GitFlow's develop and release branches caused merge pain and delayed integration. The trade-off is you need good tests and flags; without those, trunk-based is risky."

Follow-ups to expect → How did you handle a release that needed to be held back? How long did branches actually live?

Red flags → Not knowing what branching strategy your own team used.

All Real-World Interview questions Roadmap: Interview readiness

More on CI/CD pipeline deep-dive