wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Intro Container - Quizz 3 - Working with Kubernetes

Total questions: 30

Worksheet time: 15mins

Name
Class
Date
1.
Kubernetes is…
a)
A CI/CD tool
b)
An open-source container orchestration system
c)
A monitoring agent
d)
A virtual machine platform
2.
Kubernetes provides mechanisms for…
a)
Logging only
b)
Deployment, maintenance, scaling
c)
Billing and finance
d)
Testing pipelines
3.
Kubernetes is built on concepts from…
a)
Docker Swarm
b)
Google Borg
c)
Mesos
d)
OpenStack
4.
The Control Plane (Master Node) manages…
a)
Logs
b)
The entire cluster
c)
Storage only
d)
Networking only
5.
Worker nodes provide…
a)
Containers
b)
Compute, storage, and networking resources
c)
API endpoints
d)
Only network
6.
The API Server offers…
a)
GUI interface
b)
REST interface to Kubernetes
c)
File transfer service
d)
DNS resolution
7.
etcd is used to…
a)
Schedule pods
b)
Store cluster state data
c)
Manage users
d)
Create manifests
8.
The Controller Manager…
a)
Creates users
b)
Regulates cluster state through control loops
c)
Handles DNS
d)
Schedules nodes
9.
The Scheduler decides…
a)
Network policies
b)
On which nodes Pods run
c)
User permissions
d)
Image builds
10.
Kubelet is…
a)
Node agent managing Pod lifecycle
b)
The control plane API
c)
A database
d)
A monitoring tool
11.
Kube-proxy is responsible for…
a)
Authentication
b)
Network rules & load balancing
c)
Pod deployment
d)
Volume storage
12.
Container runtimes must be…
a)
CRI-compatible
b)
Jenkins-compatible
c)
NodeJS-based
d)
Kubernetes-free
13.
Example of Kubernetes runtime…
a)
Jenkins
b)
containerd or CRI-O
c)
Terraform
d)
Ansible
14.
kubectl interacts with Kubernetes through…
a)
REST API
b)
Web dashboard
c)
Docker CLI
d)
File API
15.
A Pod is…
a)
A single container only
b)
The smallest deployable unit
c)
A node
d)
A namespace
16.
Containers inside a Pod…
a)
Have separate IPs
b)
Share IP, storage, and localhost
c)
Run on different nodes
d)
Use different networks
17.
Pods are…
a)
Ephemeral
b)
Permanent
c)
Static
d)
Manual only
18.
A ReplicaSet ensures…
a)
DNS configuration
b)
Desired number of Pods
c)
Security rules
d)
Image pulling
19.
A Deployment provides…
a)
Rolling updates & rollback
b)
Manual redeploy only
c)
Logging
d)
Network services
20.
A Service exposes…
a)
Nodes to internet
b)
Pods as a network service
c)
Namespaces
d)
ConfigMaps
21.
Services use…
a)
Labels to connect Pods
b)
IP addresses only
c)
Volumes
d)
DNS only
22.
Namespaces allow…
a)
Resource isolation in a cluster
b)
Pod scaling
c)
Deployment replication
d)
Monitoring
23.
Resources in namespaces must be unique…
a)
Across all clusters
b)
Within a namespace
c)
Across nodes
d)
Globally
24.
Default DNS entry format for services is…
a)
.cluster.local
b)
..svc.cluster.local
c)
.svc.kube.local
d)
.pod.local
25.
kubectl command format is…
a)
kubectl [resource] [flag]
b)
kubectl [command] [TYPE] [NAME] [flags]
c)
kubectl [--cmd]
d)
kubectl [get] [object]
26.
Command to get cluster info?
a)
kubectl info
b)
kubectl cluster-info
c)
kubectl system
d)
kubectl show cluster
27.
Command to list all Pods?
a)
kubectl list pods
b)
kubectl get pods
c)
kubectl pods
d)
kubectl get containers
28.
Command to check detailed Pod info?
a)
kubectl get
b)
kubectl describe pod
c)
kubectl logs
d)
kubectl info
29.
Command to create a deployment from an image?
a)
kubectl make
b)
kubectl create deployment --image=
c)
kubectl start
d)
kubectl add
30.
YAML manifest requires these main sections…
a)
name, label, version
b)
apiVersion, kind, metadata, spec
c)
version, image, config
d)
metadata, app, code