
CompTIACloud+
Domain 5Objective 2
Source Control CV0-004 Practice Questions (Page 5)
Part of the DevOps fundamentals domain, which accounts for 10% of the CV0-004 exam. CompTIA does not publish an official question count, but from its 90-minute exam (~35–60 total, ~4–6 in this domain), expect 1–1 from this objective — we provide 34 practice questions to prepare you well beyond it. (estimate)
34questions here
7free pages
8concepts
10%of the exam
Questions 21–25
- 21
A company has a Git repository that contains sensitive code. They want to ensure that only authorized developers can make changes, but they also want to allow other employees to view the code for reference. What is the most appropriate access control strategy?
Select an answer first - 22
A company releases a new version of their software every month. They want to be able to easily identify the exact code that was released in each version. What is the best practice in source control?
Select an answer first - 23
Two developers are working on the same file in a Git repository. Developer A modifies a function at the top of the file and commits. Developer B, who had an older copy of the file, modifies a different function at the bottom and attempts to push. The push is rejected. What is the most appropriate next step for Developer B?
Select an answer first - 24
A development team uses a Git repository with a main branch for production code. They want to introduce a new feature that will require several days of work and involve multiple developers. The team wants to keep the main branch stable and allow each developer to work independently. What is the most appropriate workflow?
Select an answer first - 25
Which Git command creates a lightweight tag named 'v1.0' on the current commit?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by CompTIA. “CV0-004” is a trademark of its owner, used for identification only.