Study for the SAFE DevOps Practitioner (SDP) Exam. Enhance your skills with multiple choice questions accompanied by explanations. Get thoroughly prepared for your exam!

Practice this question and more.


Which Continuous Integration activity describes committing code and components to the trunk?

  1. Test end-to-end

  2. Develop

  3. Build

  4. Stage

The correct answer is: Develop

The activity of committing code and components to the trunk is fundamentally linked to the development phase of the Continuous Integration (CI) process. During the development stage, team members work on their code separately but are required to integrate their contributions back into the shared repository, often referred to as the "trunk" or "main" branch. This practice is essential for fostering collaboration among developers and ensuring that everyone is working on the most recent version of the codebase. Keeping the trunk updated with the latest changes avoids integration problems later in the development cycle, as opposed to delaying merges until later stages, which can lead to complications or conflicts. Therefore, the act of committing code and components is inherently tied to active development, making it the correct correlation within the CI activities.