AZ-400 · Question #441
AZ-400 Question #441: Real Exam Question with Answer & Explanation
In Semantic Versioning (SemVer), the version format is MAJOR.MINOR.PATCH. A MAJOR version increment occurs when breaking/incompatible API changes are introduced, meaning existing consumers must update their code. A MINOR version increment occurs when new backward-compatible funct
Question
Drag and Drop Question You are designing a versioning strategy for Git-based packages. You plan to use a Semantic Versioning (SemVer)-based strategy. You need to identify when to change the build version. What should you identify for each scenario? To answer, drag the appropriate versions to the correct scenarios. Each version may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point. Answer:
Explanation
In Semantic Versioning (SemVer), the version format is MAJOR.MINOR.PATCH. A MAJOR version increment occurs when breaking/incompatible API changes are introduced, meaning existing consumers must update their code. A MINOR version increment occurs when new backward-compatible functionality is added - such as adding a new feature or new API endpoint that doesn't break existing consumers. The third scenario also maps to MINOR because adding backward-compatible functionality (even in different forms like new optional parameters or new modules) follows the same rule. Patch is reserved strictly for backward-compatible bug fixes with no new functionality.
Topics
Community Discussion
No community discussion yet for this question.