Which two principles are included in the codebase tenet of the 12-factor app methodology? (Choose two.)
Click on the arrows to vote for the correct answer
A. B. C. D. E.AE.
The 12-factor app methodology is a set of best practices for developing scalable, maintainable, and portable web applications. The methodology consists of 12 principles or tenets, which are designed to help developers build applications that can be easily deployed and managed in modern cloud environments.
One of these tenets is the codebase tenet, which focuses on the management of the application's source code. The codebase tenet is comprised of the following two principles:
A. An application is always tracked in a version control system. This principle emphasizes the importance of using a version control system (VCS) to manage the application's source code. By using a VCS, developers can track changes to the codebase over time, collaborate with other team members, and roll back to previous versions of the code if necessary. A VCS also helps ensure that the codebase is always up-to-date and accessible to everyone who needs it.
C. The codebase is the same across all deploys. This principle states that the application's codebase should be consistent across all deployments. This means that the same version of the codebase should be used in development, testing, staging, and production environments. By maintaining a consistent codebase, developers can reduce the likelihood of errors or discrepancies between environments, and ensure that the application behaves consistently across all deployments.
In contrast, options B, D, and E are not principles included in the codebase tenet of the 12-factor app methodology. Option B suggests that there are multiple codebases per application, which would make it difficult to manage changes to the application's source code. Option D suggests that there can be a many-to-one correlation between codebase and application, which could also lead to inconsistencies or conflicts between codebases. Option E suggests that it is only possible to have one application deployment per codebase, which is not necessarily true - multiple deployments can use the same codebase.