wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Introduction to Kubernetes

Total questions: 25

Worksheet time: 13mins

Name
Class
Date
1.

What is YAML?

a)

It is a human-friendly, data serialization standard for all programming languages.

b)

It is a generic, read-only data structure for Kubernetes.

c)

It is a markup language dedicated to translating text formatting between sources.

d)

It is a markup language for managing application abstractions.

2.

Why is a node managed by an external, master node?

a)

Because a Kubernetes node is running a traditional operating system package and therefore cannot run in an isolated sense.

b)

Because a node is a simple worker unit and does not have the resource to manage itself.

c)

Because if a node goes offline, there would be no way for it to communicate its status to other nodes.

d)

Because a node does not container the Kubernetes container runtime which stops it from reading its own metadata.

3.

What is the role of the control plane in a cluster?

a)

To register the node it's running with the application programming interface (API) server.

b)

To make the cluster's current state match the desired state.

c)

To deploy and rune the application containers.

d)

To allocate the node the pods need to be created.

4.

Whit is kube-scheduler, one of the kubernetes master components, responsible for?

a)

Allocating cloud resources defined whithin your cluster, such as creating storage voumes.

b)

Watching for newly created Pods, and determining which node they should run on.

c)

Invoking container on a cron schedule that the user defines.

d)

Load balancing between the worker nodes when an incoming request is received.

5.

What is the purpose of a context element in a kubeconfig file?

a)

To group custom resources in a Kubernetes configuration.

b)

To group access parameters under a single name.

c)

To group authentication mapping in a Kubernetes cluster.

d)

To group public elements in a Kubernetes cluster.

6.

The Master Node has which feature?

a)

Container manager.

b)

Image manager.

c)

etcd key/value store.

d)

Kubernetes controller.

7.

What is the most basic type of resource in Kubernetes?

a)

Pod

b)

Deployment

c)

Service

d)

Container

8.

Which of the following is NOT a feature provided by Kubernetes?

a)

Self-healing.

b)

Automate rollouts/rollbacks.

c)

Horizontal Scaling.

d)

Image Creation.

e)

Service Discovery.

9.

Which types of nodes does Kubernetes supports?

a)

Admin and Task.

b)

Master and Worker.

c)

Cluster and Team.

d)

Master and Build.

10.

Which Cluster Component stores the configuration in the Cluster Store?

a)

API Server

b)

kubectl

c)

etcd

d)

kubelet

e)

Controllers

11.

What does Kubernetes enable system and application developers to do?

a)

Change your application architecture from monoliths to micro services.

b)

Quickly and consistently deploy container-based applications.

c)

Store persistent data in distributed cloud infrastructures.

d)

Migrate applications into cloud-based infrastructures.

12.

In Kubernetes, which of the following is NOT true about Pods?

a)

Pods can contain one or more containers.

b)

Pods are the unit of scheduling in the cluster.

c)

Pods are ephemeral and can never be redeployed.

d)

Pods can be redeployed with state.

13.

In Kubernetes, what has the responsibility of managing the state of your Pod?

a)

Cluster Store

b)

kubectl

c)

Controllers

d)

Pods

14.

What has the responsibility of downloading and running container images in Kubernetes?

a)

Scheduler

b)

Controller Manager

c)

Container Runtime

d)

API Server

15.

For Kubernetes to run on a Linux-based operating system, which of the following is required?

a)

Dynamically-sized swap file.

b)

Fixed swap file size.

c)

Swap file on dedicated disk.

d)

Swap disabled.

16.

What is the primary principle behind keeping applications online in Kubernetes?

a)

Desired State

b)

Controllers

c)

ReplicaSets

d)

API Server

17.

In Kubernetes, what are API objects?

a)

A collection of imperative code that configures the state of your system.

b)

A collection of declarative code that configures the state of your system.

c)

A method of deploying applications in Kubernetes.

d)

A collection of primitives to represent the state of your system.

18.

What is the default port number for the API Server?

a)

443/tcp

b)

6443/udp

c)

6443/tcp

d)

80/tcp

19.

Some statements related to Kubernetes are given below. Which of these is true?

a)

Kubernetes acts as a hypervisor and abstracts standalone containers from the underlying hardware and OS.

b)

Kubernetes is an orchestration technology for containers that hosts those container within pods.

c)

Containers that crash in a container cluster managed by Kubernetes cannot be restarted automatically.

d)

Kubernetes is a containerization technology that packages code and its dependencies into an image.

20.

Among the following Kubernetes components, which one refers to the machines that constitute the cluster and run the various Kubernetes services?

a)

Node Images

b)

Clusters

c)

Nodes

d)

Node Pools

21.

What command-line tool is used to interact with the Kubernetes API?

a)

docker

b)

docker-compose

c)

kubernetes

d)

kubectl

e)

kubelet

22.

What is the primary application transport mechanism for the Kubernetes API Server.

a)

TCP multiplexing over HTTP/S

b)

JavaScript over WebSockets

c)

Service side RPC calls

d)

JSON over HTTP/S

23.

Objects in the Kubernetes are organized by which following methods.

a)

Key value store

b)

etcd's concurrency model

c)

Object level resourceVersion

d)

Kind, Group, and API Version

24.

For Kubernetes API Objects that were part of the initial releases, which API Group are they in?

a)

Workload

b)

Core/Legacy

c)

Fundamental

d)

They've been refactored into their appropriate API Groups.

25.

What is the primary unit of allocating work in a Kubernetes Cluster?

a)

Container

b)

Manifest

c)

Deployment

d)

Pod