Google Professional Cloud DevOps Engineer exam dumps

Google Professional Cloud DevOps Engineer practice question 29 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 29

Single answerGoogle Cloud Platform

Your team has implemented a CI/CD pipeline using Jenkins for deploying applications to Google Kubernetes Engine (GKE). However, deployments are frequently failing due to misconfigured Kubernetes manifests. You want to automate the validation of Kubernetes manifests in the pipeline before deployment. Which tool should you integrate with Jenkins to achieve this?

  1. A

    Argo CD

  2. B

    Kustomize

  3. C

    kubeval

  4. D

    Terraform

Show answer and explanation

Correct answer: C

Explanation

kubeval is the correct choice because it is designed to validate Kubernetes manifests by checking them against the relevant API schemas. By integrating kubeval into the Jenkins pipeline, you can ensure that only valid manifests proceed to the deployment stage, reducing the risk of deployment failures due to configuration errors. Other tools like Argo CD, Kustomize, and Terraform serve different purposes and are not suitable for this specific requirement.

  • A. Incorrect.

    Argo CD is a continuous delivery tool for Kubernetes that focuses on GitOps workflows. While it can manage deployments, it does not validate manifests within a CI/CD pipeline.

  • B. Incorrect.

    Kustomize is a tool for customizing Kubernetes configurations, but it does not validate manifests for correctness or schema compliance.

  • C. Correct.

    kubeval is a tool specifically designed to validate Kubernetes manifests against the Kubernetes API schemas, making it the appropriate choice for automating manifest validation in a Jenkins pipeline.

  • D. Incorrect.

    Terraform is primarily used for infrastructure provisioning and management, not for validating Kubernetes manifests.

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