AZ-400 · Question #93
AZ-400 Question #93: Real Exam Question with Answer & Explanation
The correct answer is D: a single-running branch with multiple short-lived topic branches. Topic branches, however, are useful in projects of any size. A topic branch is a short-lived branch that you create and use for a single particular feature or related work. This is something you've likely never done with a VCS before because it's generally too expensive to create
Question
Your team uses an agile development approach. You need to recommend a branching strategy for the team's Git repository. The strategy must meet the following requirements. - Provide the ability to work on multiple independent tasks in parallel. - Ensure that checked-in code remains in a releasable state always. - Ensure that new features can be abandoned at any time. - Encourage experimentation. What should you recommend?
Options
- Aa single long-running branch
- Bmultiple long-running branches
- Ca single fork per team member
- Da single-running branch with multiple short-lived topic branches
Explanation
Topic branches, however, are useful in projects of any size. A topic branch is a short-lived branch that you create and use for a single particular feature or related work. This is something you've likely never done with a VCS before because it's generally too expensive to create and merge branches. But in Git it's common to create, work on, merge, and delete branches several times a https://git-scm.com/book/en/v2/Git-Branching-Branching-Workflows
Community Discussion
No community discussion yet for this question.