300-910 · Question #49
A company has a CI/CD pipeline implemented to automate application deployment. An urgent change is required in the production environment. A developer produces and tests the required change in the com
The correct answer is D. Replicate the production environment in the pipeline before applying. To conform to CI/CD rules and resolve a pipeline failure for an urgent change, the production environment should be accurately replicated within the pipeline's testing stages.
Question
Options
- ARemove the failing test.
- BManually deploy the change into the production environment
- CUse a backup pipeline
- DReplicate the production environment in the pipeline before applying
How the community answered
(39 responses)- A8% (3)
- B15% (6)
- C3% (1)
- D74% (29)
Why each option
To conform to CI/CD rules and resolve a pipeline failure for an urgent change, the production environment should be accurately replicated within the pipeline's testing stages.
Removing a failing test is an anti-pattern that bypasses quality gates, undermining the purpose of CI/CD and leading to potential deployment of broken or unstable code.
Manually deploying changes bypasses the CI/CD pipeline's automation, quality checks, and audit trail, violating CI/CD principles and introducing significant operational risk.
Using a backup pipeline doesn't address the root cause of why the primary pipeline is failing with the change; it's a workaround that doesn't solve the underlying validation issue.
A core principle of CI/CD is environment consistency, where testing in an environment that closely mirrors production reduces deployment risks. Replicating the production environment within the pipeline ensures that tests validate changes against conditions identical to production, identifying and resolving issues before deployment and allowing the pipeline to pass reliably.
Concept tested: CI/CD environment consistency and testing
Source: https://www.redhat.com/en/topics/devops/what-is-ci-cd
Topics
Community Discussion
No community discussion yet for this question.