Which of the following is a valid semantic versioning example?

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 valid semantic versioning example?

Explanation:
SemVer uses a three-part numeric pattern: MAJOR.MINOR.PATCH, with each part a non-negative integer and nothing else. A valid example must have exactly three numeric components separated by dots and no prefix. 1.2.3 fits this exactly, so it serves as a clean, canonical SemVer example. The version 2.0.0 also satisfies the three-number pattern, but the question’s intended illustration is 1.2.3. Versions like v1.2.3 include a leading v, which is not part of SemVer, and 1.2 lacks the PATCH component, so they are not valid SemVer examples.

SemVer uses a three-part numeric pattern: MAJOR.MINOR.PATCH, with each part a non-negative integer and nothing else. A valid example must have exactly three numeric components separated by dots and no prefix. 1.2.3 fits this exactly, so it serves as a clean, canonical SemVer example. The version 2.0.0 also satisfies the three-number pattern, but the question’s intended illustration is 1.2.3. Versions like v1.2.3 include a leading v, which is not part of SemVer, and 1.2 lacks the PATCH component, so they are not valid SemVer examples.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy