200-901 Question 114
Select 4You are designing a CI/CD pipeline for deploying a containerized application to a Kubernetes cluster. Which components are essential to ensure the pipeline includes automation for building, testing, and deploying the application?
- A
A source code repository for version control
- B
A build tool to compile code and create container images
- C
A manual approval step for deployment to production
- D
A testing framework to validate application functionality
- E
A deployment tool to apply changes to the Kubernetes cluster
Show answer and explanation
Correct answers: A, B, D, E
Explanation
A CI/CD pipeline must include components for source control, building, testing, and deploying the application. These components enable automation and ensure an efficient, repeatable process for delivering changes to production. Manual steps, while sometimes necessary, are not considered core automated components of a CI/CD pipeline.
- A. Correct.
A source code repository is essential for version control, enabling developers to collaborate and track changes to the codebase.
- B. Correct.
A build tool is required to compile the code and package it, such as creating Docker container images for a containerized application.
- C. Incorrect.
While a manual approval step may be part of some pipelines, it is not an essential automated component of a CI/CD pipeline.
- D. Correct.
A testing framework is crucial to validate application functionality and ensure that changes do not introduce bugs or regressions.
- E. Correct.
A deployment tool is necessary to automate the process of applying changes to the Kubernetes cluster, ensuring smooth and consistent deployments.