NEW
Font size
WorksheetsDevOps Version Control Quiz
Total questions: 13
Worksheet time: 7mins
What is the primary reason version control matters in DevOps?
Tracks employee time logs
Helps merge design files
Enables collaboration, traceability, and automation
Automatically creates release notes
Who said: “You can’t have continuous integration without version control”?
Linus Torvalds
Kent Beck
Martin Fowler
Nicole Forsgren
What is the purpose of the git add command?
Create a new repository
Push code to the remote repo
Stage changes to the staging area
Merge two branches
In Git, what is the correct order of operations to push a change to a remote repo?
git push → git add → git commit
git commit → git add → git push
git add → git commit → git push
git pull → git merge → git push
Which Git workflow is most aligned with high-performing DevOps teams?
Centralized
Forking
GitFlow
Trunk-Based
Which Git workflow is least CI/CD friendly?
GitFlow
Trunk-Based
Centralized
Feature Branch
What type of Git commit would use fix: as a prefix?
Adding new documentation
Introducing a new feature
Fixing a bug
Refactoring code
Which of the following is not a benefit of GitFlow?
Fast feedback loops
Branching discipline
Structured release process
Isolation of work
GitFlow includes main, develop, feature, release, and hotfix branches.
True
False
Trunk-Based Development encourages long-lived branches.
True
False
Code review comments should focus on the person, not the code.
True
False
Conventional commits make it easier to automate changelog generation.
True
False
The git merge command stages your changes.
True
False
