ads

25 Jun 2024

Google Associate Cloud Engineer: Managing Google Kubernetes Engine

 

Question:

After deploying your pods with a container image; what are some further configuration changes you can make by clicking the “Actions” button on the deployment toolbar?

  • Rolling update
  • Auto-scale
  • Expose

Question
:

PersistentVolume resources exist independently of pods, and they continue to live on as clusters and change when pods are deleted or added. Which are two ways that PersistentVolume resources can be provisioned?

  • Dynamically through PersistentVolume claims
  • Explicitly created by a cluster administrator

Question
:

When creating node pools, what are some of the configuration objects you can specify and change across various pools?

  • Preemptible VMs

  • Machine types

  • OS image


Question

:

Which are examples of sensitive data that are often used in conjunction with Kubernetes secrets?

  • OAuth tokens

  • SSH keys

  • Passwords


Question

:

When exposing a deployment, what are the three service types that you can create?

  • Content distribution network

  • Node port

  • Load balancer


Question

:

Which part of the pod template determines which applications each pod should run, which volumes it should mount and which labels it should contain?

  • Specification


Question

:

You have created an image called ‘webserver’ and you want to send the image to the container registry. Which command can you run to send your docker image to your GCP container registry?

  • docker push webserver:latest


Question

:

Which type of empty volume is created when a Pod is first assigned to a node and can be used for checkpointing a long computation for recovery from system crashes, or used as a scratch space for a disk based merge sort?

  • emptyDir


Question

:

When deploying nodes in a multi-zonal configuration; how many zones should you use to ensure complete high availability?

  • 3


Question

:

What is the main advantage of enabling and using the config connector for Kubernetes?

  • Allow you to manage your GCP resources through Kubernetes


Question

:

Which GKE Dashboard should you use to view running Deployments, DaemonSets and Pods?

  • Workloads


Question

:

The main advantage of creating and using a ConfigMap in the GKE is the ability to:

  • Separate configurations from your pods and components; keeping workloads portable


Question

:

What are the characteristics of a set of pods created with a StatefulSet?

  • Persistent identities

  • Persistent disk storage

  • Stable hostnames