← certdrill.dev home

Kubernetes Quiz

7 questions / 10 random questions

Deployment Service ConfigMap Secret Probe Ingress and ServiceAccount
Try a 10-question Kubernetes quiz

Random questions, instant feedback, and review for missed questions.

Start quiz →

Included topics (7 questions)

Q1

In Kubernetes, which resource is typically used to maintain the desired number of Pod replicas and handle rolling updates?

Answer: Deployment

A Deployment manages ReplicaSets to maintain the desired number of Pods and supports rolling updates and rollbacks for common workloads.

Q2

In Kubernetes, which resource provides a stable virtual IP or DNS name for a group of Pods and abstracts the communication target?

Answer: Service

A Service provides a stable network endpoint for Pods selected by labels, regardless of Pod replacement or rescheduling.

Q3

In Kubernetes, which resource is suitable for passing non-sensitive application settings to Pods?

Answer: ConfigMap

A ConfigMap is used to pass non-sensitive configuration data, such as configuration files and environment variables, to containers.

Q4

In Kubernetes, which resource is used to handle sensitive information such as passwords and tokens?

Answer: Secret

A Secret is the Kubernetes resource for sensitive information. In practice, RBAC, encryption, and external secret management should also be considered.

Q5

What is the main purpose of a Kubernetes livenessProbe?

Answer: To check whether a container is alive and restart it if it is unhealthy

A livenessProbe is a health check used to restart a container when the application becomes stuck or unhealthy. It has a different role from a readinessProbe.

Q6

In Kubernetes, which resource is commonly used as an HTTP/HTTPS entry point that routes traffic to Services based on host names or paths?

Answer: Ingress

An Ingress defines external HTTP/HTTPS routing rules. An Ingress Controller is required to make those rules work in a cluster.

Q7

In Kubernetes, what is used as the runtime identity assigned to a Pod for RBAC and cloud integration?

Answer: ServiceAccount

A ServiceAccount acts as the identity a Pod uses when accessing the Kubernetes API or external cloud resources.

certdrill.dev is an independent, unofficial learning site and is not affiliated with LPI Japan, IPA, AWS, Microsoft Azure, or any exam provider. Questions and explanations are original content.