Linux_FoundationLinux_Foundation
KCNA · Question #102
KCNA Question #102: Real Exam Question with Answer & Explanation
The correct answer is C: 0.1.0-rc. Semantic Versioning (SemVer) specifies a three-part version number (MAJOR.MINOR.PATCH) and optional pre-release/build metadata.
Submitted by ricky.ec· May 4, 2026Cloud Native Application Delivery
Question
Imagine you're releasing open-source software for the first time. Which of the following is a valid semantic version?
Options
- A1.0
- B2021-10-11
- C0.1.0-rc
- Dv1beta1
Explanation
Semantic Versioning (SemVer) specifies a three-part version number (MAJOR.MINOR.PATCH) and optional pre-release/build metadata.
Common mistakes.
- A. 1.0 is incomplete as a strict semantic version, as it is missing the patch number which is required by the MAJOR.MINOR.PATCH format.
- B. 2021-10-11 is a date-based versioning scheme and does not adhere to the MAJOR.MINOR.PATCH format of Semantic Versioning.
- D. v1beta1 is a common API versioning convention, but it does not conform to the MAJOR.MINOR.PATCH structure of Semantic Versioning.
Concept tested. Semantic Versioning (SemVer) syntax
Reference. https://semver.org/spec/v2.0.0.html
Topics
#Semantic Versioning#Software Releases#Open Source Software
Community Discussion
No community discussion yet for this question.