SOFTWARE ENGINEERING

SOFTWARE ENGINEERING TOOLS AND ENVIRONMENTS

AUTOMATED TESTING TOOLS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
How can versioning be used to improve the long-term maintainability of an API?
A
By making all changes to the API backward-compatible
B
By completely overhauling the API every time a change is made
C
By keeping the API unchanged and adding new features through a separate API
D
By using a versioning scheme and maintaining multiple versions of the API concurrently
Explanation: 

Detailed explanation-1: -Versioning helps us to iterate faster when the needed changes are identified in the APIs. Change in an API is inevitable as our knowledge and experience of a system improve. Managing the impact of this change can be quite a challenge when it threatens to break existing client integration.

Detailed explanation-2: -Enable backwards compatibility. Refresh API documentation to reflect new versions. Adapt API versioning to business requirements. Put API security considerations at the forefront. Set your API versions up to scale. 24-Mar-2021

Detailed explanation-3: -Path-based versioning. When the path versioning scheme is used, the version identifier needs to be included in the URL path for any API requests. Header-based versioning. Query string-based versioning. Migrating a non-versioned API to a versioned API. 24-May-2022

There is 1 question to complete.