Your team is adopting a continuous integration model where developers commit to the main branch multiple times a day. Long-lived feature branches are banned. Features that are incomplete are hidden behind toggles. Which branching strategy are you implementing?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Trunk-based development

Trunk-based development dictates that all developers integrate their changes directly into a shared trunk (main branch) frequently (at least daily). It avoids merge conflicts assoc...

๐Ÿ“‹Part of Microsoft Certified: DevOps Engineer Expert (AZ-400) ยท Azure Certification Practice
Real Exam ScenarioSource Control

Your team is adopting a continuous integration model where developers commit to the main branch multiple times a day. Long-lived feature branches are banned. Features that are incomplete are hidden behind toggles. Which branching strategy are you implementing?

โœ“ Correct Answer & ExplanationSource Control

Correct Answer

Trunk-based development

Why This Answer Is Correct

Trunk-based development dictates that all developers integrate their changes directly into a shared trunk (main branch) frequently (at least daily). It avoids merge conflicts associated with long-lived feature branches. Incomplete features are managed using feature flags. GitFlow relies heavily on multiple long-lived branches (develop, release, master).

๐Ÿ“š What This Question Tests

This question evaluates your knowledge of Source Control โ€” a core concept tested in Microsoft Certified: DevOps Engineer Expert (AZ-400). Understanding Source Control is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.