Google Professional Cloud DevOps Engineer exam dumps

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

Select 4Google Cloud Platform

Your team has deployed a new version of a web application on Google Kubernetes Engine (GKE), but users are reporting intermittent 500 Internal Server Errors. Upon investigation, you find that a new pod in the deployment is crashing repeatedly. Which of the following actions should you take to troubleshoot and mitigate the issue?

  1. A

    Review the pod logs using kubectl logs to check for errors in the application.

  2. B

    Rollback to the previous stable version of the deployment using kubectl rollout undo.

  3. C

    Increase the GKE cluster size to ensure sufficient resources for the application pods.

  4. D

    Check the health and readiness probes configuration in the deployment manifest.

  5. E

    Inspect the resource limits and requests configuration in the deployment manifest.

Show answer and explanation

Correct answers: A, B, D, E

Explanation

To troubleshoot and mitigate deployment issues in GKE, it's essential to investigate the logs for error details, validate the configuration of health probes, and inspect resource limits and requests to ensure the application is operating within its defined parameters. If the issue is critical and resolution is not immediate, rolling back to a previous stable version helps restore service availability.

  • A. Correct.

    Reviewing the pod logs provides critical information about the cause of the crash, such as errors or misconfigurations in the application.

  • B. Correct.

    Rolling back to the previous stable version is a valid mitigation step if the issue is critical and cannot be resolved immediately.

  • C. Incorrect.

    Increasing the GKE cluster size is not relevant unless there is evidence of resource exhaustion, which is not mentioned in the scenario.

  • D. Correct.

    Health and readiness probes are essential for identifying whether the application is functioning correctly and can help identify misconfigurations causing crashes.

  • E. Correct.

    Resource limits and requests ensure the pod has sufficient memory and CPU to run properly, and misconfigurations could lead to crashes.

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