MCQ Detail

Search MCQs, Papers, Topics

AI hard

What Is "Trunk-Based Development" In Version Control?

A. Maintaining dozens of long-lived feature branches
B. All developers committing directly or through short-lived branches to a single main branch
C. Using a monorepo with separate trunk per microservice
D. A branching model that requires peer review before any commit

Trunk-based development is a source control practice where developers integrate small, frequent commits into a single main branch (trunk). It promotes CI, reduces merge conflicts, and is a prerequisite for effective continuous integration.

Trunk Based Development Version Control Devops Git Branching
Submitting...

🚀 Found an error or have a suggestion?

Your feedback helps us keep our MCQs accurate and up-to-date.

We appreciate your contribution to improving the quality of our MCQs.

Related MCQs

Related MCQs where subject and topic are same as this mcq

AI easy

Question 1: What does CI stand for in DevOps?

CI stands for Continuous Integration, a practice where code changes are integrated frequently and tested automatically.

Ci Devops Automation Software Delivery
AI easy

Question 2: Which of the following best describes Git?

Git is a distributed version control system used to track code changes.

Git Version Control Software Development Repository
AI easy

Question 3: Which Git command is used to send local commits to a remote repository?

git push uploads local committed changes to a remote repository.

Git Push Repository Version Control
AI medium

Question 4: In Docker, what is an image?

A Docker image is a read-only template used to create containers.

Docker Image Container Devops
AI medium

Question 5: Which statement about containers is correct?

Containers are lightweight and share the host OS kernel, making them more efficient than full virtual machines in many cases.

Containers Docker Virtualization Devops