BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Scaled Agile Exam SAFe-DevOps Topic 4 Question 18 Discussion

Actual exam question for Scaled Agile's SAFe-DevOps exam
Question #: 18
Topic #: 4
[All SAFe-DevOps Questions]

What is trunk-based development?

Show Suggested Answer Hide Answer
Suggested Answer: C

Trunk-based development is a version control management practice where all developers work on the same trunk of shared code. The trunk is always in a releasable state, which means that at least once a day, developers must integrate their changes to the trunk. This is accomplished through short-lived feature branches related to project tasks. Trunk-based development is a common practice among DevOps teams and part of the DevOps lifecycle since it streamlines merging and integration phases. It also enables continuous integration, which is the practice of merging all development versions of a code base several times a day. Trunk-based development has several benefits, such as:

It reduces the complexity and conflicts of merging long-lived branches

It improves the quality and consistency of the code by enforcing frequent testing and validation

It accelerates the delivery and deployment of new functionality by minimizing the transaction cost and risk

It fosters a culture of collaboration and transparency among developers


Contribute your Thoughts:

Devora
1 months ago
I'm with Rosalind on this one. Option C is the way to go. All teams working in one trunk, that's the essence of trunk-based development. Easy peasy.
upvoted 0 times
William
3 days ago
It makes sense to have all teams committing their code into one trunk.
upvoted 0 times
...
Lauryn
11 days ago
I agree with you, option C is definitely the way to go.
upvoted 0 times
...
...
Adrianna
2 months ago
Ha! Looks like the exam writers are trying to trick us. 'Every team works in their own trunk'? That's just plain silly. Definitely going with Option C.
upvoted 0 times
Alex
25 days ago
I think the exam writers are trying to confuse us with that option.
upvoted 0 times
...
Aja
1 months ago
Yeah, I agree. Option D doesn't make sense at all.
upvoted 0 times
...
Joanna
1 months ago
Option C is the correct answer. All teams committing their code into one trunk.
upvoted 0 times
...
...
Nicolette
2 months ago
Hmm, I'm not so sure. Wouldn't Option B make more sense? Teams with similar dependencies working in one branch for the team's work? That sounds like the definition to me.
upvoted 0 times
Shawnna
13 days ago
I guess it depends on how the teams prefer to work. Both Option B and Option C could fit the definition of trunk-based development.
upvoted 0 times
...
Troy
17 days ago
That's true, Option C could also be considered trunk-based development. It's all about how the teams collaborate.
upvoted 0 times
...
Shad
30 days ago
But what about Option C? All teams committing their code into one trunk could also be trunk-based development.
upvoted 0 times
...
Erinn
1 months ago
I think Option B is correct. It does make sense for teams with similar dependencies to work in one branch.
upvoted 0 times
...
...
Laura
2 months ago
I think every team works in their own trunk, to have more control over their code changes.
upvoted 0 times
...
Lauran
2 months ago
I think it's all teams committing their code into one trunk, to avoid integration issues.
upvoted 0 times
...
Rosalind
2 months ago
Option C looks like the correct answer to me. All teams committing their code into one trunk - that's trunk-based development, right?
upvoted 0 times
Lai
1 months ago
That's right. It helps to ensure continuous integration and avoid merge conflicts.
upvoted 0 times
...
Lettie
1 months ago
Yes, you are correct. Trunk-based development involves all teams committing their code into one trunk.
upvoted 0 times
...
...
Tamesha
2 months ago
I disagree, I believe it's when teams with similar dependencies create one single branch for their work.
upvoted 0 times
...
Ronnie
2 months ago
I think trunk-based development is when each developer maintains a separate branch.
upvoted 0 times
...

Save Cancel