CKAD Kubernetes Application Configuration Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Questions: 20 | Updated: Aug 16, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. A readinessProbe determines whether a container should receive ____ traffic.

Explanation

A readiness probe checks whether an application inside a container is currently able to handle requests. If the probe succeeds, the container is considered ready and can be included among service endpoints; if it fails, it is temporarily removed from routing. This helps prevent requests from reaching containers that are starting up or experiencing problems.

Submit
Please wait...
About This Quiz
CKAD Kubernetes Application Configuration Quiz - Quiz

This quiz evaluates your knowledge of Kubernetes application configuration and deployment practices required for CKAD certification. It covers ConfigMaps, Secrets, resource management, pod configuration, networking, and application lifecycle management. Ideal for developers preparing for the CKAD exam or strengthening their Kubernetes application skills.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. What is the primary function of a RoleBinding in Kubernetes RBAC?

Explanation

A RoleBinding associates a Role or ClusterRole with users, groups, or service accounts, granting those subjects the permissions specified by that role. A RoleBinding applies within a particular namespace, even when it references a ClusterRole. It does not create network routes, manage storage, or control pod scheduling.

Submit

3. A ____ defines the maximum amount of compute resources a namespace can consume.

Explanation

A ResourceQuota sets aggregate limits on resources that a Kubernetes namespace may consume, such as CPU, memory, storage, and the number of objects. It helps prevent one namespace from using more than its allocated share of cluster resources.

Submit

4. Which Kubernetes object allows you to define default values for Pods in a namespace?

Explanation

A LimitRange can set default CPU and memory requests or limits for containers in a namespace. When a Pod is created without specifying those values, Kubernetes applies the configured defaults. It can also enforce minimum and maximum resource constraints, helping ensure workloads use resources within defined bounds.

Submit

5. The imagePullPolicy field with value ____ always pulls the image from the registry.

Explanation

Setting `imagePullPolicy: Always` instructs Kubernetes to contact the container image registry whenever it starts a container and check the specified image tag’s current digest. If image layers are already cached on the node, Kubernetes can reuse them, so this policy ensures a registry check without necessarily downloading every layer again.

Submit

6. Which field in a Pod spec specifies the container image to run?

Explanation

The `image` field in a Pod spec identifies the container image Kubernetes should use to start the container, such as an image hosted in a container registry.

Submit

7. What does a StatefulSet provide that a Deployment does not?

Explanation

A StatefulSet is designed for applications that need stable identities and persistent data. It gives each pod a predictable name and network identity, and can associate it with persistent storage that remains available when the pod is rescheduled. Deployments manage interchangeable, generally stateless pods and do not provide these guarantees.

Submit

8. A ____ is a Kubernetes controller that ensures a specified number of Pod replicas are running.

Explanation

A Deployment declares the desired number of Pod replicas and manages them through a ReplicaSet, replacing failed Pods to maintain that count.

Submit

9. Which Kubernetes object groups related Pods and provides a stable network endpoint?

Explanation

A Service groups related Pods and provides a stable network endpoint for accessing them. It routes traffic to the matching Pods, even as individual Pods are created, replaced, or assigned new IP addresses.

Submit

10. What is the purpose of a startupProbe in Kubernetes?

Explanation

A `startupProbe` checks whether an application inside a container has finished starting successfully. It allows slow-starting applications time to initialize and prevents liveness or readiness probes from running prematurely. If startup does not succeed within the configured limits, Kubernetes treats the container as failed and may restart it.

Submit

11. Which Kubernetes object stores non-sensitive configuration data as key-value pairs?

Explanation

A ConfigMap stores non-sensitive configuration data as key-value pairs, such as application settings or environment variables. Pods can use this data without embedding configuration directly in container images, making it easier to update settings independently of the application code.

Submit

12. Which probe checks if a container is healthy and restarts it if it fails?

Explanation

A livenessProbe periodically checks whether a container is functioning. If the check fails repeatedly, Kubernetes marks the container as unhealthy and the kubelet restarts it. Unlike a readinessProbe, which controls whether the container receives traffic, a startupProbe gives slow-starting applications time to initialize before liveness checks begin.

Submit

13. Environment variables from a ConfigMap can be exposed to a container using the ____ field.

Explanation

In a Kubernetes Pod specification, a container’s `envFrom` field can reference a ConfigMap through `configMapRef`. Kubernetes then makes each key-value pair in that ConfigMap available to the container as an environment variable. This is useful when you want to expose several settings at once rather than listing each variable separately.

Submit

14. What is a Kubernetes Ingress used for?

Explanation

A Kubernetes Ingress manages incoming HTTP and HTTPS traffic, routing requests from outside the cluster to the appropriate services based on rules such as hostnames and URL paths. It typically requires an Ingress controller to implement those rules.

Submit

15. Which Service type exposes the application outside the cluster using a node port?

Explanation

A NodePort Service exposes an application on a specific port on each cluster node. Clients can reach the application from outside the cluster by connecting to a node’s IP address and that port.

Submit

16. A Kubernetes Service of type ____ exposes a Pod internally within the cluster.

Explanation

A ClusterIP Service provides a stable internal IP address and DNS name for accessing Pods within the Kubernetes cluster. It is the default Service type and is not directly accessible from outside the cluster.

Submit

17. What does the 'requests' field in a container resource specification define?

Explanation

The `requests` field specifies the amount of CPU and memory a container is expected to need. Kubernetes uses these values when scheduling the container onto a node and reserves capacity accordingly, helping ensure those resources are available. It does not set the maximum the container can use; limits serve that purpose.

Submit

18. Which field in a Pod specification defines resource limits for CPU and memory?

Explanation

In a Pod’s container specification, `resources.limits` defines the maximum CPU and memory the container may use. Kubernetes enforces these limits: CPU use can be throttled, while exceeding the memory limit can cause the container to be terminated. By contrast, `resources.requests` specifies the resources reserved for scheduling.

Submit

19. How do you mount a ConfigMap as a volume in a Pod?

Explanation

Define a volume in the Pod specification with a `configMap` source referencing the ConfigMap, then add a `volumeMounts` entry to the container to specify where that volume appears in its filesystem. This makes the ConfigMap’s keys available as files in the mounted directory, without needing to set them as environment variables.

Submit

20. What is the primary purpose of a Kubernetes Secret?

Explanation

A Kubernetes Secret is designed to hold confidential information such as passwords, API tokens, and certificates. Applications and pods can access this data without embedding it directly in container images or ordinary configuration files. Secrets help manage sensitive values separately, though additional encryption and access controls are recommended for protection.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
A readinessProbe determines whether a container should receive ____...
What is the primary function of a RoleBinding in Kubernetes RBAC?
A ____ defines the maximum amount of compute resources a namespace can...
Which Kubernetes object allows you to define default values for Pods...
The imagePullPolicy field with value ____ always pulls the image from...
Which field in a Pod spec specifies the container image to run?
What does a StatefulSet provide that a Deployment does not?
A ____ is a Kubernetes controller that ensures a specified number of...
Which Kubernetes object groups related Pods and provides a stable...
What is the purpose of a startupProbe in Kubernetes?
Which Kubernetes object stores non-sensitive configuration data as...
Which probe checks if a container is healthy and restarts it if it...
Environment variables from a ConfigMap can be exposed to a container...
What is a Kubernetes Ingress used for?
Which Service type exposes the application outside the cluster using a...
A Kubernetes Service of type ____ exposes a Pod internally within the...
What does the 'requests' field in a container resource specification...
Which field in a Pod specification defines resource limits for CPU and...
How do you mount a ConfigMap as a volume in a Pod?
What is the primary purpose of a Kubernetes Secret?
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!