Question 121 · 548 in bank
A developer is preparing to begin development of a new version of an application. The previous version of the application is deployed in a production environment. The developer needs to deploy fixes and updates to the current version during the development of the new version of the application. The code for the new version of the application is stored in AWS CodeCommit. Which solution will meet these requirements?
Show answer
Answer: A
Explanation
The best option here is: A. From the main branch, create a feature branch for production bug fixes. Create a second feature branch from the main branch for development of the new version. Here’s why this solution is the most suitable: Separation of Concerns: Creating separate branches for bug fixes and new feature development ensures that changes made for the current production version and the new version do not interfere with each other. This separation is crucial to avoid introducing new bugs into the production version from the development version. Continuous Integration and Delivery (CI/CD): This approach supports CI/CD practices. Bug fixes can be developed, tested, and merged into the main branch and deployed without impacting the ongoing development of the new version.
Source: Adapted from community discussion — SerialiDr