wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Docker_Kubernetes_Git

Total questions: 28

Worksheet time: 14mins

Name
Class
Date
1.

Which of the following is a text document that contains all the commands a user could call on the command line to assemble an image?

a)

Docker Cloud

b)

Dockerfile

c)

Docker Kitematic

d)

Docker Compose

2.

Which of the following is a cloud-hosted service from Docker that provides registry capabilities for public and private content?

a)

Docker Hub

b)

Docker Cloud

c)

Docker Swarm

d)

Docker Compose

3.

How many private repositories are allowed for an individual on Docker hub?

a)

1

b)

3

c)

5

d)

7

4.

You can't create multiple containers from the same image in Docker

a)

True

b)

False

5.

What port does the Docker registry use?

a)

Port 3000

b)

Port 5000

c)

Port 8000

d)

None of the above

6.

A Docker registry is a place to store and distribute Docker ...............?

a)

Codes

b)

Images

c)

Files

d)

All of the above

7.

What is a cluster?

a)

A single system made up of servers and other resources

b)

A computer program or device that provides services to other computers

c)

A specific set of ordered operations

d)

A software package that performs a specific function for an end-user

8.

Which is the intended use for etcd?

a)

To link a unique identifier to a value

b)

To encrypt cluster data and send it to a secrets manager

c)

To authenticate cluster data

d)

To store all the cluster data, maintain its state, and provide access to critical data

9.

What is the function of labels?

a)

To classify functions

b)

To tag containers and link them together in groups

c)

To assign functions to pods

d)

To be ignored by millennials

10.

What is the mission of the control plane?

a)

To manage clusters of pods

b)

To regulate communication between Kubernetes and clusters

c)

To move workloads from one host to another

d)

To control nodes

11.

What is a kubelet?

a)

Software that is used to run containers outside of pods

b)

A smaller version of Kubernetes

c)

A node agent that manages pods and their containers

d)

A device that collects data in an organized manner for easy access

12.

What can you deploy on Kubernetes?

a)

Containers

b)

Virtual machines

c)

System processes (like sshd, httpd)

13.

Cronjobs in kubernetes run in .....................

a)

GMT only

b)

UTC only

c)

Local time zone

d)

Server NTP settings

14.

Which of the following forms the core Kubernetes objects?

a)

Pod

b)

Service

c)

Volume

d)

All of the Above

15.

Kube-API server on Kubernetes master is designed to scale.

a)

Vertically

b)

Horizontally

c)

Both Vertically & Horizontally

d)

None of above

16.

Which of the following command is used to create Kubernetes service?

a)

Kubectl run

b)

Kubectl deploy

c)

Kubectl expose

d)

None of the above

17.

............ is responsible for the health check of the pods running on individual nodes.

a)

Kubectl

b)

Kubelet

c)

Kube scheduler

d)

Kube controller manager

18.

To create a new deployment in Kubernetes, use the command ..................

a)

Kubectl run

b)

Kubernetes get deployment

c)

Kubernetes set deployment

d)

None of above

19.

Kubernetes is written in which language?

a)

Go

b)

C++

c)

Python

d)

Java spring framework

20.

Which Command is used to show a limited number of commits?

a)

git status

b)

git config

c)

git log -n

d)

git fetch

21.

Which command defines the author email to be used for all commits by the current user:

a)

git config --global user.email

b)

git email--amend user.email

c)

git merge --no-ff

d)

git clean -f user.email

22.

Which Git command displays the patch representing each commit:

a)

git branch

b)

git log -p

c)

git log

d)

git remote -v

23.

Which of the following git command downloads your repository from GitHub to your computer?

a)

git clone

b)

git commit

c)

git fork

d)

git clone -y

24.

Which of the following shortcut to staging all the changes you have?

a)

git add

b)

git commit

c)

git commit add

d)

git push -am "Message"

25.

What is the full form of VCS?

a)

Version Configuration Solutions

b)

Version Configuration System

c)

Version Control System

d)

Version Consolidated Solutions

26.

Which of the following terminology is not related to git?

a)

branch

b)

stem

c)

fork

d)

staging area

27.

Which of the following git command can be used to check the stored stashes?

a)

git stash

b)

git stash map

c)

git stash list

d)

git stash set

28.

Which of the following statement is true about git ignore file?

a)

We can create multiple ignore files in a different directory

b)

The .gitignore file contains all the formats and files that should be ignored while commit

c)

Both of the above

d)

None