exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 6 question 4 discussion

Actual exam question from Microsoft's AZ-400
Question #: 4
Topic #: 6
[All AZ-400 Questions]

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?

  • A. a single long-running branch without forking
  • B. multiple long-running branches
  • C. a single fork per team member
  • D. a single long-running branch with multiple short-lived feature branches
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
denisred
Highly Voted 4 years ago
correct!
upvoted 21 times
...
Miles19
Highly Voted 4 years ago
correct.
upvoted 7 times
...
Miten94
Most Recent 10 months, 1 week ago
Came in Exam June 23, 2024
upvoted 1 times
...
resonant
1 year, 7 months ago
I didn't get this question on my exam on September 12, 2023, but I did get another that was very similar. It asked something about what to use when working in a new feature and the answers were short-lived feature branches.
upvoted 3 times
...
yana_b
1 year, 7 months ago
Selected Answer: D
One long running main branch and short lived feature branches
upvoted 1 times
...
xRiot007
1 year, 9 months ago
D - long running branch with small feature branches. Why ? If we need to abandon features, we can easily do so by deleting unwanted branches. When something breaks (and it will, 100%) it will be on the feature branch, not the main.
upvoted 2 times
...
ShivaUdari
2 years, 3 months ago
Selected Answer: D
Correct
upvoted 1 times
...
ehurfheiz
2 years, 6 months ago
Selected Answer: D
Correct
upvoted 1 times
...
syu31svc
2 years, 9 months ago
Selected Answer: D
"new features can be abandoned at any time" I would take D based on this
upvoted 1 times
...
Eltooth
2 years, 11 months ago
Selected Answer: D
D is correct answer.
upvoted 1 times
...
UnknowMan
2 years, 11 months ago
Correct, Aka Github flow
upvoted 2 times
...
rdemontis
3 years, 1 month ago
Selected Answer: D
correct answer
upvoted 1 times
...
Aniruddha_dravyakar
3 years, 6 months ago
D. a single long-running branch with multiple short-lived feature branches
upvoted 2 times
...
ScreamingHand
3 years, 9 months ago
Common sense really
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago