wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

k8s-1

Total questions: 10

Worksheet time: 8mins

Name
Class
Date
1.

What types of applications can Kubernetes run?

a)

Anything that can run on Linux

b)

backend APIs

c)

Batch Jobs

d)

Web frontend

2.

Which Linux technologies should be utilized to run a production-grade containerization system?

a)

Control daemons running with elevated privileges

b)

Namespaces

c)

Additional security mechanism (SELinux, seccomp, etc.)

d)

cgroups

3.

Which kubectl command will switch the current context to a different one?

a)

kubectl config get-contexts

b)

kubectl config set-context mycontext

c)

kubectl config use-context mycontext

d)

kubectl set-context mycontext

4.

How is authentication to Kubernetes cluster performed at Linker Cloud?

a)

With OpenID Connect token, obtained from Keycloak

b)

With a dedicated user name and password

c)

With a X.509 certificate

d)

With a bearer token, obtained via AWS

5.

Can Kubernetes build a container image?

a)

Yes, with built-in functionality

b)

No

c)

Yes, with 3rd-party tools or a custom solution

6.

What is the purpose of YAML representation of a Kubernetes resource?

a)

kubectl needs to parse it, and translate to use methods and attributes used by Kubernetes API

b)

kubectl converts YAML into JSON and sends as-is to appropriate Kubernetes API

c)

kubectl uploads YAML as a file to Kubernetes master, where it is parsed

7.

A Pod is:

a)

a concept specific to podman

b)

made of one or more containers

c)

made of exactly one container

d)

smallest deployable computing unit in Kubernetes

8.

A ConfigMap resource can be consumed by the application running in a Pod, in the following way:

a)

Environment variables created from ConfigMap keys

b)

By issuing a request to Kubernetes API within the cluster

c)

With files stored in the container image during image build

d)

With files created in configuration volume, from ConfigMap keys

9.

A command can be executed in a running Kubernetes Pod, using:

a)

kubectl exec podname -- command

b)

kubectl exec podname -c command

c)

docker exec command

d)

kubectl run podname command

10.

I have Kubernetes problems and I am strongly convinced these problems are not between keyboard and chair. Where should I ask questions?

a)

Direct message to rkujawa

b)

On #linker-general-internal channel

c)

Direct message to dkierdal

d)

On #kubernetes channel