Week 6: Containers in The Cloud

Spread the love

Kubernetes and Google Kubernetes Engine are used to manage containers in this section of the course.

Learning Objectives:

  • Explain what a container is and its applications.
  • Describe Kubernetes and Google Kubernetes Engine and their respective use cases.
  • Understand hybrid and multi-cloud computing with Anthos.

CONTAINERS IN THE CLOUD

1. Select two reasons for using containers to deploy applications. (Choose 2 responses.)

  • It creates consistency across development, testing, and production environments. (Correct)
  • It provides tight coupling between applications and operating systems.
  • Allocating resources in which to run containers is not necessary.
  • Migrating workloads is simpler. (Correct)

2. How do containers access an operating system?

  • Each container has its own instance of an operating system.
  • Containers use a shared base operating system stored in a shared kernel layer. (Correct)
  • Containers use a shared base operating system stored in a Cloud Storage bucket.
  • Containers use a shared base operating system stored in a shared runtime layer.

3. What is a Kubernetes pod?

  • A group of VMs
  • A group of containers (Correct)
  • A group of clusters
  • A group of nodes

4. What is a Kubernetes cluster?

  • A group of containers that provide high availability for applications.
  • A group of machines where Kubernetes can schedule workloads. (Correct)
  • A group of pods that manage the administration of a Kubernetes application.

5. Where do the resources used to build Google Kubernetes Engine clusters come from?

  • Compute Engine (Correct)
  • Cloud Storage
  • Bare metal servers
  • App Engine

6. How do you keep your Kubernetes version updated in Google Kubernetes Engine?

  • The Google Kubernetes Engine team periodically performs automatic upgrades of your cluster to newer stable versions. (Correct)
  • You need to stop your cluster and manually update the Kubernetes version in your cluster.
  • You are required to set up a cron job to periodically check the Kubernetes version in your cluster.
  • You cannot update a running cluster. You need to create a copy of the cluster with the updated Kubernetes version.

7. Anthos provides a rich set of tools for monitoring and maintaining the consistency of your applications across which of the following locations?

  • Applications hosted on-premises only.
  • Applications hosted with one cloud provider only.
  • Applications hosted with multiple cloud providers only.
  • Applications hosted on-premises, in the cloud, or in multiple clouds. (Correct)

Leave a Comment