makeporngreatagain.pro
yeahporn.top
hd xxx

Practice Test 5 | Designing And Implementing Microsoft DevOps Solutions | AZ-400 | Dumps | Mock Test

3,739

Your company is planning to use Git for source control. It would be used for the development of a complex application. You have to decide the right-branching model when it comes to adding new functionality to the application.

Which of the following should be used as the Branch lifetime?

A. Long-lived
B. Short-lived
C. Master-based
D. Integration-based

Correct Answer – B

When adding new features to an application, the best practice is to create short-lived feature branches also known as topic branches. This would reduce the complication when it comes to merging the branch onto the main master branch.

Options A is incorrect because a long-lived feature branch (LLFB) can be useful, when working on a feature that shouldn’t be present in the master branch until it’s ready, it will take a significant amount of time. In case the team is working on a complex system, merging changes will be challenging, and the more time we wait for the merge the more challenging it gets. Hence long-lived branches are not useful in this case.

Option C is incorrect because, in the case of a master-based branch, all developers are working on one branch, and the code is directly merged in the master branch. Here the control is in hands of developers, small mistakes will directly go to the master branch if the pull request is not adequately reviewed. In the case of a complex system, there are chances of introducing bugs with new code, and these bugs can directly go to the master branch hence this is not a suitable solution here.

Option D is incorrect because the integration branch is used to merge changes coming from multiple feature branches, and then these changes are tested here before merging them to master. This will take time and will be a complex process, as we are merging code from multiple branches there are chances of missing some changes in the merge process hence this is not a good option for a complex system.

For more information on git branching, one can browse to the following URL-

Comments are closed, but trackbacks and pingbacks are open.

baseofporn.com https://www.opoptube.com
Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.