Google Professional Cloud DevOps Engineer exam dumps

Google Professional Cloud DevOps Engineer practice question 256 of 268

Professional Cloud DevOps Engineer. Associate level, Google Cloud. Free question with the correct answer and a full explanation.

Google Professional Cloud DevOps Engineer Question 256

Single answerGoogle Cloud Platform

Your team has implemented a CI/CD pipeline in Google Cloud using Cloud Build, but the deployment process often fails intermittently with no changes to the codebase or configurations. The logs show network connectivity errors when pulling container images from Artifact Registry. What is the best action to resolve this issue?

  1. A

    Increase the quotas for network egress traffic in your Google Cloud project.

  2. B

    Enable VPC Service Controls for Artifact Registry and Cloud Build.

  3. C

    Ensure that the Cloud Build service account has the correct IAM permissions to access Artifact Registry.

  4. D

    Configure retries in the Cloud Build pipeline to handle transient network issues.

Show answer and explanation

Correct answer: D

Explanation

The intermittent nature of the deployment failures and the network connectivity errors in the logs indicate that the issue is likely caused by transient network problems. The best solution is to configure retries in the Cloud Build pipeline, as this will allow the pipeline to recover from such issues without manual intervention. Other options, such as modifying quotas or enabling security features, do not directly address the root cause of the problem.

  • A. Incorrect.

    Increasing network egress quotas is not relevant in this case, as the issue is related to intermittent connectivity rather than a quota limit.

  • B. Incorrect.

    Enabling VPC Service Controls is a security feature and does not address the network connectivity issue described in the scenario.

  • C. Incorrect.

    While ensuring correct IAM permissions is important, the issue described is intermittent and related to network connectivity, not authorization.

  • D. Correct.

    Configuring retries in the Cloud Build pipeline is the best approach to handle transient network issues, as it allows the pipeline to recover from temporary connectivity problems automatically.

Timed practice exam

Take a Google Professional Cloud DevOps Engineer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam