Google Cloud Professional Cloud DevOps Engineer — Question 175

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?

Answer options

Correct answer: C

Explanation

Running integration tests in the CI pipeline helps identify issues related to the environment, such as missing variables, before deployment. The other options focus on different aspects of the deployment process or monitoring but do not directly address the issue of verifying the correct environment setup as integration tests do.