CompTIA Cloud+ (CV0-004)DevOps FundamentalsEasy

A DevOps engineer needs to mark a specific commit as the official v3.2.0 release so that it can be easily referenced and checked out later, without creating a new line of development. Which Git feature should be used?

  1. AFork
  2. BStash
  3. CTag
  4. DBranch
Show answer & explanation

Correct answer: C. Tag

A tag creates a permanent, named pointer to a specific commit, commonly used to mark release versions. Branches are used for ongoing parallel development, not fixed release markers.

Why the other options are wrong

  • A. A fork is a separate copy of an entire repository, typically on a hosting platform.
  • B. A stash temporarily shelves uncommitted changes and is unrelated to marking releases.
  • D. A branch is a movable line of development, not a fixed marker for a release point.

Git Tag

A Git tag is a fixed reference pointing to a specific commit, commonly used to mark release versions such as v1.0.0.

  • Tags do not move like branches do
  • Often follow semantic versioning (major.minor.patch)
  • Can be annotated with metadata or lightweight

Memory trick: Tag it like a luggage label so you can find that exact release again.

More DevOps Fundamentals questions