wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Certified Kubernetes Administrator

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

What are the master components? (choose all that apply)

a)

API Server

b)

Kubelet

c)

Scheduler

d)

Controller-manager

e)

Etcd

2.

What are the worker components? (choose all that apply)

a)

Kubelet

b)

Kube-proxy

c)

Kube API Server

d)

Container Runtime

e)

Etcd

3.

What are Pod Controllers? (choose all that apply)

a)

ReplicaSet

b)

DaemonSet

c)

ReplicaPod

d)

StatefulSet

e)

Deployment

4.

What was Kubernetes called before it got opensource?

a)

Containerd

b)

Borg

c)

Rocket

d)

Kubecon

5.

How do we expose deployments/pods?

a)

Deployment

b)

Service

c)

ReplicaSet

d)

Ingress

6.

What is the correct fqdn for service "nginx" in namespace "app"?

a)

nginx.local

b)

nginx.app.svc.cluster.local

c)

nginx.app.cluster.local

d)

nginx.svc.cluster.local

7.

Name the 4 main network issues/problems/topics within Kubernetes? (choose all that apply)

a)

Container tot Container

b)

Pod to Pod

c)

Pod to Service

d)

External to Service

e)

Deployment to Service

8.

Which 2 steps does the scheduler perform to select a node for a pod?

a)

Scoring

b)

Analyzing

c)

Filtering

d)

Granting

9.

What is not a valid affinity rule?

a)

Pod AntiAffinity

b)

Pod Affinity

c)

Node Anti Affinity

d)

Node Affinity

10.

A service account is scoped to a namespace

a)

True

b)

False

11.

A service account can be binded to? (choose all that apply)

a)

A role

b)

A clusterrole

c)

A rolebinding

d)

A clusterrolebinding

12.

Based on what do Networkpolicy resources select pods to define and apply rules?

a)

Pod names

b)

Namespace name

c)

Labels

13.

On which level can you apply security contexts? (choose all that apply)

a)

Pod

b)

Deployment

c)

Container

d)

Service

14.

Secrets cannot be mounted into pods via a volume!

a)

True

b)

False

15.

What are types of Volumes? (choose all that apply)

a)

emptydir

b)

secret

c)

configmap

d)

persistentvolumeclaim

e)

persistentvolume

16.

A Persistent Volume depends on the lifetime of a Pod!

a)

True

b)

False

17.

A Volume stops to exist when a container restarted or deleted!

a)

True

b)

False

18.

What does kubectl drain <node> do?

a)

Move pods and make specified node unavailable for scheduling new pods?

b)

Make node unavailable for new pods?

c)

Move pods from the specified node?

d)

Remove specified node from cluster

19.

What command makes a node available for scheduling again?

a)

kubectl uncordon

b)

kubectl cordon

20.

What is the correct order of steps to upgrade your OS?

a)

1) kubectl drain <node>

2) Upgrade OS

3) kubectl cordon <node>

b)

1) kubectl drain <node>

2) Upgrade OS

3) kubectl uncordon <node>

c)

1) kubectl cordon <node>

2) Upgrade OS

3) kubectl uncordon <node>

d)

1) kubectl uncordon <node>

2) Upgrade OS

3) kubectl cordon <node>