nerdexam
GoogleGoogle

PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #192

PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Question #192: Real Exam Question with Answer & Explanation

The correct answer is C: Run integration tests in the CI pipeline.. The root cause is a missing environment variable that only surfaces at container startup time. Integration tests run the application in a realistic environment (including its dependencies and configuration), which would catch missing environment variables before code reaches prod

Submitted by jordan8· Apr 18, 2026Building and implementing CI/CD pipelines for a service

Question

You are troubleshooting a failed deployment in your CI/CD pipeline. The deployment logs indicate that the application container failed to start due to a missing environment variable. You need to identify the root cause and implement a solution within your CI/CD workflow to prevent this issue from recurring. What should you do?

Options

  • AUse a canary deployment strategy.
  • BImplement static code analysis in the CI pipeline.
  • CRun integration tests in the CI pipeline.
  • DEnable Cloud Audit Logs for the deployment.

Explanation

The root cause is a missing environment variable that only surfaces at container startup time. Integration tests run the application in a realistic environment (including its dependencies and configuration), which would catch missing environment variables before code reaches production. Option A (canary deployment) reduces blast radius but does not prevent the issue from occurring. Option B (static code analysis) examines source code syntax and patterns but cannot detect missing runtime environment variables. Option D (Cloud Audit Logs) captures API calls for security auditing and is not useful for diagnosing or preventing application misconfiguration in a CI/CD pipeline.

Topics

#CI/CD pipeline#Integration testing#Deployment troubleshooting#Environment variables

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVOPS-ENGINEER PracticeBrowse All PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Questions