nerdexam
Cisco

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.

CI/CD Pipelines

Question

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 company's environment, but the pipeline fails when pushed. Which action conforms to the rules of a CI/CD pipeline and enables the pipeline to pass?

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)
  • A
    8% (3)
  • B
    15% (6)
  • C
    3% (1)
  • D
    74% (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.

ARemove the failing test.

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.

BManually deploy the change into the production environment

Manually deploying changes bypasses the CI/CD pipeline's automation, quality checks, and audit trail, violating CI/CD principles and introducing significant operational risk.

CUse a backup pipeline

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.

DReplicate the production environment in the pipeline before applyingCorrect

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

#CI/CD best practices#Environment parity#Pipeline troubleshooting#Automated deployment

Community Discussion

No community discussion yet for this question.

Full 300-910 Practice