Domain 3.2: Deploying and implementing GKE resources
20 questions across 7 exams
Exams covering this topic
All questions (20)
You have created a new Google Kubernetes Engine (GKE) cluster. You need to configure your local `kubectl` command-line tool to communicate with this cluster. Which command should you run?
You are deploying a containerized application to GKE. You want to ensure that the application is exposed to the internet and receives an external IP address. Which Kubernetes resource type should you create?
You are deploying a GKE Autopilot cluster. You need to deploy a workload that requires specific hardware accelerators (GPUs). Which TWO statements are true regarding this deployment? (Select TWO)
You need to deploy a new Google Kubernetes Engine (GKE) Standard cluster named 'prod-cluster' in the 'us-central1-a' zone with exactly 3 nodes. Which gcloud command should you use?
You have a running GKE cluster and you have authenticated your local `kubectl` tool to it. You want to deploy a containerized application using an image named 'gcr.io/my-project/my-app:v1' and ensure 3 replicas are running. Which command is the simplest way to achieve this imperatively?
You need to deploy a new Google Kubernetes Engine (GKE) Standard cluster named 'my-cluster' with 3 nodes in the us-central1-a zone. Which gcloud command should you use?
You have successfully created a GKE cluster and authenticated your local kubectl tool to it. You now want to deploy a containerized application using an image named 'nginx:latest'. Which command should you use to create a deployment named 'my-nginx'?
You are configuring a new GKE Standard cluster. Your security team requires that all logs from the Kubernetes control plane (API server, scheduler) and all logs from the application containers running in the pods are sent to Cloud Logging. Which TWO logging components must be enabled in the cluster configuration? (Select TWO)
You need to deploy a new Google Kubernetes Engine (GKE) standard cluster named 'prod-cluster' in the 'us-central1-a' zone with 3 nodes. Which gcloud command should you use?
You have a GKE cluster running and you have written a Kubernetes Deployment manifest file named `app-deployment.yaml`. You want to deploy this application to your cluster. Which command should you run?
You are deploying a new application to GKE and want to ensure that application logs and cluster metrics are automatically sent to Google Cloud Operations Suite (formerly Stackdriver). Which TWO statements are true regarding GKE monitoring and logging? (Select TWO)
You need to create a new Google Kubernetes Engine (GKE) standard cluster named 'web-cluster' with 3 nodes in the `us-central1-a` zone using the command line. Which gcloud command should you use?
You have successfully provisioned a GKE cluster and authenticated your local `kubectl` tool to it. You have a container image stored in Google Container Registry at `gcr.io/my-project/my-app:v1`. Which command should you use to deploy this image to your GKE cluster?
An application running on your GKE cluster is crashing. You need to view the application logs outputted by a specific pod named `frontend-pod-123` to troubleshoot the issue. Which TWO methods can you use to view these logs? (Select TWO)
You need to deploy a new Google Kubernetes Engine (GKE) Standard cluster named 'prod-cluster' with 3 nodes in the us-east1-b zone using the command line. Which gcloud command should you use?
You have a Docker image stored in Artifact Registry. You want to deploy this image as a highly available application on an existing GKE cluster. You need to ensure that at least 3 replicas of the application are running at all times. Which Kubernetes resource should you create?
You are deploying a new GKE Standard cluster and want to ensure that all container logs and cluster metrics are automatically sent to Google Cloud's operations suite (formerly Stackdriver) for monitoring and alerting. Which TWO statements are true regarding GKE monitoring and logging? (Select TWO)
You need to create a new Google Kubernetes Engine (GKE) cluster named 'web-cluster' in the us-central1-a zone using the Cloud SDK. Which command should you use?
You have successfully created a GKE cluster and configured your local `kubectl` to connect to it. You have a container image named `gcr.io/my-project/my-app:v1`. Which command should you use to deploy this image to your cluster as a Deployment?
You are deploying a new GKE cluster and want to ensure that all container logs and cluster metrics are automatically sent to Google Cloud's operations suite (formerly Stackdriver). Which TWO statements about GKE monitoring and logging are correct? (Select TWO)
Practice these questions with detailed guidance
Full answers, grading, and explanations on why each answer is correct.
Expert