Which of the following is a correct example of semantic versioning formatting?

Study for the Kubernetes Certified Network Administrator Exam. Our test offers comprehensive flashcards, multiple-choice questions, and detailed explanations. Be confident for your exam!

Multiple Choice

Which of the following is a correct example of semantic versioning formatting?

Explanation:
Semantic versioning uses a three-part numeric format: MAJOR.MINOR.PATCH, with each part being a non-negative integer and separated by dots. The version 1.2.3 fits this exact pattern, so it’s valid. The first option uses leading zeros (01, 02, 03), which SemVer disallows for numeric identifiers. The third option replaces the dot separators with hyphens, which isn’t the standard delimiter. The fourth option adds a fourth numeric segment, going beyond the three-part structure.

Semantic versioning uses a three-part numeric format: MAJOR.MINOR.PATCH, with each part being a non-negative integer and separated by dots. The version 1.2.3 fits this exact pattern, so it’s valid.

The first option uses leading zeros (01, 02, 03), which SemVer disallows for numeric identifiers. The third option replaces the dot separators with hyphens, which isn’t the standard delimiter. The fourth option adds a fourth numeric segment, going beyond the three-part structure.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy