wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Docker and Kubernetes - Day-3

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Which Kubernetes component manages the assigning PODs to nodes?

a)

etcd

b)

API Server

c)

Scheduler

d)

POD Controller

2.

What is the name of namespace in Kubernetes which is used for special cluster purposes?

a)

Default

b)

kube-system

c)

kube-config

d)

kubesystem

3.

An abstraction in Kubernetes which allows access to a logical set of Pods is?

a)

kube-proxy

b)

Service

c)

Deployment

d)

LoadBalancer

4.

What you can use in Kubernetes to ensure that your application is ready to handle incoming traffic?

a)

Liveness Probe

b)

Readiness Probe

c)

Service Probe

d)

Startup time Probe

5.

If the given POD is restarted what will happen to its IP address?

a)

Will be the same. Only recreating the POD assigns new IP

b)

Will change to new one

c)

Will be hold until POD finish with state Failed

d)

Will move to new instance of the POD

6.

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

a)

nginx.app.local

b)

nginx.app.svc.cluster.local

c)

nginx.app.cluster.local

d)

nginx.svc.cluster.local

7.

Why is the old ReplicaSet keep around (but scaled down to 0)?

a)

It can be then reuse by new deployment of the same type of PODs

b)

In case of rollback

c)

In case of red-pin deployment type

d)

In case of red-green deployment type

8.

What Kubernetes service type only works with cloud-provider?

a)

ClusterIP

b)

NodePort

c)

CloudService

d)

LoadBalancer

9.

Does removing the StatefulSet also remove associated PersistentVolumeClaims?

a)

Yes

b)

No

c)

It depends on StatefulSetPolicy

10.

What is an initContainer?

a)

It is container that run before the main container

b)

It is container that initialize the data for main container

c)

It is container that is run when a K8s cluster boots up

d)

It is container with init process for main container