PROFESSIONAL-CLOUD-DEVELOPER · Question #308
You are currently pushing container images to Artifact Registry and deploying a containerized microservices application to GKE. After deploying the application, you notice that the services do not beh
Sign in or unlock PROFESSIONAL-CLOUD-DEVELOPER to reveal the answer and full explanation for question #308. The question stem and answer options stay visible for context.
Question
You are currently pushing container images to Artifact Registry and deploying a containerized microservices application to GKE. After deploying the application, you notice that the services do not behave as expected. You use the kubectl get pods command to inspect the state of the application Pods, and discover that one of the Pods has a state of CrashLoopBackoff. How should you troubleshoot the Pod?
Options
- AConnect to the problematic Pod by running the kubectl exec -it POD_NAME - /bin/bash command
- BExecute the gcloud projects get-iam-policy PROJECT_ID command where the PROJECT_ID
- CRun the kubectl logs POD_NAME command where the POD_NAME parameter is the name of the
- DIn the Google Cloud console, navigate to Cloud Logging in the project of the cluster's VPC. Enter
Unlock PROFESSIONAL-CLOUD-DEVELOPER to see the answer
You've previewed enough free PROFESSIONAL-CLOUD-DEVELOPER questions. Unlock PROFESSIONAL-CLOUD-DEVELOPER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.