Courseiva

KCNA · domain

scenario questions

Practise Kubernetes and Cloud Native Associate KCNA scenario questions practice questions — original exam-style scenarios with answer choices, explanations, and analysis of common mistakes.

930 questions227 easy457 medium246 hard

Focused practice

Practice scenario questions questions

Scored sessions drawing only from this domain — pick a length below.

Start 20-question practice test →

What this domain covers

What to know about scenario questions

scenario questions questions test whether you can apply the concept in context, not just recognise a definition.

How the topic appears in realistic exam-style scenarios.

Which detail in the question changes the correct answer.

How to eliminate plausible but wrong options.

How to connect the question back to the wider exam objective.

Watch out for

Common scenario questions exam traps

  • ▸Answering from memory before reading the full scenario.
  • ▸Missing a constraint such as cost, availability, security, scope or command context.
  • ▸Choosing a broad answer when the question asks for the most specific fix.
  • ▸Ignoring why the wrong options are tempting.

Question index

All scenario questions questions (930)

Click any question to see the full explanation, or start a practice session above.

1

You have a ConfigMap named 'app-config' with key 'database.url'. Which environment variable reference in a Pod spec injects this value correctly?

Medium
2

A team wants to manage their Kubernetes infrastructure using code. Which tool is specifically designed for Infrastructure as Code (IaC) and can manage Kubernetes resources?

Medium
3

Which three of the following are true about Services in Kubernetes? (Select three.)

Hard
4

Which component on each worker node is responsible for ensuring that containers are running as specified in the Pod manifest?

Medium
5

In the 12-factor app methodology, which factor describes the practice of storing configuration in environment variables?

Medium
6

A security team wants to audit which users performed privileged actions in a Kubernetes cluster. They need a record of API requests, including the user, verb, resource, and response status. Which Kubernetes feature should they enable?

Easy
7

In a service mesh architecture, which component is responsible for intercepting and managing traffic to and from a pod?

Medium
8

When using OpenTelemetry, what is the role of the 'Collector'?

Hard
9

Which command is used to rollback a Helm release to a previous revision?

Easy
10

An SRE team is reviewing a stateless web tier that runs as a Deployment. They want the platform to automatically add replicas when average CPU utilization across the Pods rises above a target, and to remove replicas when load drops, without any manual intervention. Which Kubernetes resource should they configure?

Medium
11

Which component runs on every node and is responsible for ensuring that containers are running as specified in Pod manifests?

Easy
12

A pod is stuck in Pending state. Which THREE of the following are possible causes?

Hard
13

Which of the following is a key benefit of container orchestration compared to running containers manually?

Easy
14

You need to run a stateless web application with three replicas, and you want to ensure that if a pod fails, it is automatically replaced. Which Kubernetes resource should you use?

Medium
15

Which THREE are valid container runtimes that implement the Kubernetes CRI? (Choose three.)

Hard
16

Which TWO of the following are valid PromQL functions? (Select two.)

Medium
17

In the context of the 12-factor app methodology, which factor is addressed by storing configuration in environment variables?

Hard
18

A user wants to check the resource usage of Pods in a cluster. Which command should be used to display CPU and memory usage for all Pods in the default namespace?

Easy
19

Which component in a service mesh architecture is responsible for handling inter-service communication on behalf of the application container?

Medium
20

Which kubectl command would you use to view the logs of a specific container named 'app' in a multi-container Pod named 'web-pod'?

Medium
21

What is the role of the kubelet on a worker node?

Easy
22

In a service mesh architecture, what is the role of the sidecar proxy?

Medium
23

A site reliability engineer is investigating high latency in a microservices application. They have distributed traces but need to understand how a single trace spans multiple services and where time is spent. Which OpenTelemetry concept allows correlating spans across service boundaries into a single trace?

Hard
24

Which Prometheus metric type is used to represent a value that can increase or decrease over time, such as memory usage?

Easy
25

Which THREE of the following are components of the OpenTelemetry project?

Hard
26

In the context of DORA metrics, which metric measures how often an organization successfully releases to production?

Medium
27

Which Kubernetes object provides stable network endpoints and load balancing for a set of Pods?

Medium
28

During a canary deployment using Argo Rollouts, how does the tool determine the success of the canary before promoting it?

Medium
29

Which TWO of the following are benefits of using containers over virtual machines? (Choose 2)

Easy
30

Which of the following best describes the purpose of the Cloud Native Computing Foundation (CNCF)?

Easy
31

Which command would you use to view the logs of a container named 'web' in a pod named 'frontend' running in the 'production' namespace?

Medium
32

Which TWO of the following are valid ways to expose a Deployment as a Service?

Medium
33

In an event-driven architecture, what is the role of an event broker?

Medium
34

What is the main advantage of using OpenTelemetry over vendor-specific instrumentation libraries?

Hard
35

Which THREE of the following are benefits of using a service mesh? (Choose 3.)

Hard
36

A Kubernetes cluster is experiencing network latency. The team suspects that the number of services and endpoints is causing iptables performance degradation. Which CNI plugin or network policy approach is most likely to improve performance?

Hard
37

A platform engineer is troubleshooting a Pod stuck in the Pending state and wants to identify scheduling-related causes. Which two commands or outputs are most useful for diagnosing why the scheduler cannot place the Pod? (Choose two.)

Medium
38

You have a Pod that needs to run a one-time batch job to completion. Which resource type should you use?

Hard
39

Which THREE of the following are features of Helm that facilitate release management? (Choose three.)

Hard
40

Which Prometheus metric type is best suited for counting the total number of HTTP requests received by a service?

Easy
41

Which of the following is a worker node component responsible for ensuring that containers are running in a pod as specified in the pod's spec?

Easy
42

An organization uses Flux with Kustomize to manage their Kubernetes applications. They want to automatically update their deployment when a new container image is pushed to the registry. Which Flux component should they use?

Hard
43

You need to run a batch job that processes a queue and then terminates. Which Kubernetes resource should you use?

Medium
44

Which component of the Istio service mesh is responsible for certificate signing and identity management?

Medium
45

Which component on a worker node is responsible for enforcing the network rules and implementing Service abstractions?

Medium
46

You are designing a microservices application. Which of the following is a key principle of microservices architecture?

Hard
47

You have a Deployment named 'web-app' that manages 3 replicas. You need to update the container image from version 1.0 to 2.0 with zero downtime. Which Kubernetes feature is designed to handle this automatically when you update the Deployment's pod template?

Medium
48

What is the smallest deployable unit in Kubernetes?

Easy
49

A team runs a stateless web application and wants to update its container image with zero downtime while gradually shifting traffic to the new version. They also need the ability to pause the rollout, inspect the new Pods, and then resume. Which Kubernetes workload and strategy best supports this workflow?

Medium
50

A Deployment manages ReplicaSets and supports rolling updates. You want to change the container image of a Deployment without downtime. What is the recommended approach?

Medium
51

Which THREE of the following are valid options for the 'kubectl get' command to display output in different formats?

Medium
52

Which three of the following are valid ways to expose a service externally in Kubernetes? (Select THREE.)

Hard
53

A cluster has a node with the taint 'node-role.kubernetes.io/control-plane:NoSchedule'. A pod must be scheduled on this node for a special workload. Which action is required?

Hard
54

Which component in a service mesh is responsible for handling traffic management, security, and observability as a sidecar proxy?

Medium
55

A developer wants to run a container image locally for testing before deploying to a Kubernetes cluster. Which tool is most appropriate for this task?

Medium
56

An administrator needs to grant a ServiceAccount in namespace 'dev' permission to list and watch Pods in the same namespace. Which combination of resources is required?

Hard
57

A platform engineer is preparing a new cluster and wants each worker node to run a copy of a log-forwarding agent that must also run on control-plane nodes. Which Kubernetes workload resource should be used?

Easy
58

You have a Deployment that runs a web application. You need to expose this application externally on a fixed port using a cloud load balancer. Which Service type should you use?

Hard
59

Which component runs on every node and is responsible for maintaining network rules that allow communication to Pods from network endpoints?

Medium
60

You want to view the logs of a running pod named 'my-pod'. Which kubectl command should you use?

Easy
61

What is the purpose of kube-proxy on a worker node?

Medium
62

What is the purpose of the metrics-server in Kubernetes?

Easy
63

Which Kubernetes resource provides stable network endpoints for a set of pods, enabling service discovery and load balancing?

Medium
64

A Pod has been in 'Pending' state for an unusual amount of time. Which of the following is a likely cause?

Medium
65

Which resource type provides a stable IP address and DNS name to access a set of Pods, regardless of Pod IP changes?

Medium
66

A user runs 'kubectl get pods -n production' and sees no output. What is the most likely reason?

Medium
67

A team is designing a cloud-native application and wants to ensure that the failure of a single availability zone does not cause a full outage. They deploy the application across multiple zones and configure the orchestrator to distribute replicas evenly. Which cloud-native architecture principle does this scenario primarily demonstrate?

Medium
68

You have a Pod with a container that runs a web server. The Pod has a memory request of 256Mi and a memory limit of 512Mi. The container attempts to allocate 600Mi of memory. What happens?

Hard
69

Which THREE of the following are valid fields in a Kubernetes Deployment spec (apps/v1)?

Hard
70

You want to expose a set of pods running a web application on port 80 internally within the cluster, with a stable IP address, so that other services can reach them. Which Kubernetes resource should you create?

Medium
71

Drag and drop the steps to scale a Kubernetes Deployment horizontally into the correct order.

Medium
72

Which TWO of the following are valid Prometheus metric types?

Medium
73

Which kubectl command would you use to view detailed information about a specific pod, including events and container status?

Easy
74

A Service of type ClusterIP has been created, but pods in the same namespace cannot reach it by its DNS name. The Service selector matches the pods. What is a likely cause?

Hard
75

You need to run a one-time batch job that processes data and then exits. The job should run to completion and not be restarted. Which Kubernetes resource should you use?

Hard
76

In OpenTelemetry, which component is responsible for receiving, processing, and exporting telemetry data from multiple sources?

Medium
77

A developer runs `kubectl apply -f pod.yaml` against a cluster running Kubernetes v1.29. The Pod manifest sets `spec.restartPolicy: Always` and `spec.containers[0].name: app`. The Pod starts successfully but the developer wants to change the container image from `nginx:1.24` to `nginx:1.25`. They edit the YAML file and re-run `kubectl apply -f pod.yaml`. What is the result?

Medium
78

In Prometheus, what is the purpose of the Alertmanager component?

Hard
79

Which three components are part of the Kubernetes control plane?

Hard
80

Which TWO of the following are benefits of container orchestration?

Medium
81

A developer wants to run a containerized application locally for development. Which tool is most appropriate?

Medium
82

Which CNCF project is classified as a 'graduated' project?

Easy
83

An application requires stable network identities and persistent storage. Which workload type should be used?

Medium
84

A CI pipeline builds a container image and tags it only as latest before pushing to a registry. A release engineer needs to deploy a specific, immutable version and be able to roll back to a known good build. What is the best practice to adopt?

Medium
85

Which component of the Kubernetes control plane is responsible for persisting the cluster state?

Easy
86

Which THREE are typical characteristics of a cloud-native application?

Hard
87

You are implementing an API gateway pattern for a set of microservices. Which of the following is a typical responsibility of an API gateway?

Hard
88

Which of the following is a benefit of using an orchestrator like Kubernetes?

Easy
89

Which TWO of the following components are part of the Kubernetes control plane? (Select 2)

Medium
90

Drag and drop the steps to perform a backup of etcd in a Kubernetes cluster into the correct order.

Medium
91

A Kubernetes cluster runs a critical application that must be highly available. The application consists of three pods managed by a Deployment. To ensure the application remains accessible during a node failure, which configuration should be applied?

Hard
92

A team is designing a cloud-native system that must maintain high availability across multiple cloud regions. The application uses Kubernetes clusters in each region. Which approach best ensures that the system can tolerate a full region failure while minimizing complexity?

Hard
93

An administrator runs `kubectl get pods -n finance` and sees a Pod named `report-0` that is Running but not Ready. The Pod's container has a readiness probe configured with `httpGet` on path `/healthz` port 8080. Logs show the application is running and serving requests on port 8080. Which condition most likely explains why the Pod is Running but not Ready?

Hard
94

A pod is in the 'CrashLoopBackOff' state. You run 'kubectl logs mypod' and see an error related to missing environment variables. The pod is part of a Deployment. What is the best way to fix this without recreating the entire Deployment?

Medium
95

A developer creates a Pod with a container that writes data to /var/log/app.log inside the container. The Pod is deleted and recreated, and the log file is gone. Which Kubernetes volume type would preserve the log file across Pod restarts on the same node?

Medium
96

A team is deploying a microservice application on Kubernetes. They want to ensure that during rolling updates, the new version of the service receives traffic only after the readiness probe succeeds. However, they observe that the old pods are terminated before the new pods are ready, causing a brief downtime. Which configuration change should they make to the Deployment to prevent this?

Hard
97

A developer needs a Pod to read configuration values and credentials separately, where non-sensitive settings should update without restarting the Pod and secrets should be mounted as files. Which pairing of Kubernetes objects best fits this requirement?

Medium
98

Which two of the following are container runtimes that implement the Container Runtime Interface (CRI)? (Choose two.)

Medium
99

You have a Deployment that manages 3 replicas. You want to perform a rolling update with a maximum of 2 Pods unavailable during the update. Which field should you set in the Deployment spec?

Hard
100

You have a Pod with a container that needs to read sensitive data such as a database password. Which Kubernetes resource should you use to store this data?

Medium
101

Which of the following is a benefit of using container orchestration platforms like Kubernetes?

Medium
102

In Istio, which component is responsible for enforcing traffic policies and collecting telemetry data at the pod level?

Hard
103

Which TWO of the following are benefits of using a container orchestration platform like Kubernetes? (Select 2)

Medium
104

Which TWO of the following are valid Kubernetes resource types that can be used to store configuration data or secrets?

Medium
105

An administrator runs 'kubectl get pods' and sees that a pod named 'app-pod' is in 'CrashLoopBackOff'. They run 'kubectl logs app-pod' and see a segmentation fault error. What is the most likely cause?

Medium
106

Which TWO statements about GitOps are correct?

Medium
107

In a microservices application, you want to prevent cascading failures by limiting the number of concurrent requests to a downstream service. Which resilience pattern should you implement?

Hard
108

An administrator manages a cluster where a Namespace named 'analytics' contains a ResourceQuota that limits pods to 10. A developer applies a manifest containing a ReplicaSet with replicas: 12 in that Namespace. The ReplicaSet controller creates the first 10 Pods successfully, but the remaining 2 Pods are rejected. Which statement best describes what the developer will observe and why?

Hard
109

Match each Kubernetes object to its typical use case.

Medium
110

Which deployment strategy updates pods incrementally, replacing old pods with new ones while ensuring availability?

Easy
111

Which TWO of the following are valid ways to view the logs of a pod named 'my-pod'?

Easy
112

You have a Deployment with three replicas. You want to update the container image but ensure that only one pod is updated at a time, and the update proceeds only if the new pod becomes healthy. Which update strategy should you configure?

Hard
113

Which THREE of the following are valid ways to create a Kubernetes resource using kubectl?

Medium
114

A DevOps engineer has created a ConfigMap named 'app-config' and wants to use it to set environment variables in a pod. Which field in the pod spec should reference the ConfigMap?

Medium
115

Which service mesh component is typically deployed as a sidecar proxy alongside application containers?

Easy
116

An administrator wants to update the image of a Deployment named 'my-app' from 'nginx:1.19' to 'nginx:1.20' with a rolling update strategy. They want to ensure that during the update, the number of unavailable pods never exceeds 1. Which field should they set in the Deployment spec?

Medium
117

What is the primary purpose of a continuous integration (CI) pipeline in cloud native application delivery?

Easy
118

A Deployment is configured with 'replicas: 5' and a rolling update strategy. During an update, you notice that the number of available pods drops to 3 momentarily. Which field in the Deployment spec can be adjusted to control the minimum number of pods available during a rolling update?

Hard
119

You need to deploy a batch job that processes a queue and runs to completion. The job should run exactly once and create exactly one pod per work item, but some items may fail. Which Kubernetes resource is best suited?

Hard
120

A company wants to adopt immutable infrastructure for its containerized applications. Which practice BEST exemplifies immutability?

Medium
121

A company is adopting cloud-native architecture and wants to improve the resilience of its applications. Which TWO of the following are core principles of cloud-native architecture that directly contribute to resilience? (Choose two.)

Hard
122

Which Kubernetes component is responsible for ensuring that the desired number of pod replicas is running in the cluster?

Easy
123

Which Kubernetes object can be used to store sensitive data, such as passwords or API keys, and inject them into pods?

Medium
124

A Deployment is configured with 'replicas: 3'. After a node failure, only 2 pods are running. What component ensures that a new pod is scheduled to restore the desired replica count?

Medium
125

A user reports that they cannot connect to a database service named 'db-service' from another pod in the same namespace. The service selector matches the database pod's labels. Which command would you run FIRST to troubleshoot the service's endpoints?

Hard
126

You need to inspect the logs of a container named 'app' in a pod called 'web-1'. Which kubectl command should you use?

Medium
127

A platform engineer runs `kubectl get pods -n web` and sees a pod stuck in the `Pending` phase. The pod's `nodeName` field is empty, and no events about image pulling appear. Which Kubernetes component is most directly responsible for assigning this pod to a node?

Easy
128

Which of the following is a core component of the three pillars of observability?

Medium
129

You have a Deployment running 3 replicas. You need to update the container image without downtime. Which command updates the image while performing a rolling update?

Medium
130

Which component is the primary entry point for all administrative tasks and API requests in a Kubernetes control plane?

Easy
131

You create a Deployment with 'replicas: 3' and update the pod template to use a new image. After the rollout, you notice that the new ReplicaSet has 3 pods but they are all failing with 'CrashLoopBackOff'. You want to rollback to the previous working revision. Which command should you run?

Hard
132

You have a Deployment with image: myapp:v1. You update the image to myapp:v2 using 'kubectl set image deployment/myapp myapp=myapp:v2'. The rollout status shows 'Waiting for rollout to finish: 0 out of 3 new replicas have been updated...'. What is the most likely cause of this behavior?

Hard
133

Which three of the following are valid methods to expose a Service to external traffic? (Select THREE)

Hard
134

Which Prometheus metric type is best suited to count the number of HTTP requests received?

Medium
135

A Deployment named 'myapp' is managing a ReplicaSet. You need to update the application image to version 2.0. What is the recommended approach?

Medium
136

A team wants to use feature flags to control the rollout of a new feature in a Kubernetes-deployed microservice. Which tool is specifically designed for managing feature flags in cloud-native applications?

Hard
137

What is the primary benefit of using an API gateway in a microservices architecture?

Medium
138

A cluster administrator wants to allow a Pod to access the Kubernetes API to list Pods in its own namespace. Which authentication and authorization mechanism should be used to grant the Pod the necessary permissions?

Medium
139

A team uses Helm to manage their Kubernetes applications. They need to upgrade a release and want to reuse the values from the previous release while overriding a specific value. Which helm command should they use?

Medium
140

A company wants to adopt a GitOps workflow for managing their Kubernetes clusters. Which two tools are specifically designed for implementing GitOps on Kubernetes?

Medium
141

A Kubernetes cluster runs a critical application that must be updated with zero downtime. The team wants to gradually shift traffic from the old version to the new version over a period of time. Which deployment pattern is MOST appropriate?

Hard
142

Which of the following is NOT one of the three pillars of observability?

Easy
143

In a multi-cloud scenario, an organization wants to avoid vendor lock-in by abstracting infrastructure provisioning. Which tool is specifically designed to manage infrastructure as code across multiple cloud providers?

Medium
144

Which THREE statements about Kubernetes Pods are correct?

Medium
145

Which of the following is a benefit of container orchestration?

Medium
146

Which field in a Pod's container specification defines the minimum amount of CPU guaranteed to the container?

Medium
147

Which TWO of the following are capabilities of ArgoCD? (Choose two.)

Medium
148

Which component in Kubernetes is responsible for managing the lifecycle of pods and ensuring the desired number of replicas are running?

Easy
149

Which THREE of the following are valid ways to expose a set of pods as a network service in Kubernetes?

Hard
150

Which THREE of the following are components of the GitOps workflow? (Choose three.)

Hard
151

Which Helm command is used to upgrade a release to a newer version of a chart?

Easy
152

In a Helm chart, which file is used to define default configuration values that can be overridden by users during installation?

Medium
153

A team wants to deploy a multi-cloud application that uses cloud-specific services. Which pattern is most appropriate?

Hard
154

Which kubectl command is used to create or update resources defined in a YAML file?

Medium
155

Which two of the following are valid ways to expose a set of Pods to external traffic?

Medium
156

In the context of resiliency patterns, which pattern is designed to prevent a cascade of failures by isolating each component so that a failure in one component does not affect others?

Hard
157

A pod uses a ServiceAccount that has a RoleBinding to a Role with 'get', 'list', 'watch' on 'pods'. The pod tries to list pods in the same namespace. Will the request succeed?

Hard
158

Which TWO statements are true about Kustomize? (Choose 2)

Medium
159

What is the primary purpose of a container registry in the CI/CD pipeline?

Easy
160

An application is instrumented with OpenTelemetry to export traces to Jaeger. The team notices that some traces are incomplete. What is the most likely cause?

Medium
161

A user wants to run a one-time batch job that runs to completion. Which Kubernetes resource should they use?

Medium
162

Which TWO components are part of the Kubernetes control plane? (Select exactly two.)

Medium
163

A team wants to run a database Pod that must be scheduled onto a node with an SSD and must not be evicted when the node comes under memory pressure. Which combination of fields should be configured in the Pod spec?

Hard
164

An application is deployed across multiple cloud providers (AWS and GCP) to avoid vendor lock-in. This is an example of which pattern?

Hard
165

A Service of type ClusterIP is created. What is the default behavior of this Service?

Medium
166

What type of Prometheus metric is best suited to count the total number of HTTP requests received by a service?

Medium
167

Which tool is specifically designed for log aggregation and is built by Grafana Labs as a lightweight, cost-effective alternative to traditional log systems?

Medium
168

A workload running in a namespace called 'payments' is defined by a Pod spec with restartPolicy: Always. The cluster's kubelet on node 'worker-3' is healthy, the API server is reachable, and the scheduler has placed the Pod on worker-3. After the Pod's only container exits with code 0, a platform engineer observes that the Pod restarts repeatedly even though the application completed its work successfully. Which Kubernetes behavior explains this observation?

Medium
169

Which field in a Deployment YAML specifies the number of pod replicas?

Medium
170

Which TWO of the following are Prometheus metric types? (Select two.)

Medium
171

A developer is troubleshooting a Pod that is stuck in the Pending state. Which two commands can help identify the reason for the scheduling failure? (Choose two.)

Hard
172

Which TWO of the following are features of a service mesh like Istio or Linkerd? (Select 2)

Hard
173

What is the purpose of values.yaml in a Helm chart?

Easy
174

In Kustomize, what is the purpose of an overlay?

Medium
175

A DevOps team wants to implement GitOps for their Kubernetes cluster. Which tool is specifically designed for Kubernetes GitOps and can automatically sync the cluster state with a Git repository?

Medium
176

A site reliability engineer is investigating high latency in a microservices application. They have distributed tracing enabled with OpenTelemetry and traces exported to a backend. They want to correlate a specific slow trace with the logs generated by the involved services. Which practice best enables this correlation?

Hard
177

Which two of the following are benefits of using Kubernetes for container orchestration? (Select TWO.)

Easy
178

An operator needs a workload that runs exactly one Pod on every node in the cluster, including nodes added later, to collect host-level logs. Which Kubernetes resource should be used?

Easy
179

Which of the following patterns is used to improve resilience by isolating failures to a subset of components?

Hard
180

Which TWO statements about container images are correct? (Choose two.)

Easy
181

A pod spec includes a liveness probe that runs 'cat /tmp/healthy'. The probe is configured with initialDelaySeconds: 10, periodSeconds: 5. At what point does the kubelet first execute the probe?

Medium
182

A developer wants to inject environment variables into a pod from a ConfigMap named 'app-config'. Which YAML snippet correctly mounts all key-value pairs from the ConfigMap as environment variables?

Hard
183

Which of the following is considered one of the three pillars of observability?

Easy
184

A DevOps team notices that a new deployment of a web application is not receiving traffic even though the pods are running. The deployment has a selector matching the pod labels, and a Service of type ClusterIP exists. What is the most likely cause?

Medium
185

A developer wants to run a one-time batch job that processes a queue and then terminates. Which Kubernetes resource should they use?

Easy
186

A Kubernetes cluster has a single control plane node and two worker nodes. The control plane node fails. What is the immediate impact on the workloads running on the worker nodes?

Medium
187

Which TWO resources can be used to store configuration data separately from container images?

Medium
188

A developer instruments a service using the OpenTelemetry SDK and wants to export traces to a backend. The backend expects data in the OTLP format. Which OpenTelemetry component is responsible for receiving, processing, and exporting telemetry data to the backend?

Medium
189

Which Kubernetes command displays the current state of a pod, including its IP address, node, and container statuses?

Medium
190

Refer to the exhibit. A pod 'my-pod' shows repeated 'BackOff' events after the container starts. Which is the most likely cause?

Hard
191

Which of the following is a correct YAML structure for a Service of type ClusterIP?

Medium
192

Which log aggregation tool is designed specifically for Kubernetes and is often used as a lightweight alternative to Fluentd?

Medium
193

A developer wants to deploy a stateless web application that should maintain three running instances at all times. Which Kubernetes resource should they use?

Medium
194

You create a Pod with a liveness probe that uses an HTTP GET on port 8080, path /healthz. The probe fails after the container starts. What will happen to the Pod?

Hard
195

You have a Deployment that manages 3 replicas of a web application. You want to perform a rolling update with zero downtime. Which kubectl command should you use?

Medium
196

Refer to the exhibit. How many containers are defined in this Pod?

Easy
197

Which TWO of the following are characteristics of serverless computing?

Hard
198

Which TWO of the following are benefits of using Helm for application delivery?

Easy
199

A pod is stuck in 'Pending' state. You run 'kubectl describe pod mypod' and see the event '0/4 nodes are available: 4 Insufficient cpu'. What is the most likely cause?

Medium
200

When using a Service of type ClusterIP, how do pods reach the service?

Hard
201

A Deployment is created with `replicas: 3`. After applying the manifest, only 2 pods are running and one is in Pending state. What is the most likely reason?

Medium
202

Which component on a worker node is responsible for enforcing the desired state of pods as defined in the pod specification?

Easy
203

A pod is stuck in 'Pending' state. Which of the following is NOT a common cause for a pod to remain Pending?

Hard
204

Which THREE are valid ways to provide configuration data to a pod in Kubernetes?

Hard
205

Which Kubernetes primitive is the smallest and simplest unit in the Kubernetes object model that you can create or deploy?

Easy
206

A team is evaluating whether their application qualifies as cloud-native. They want to identify characteristics that are central to cloud-native architecture rather than incidental implementation details. Which TWO of the following are core characteristics of cloud-native architecture? (Choose two.)

Hard
207

What is the primary purpose of Prometheus in cloud native observability?

Easy
208

Which THREE of the following are true about container lifecycle? (Choose 3)

Medium
209

Which TWO of the following are characteristics of Kustomize?

Medium
210

You are asked to deploy a Kubernetes service that exposes a set of pods internally within the cluster only. The service should not be accessible from outside the cluster. Which Service type should you choose?

Hard
211

What is the primary purpose of the Open Container Initiative (OCI)?

Easy
212

Which control plane component is responsible for assigning pods to nodes?

Easy
213

An SRE team defines an SLO that 99.9% of requests to a service should complete in under 500ms over a 30-day rolling window. If the service receives 10 million requests in a month, what is the maximum number of requests that can exceed the latency threshold while still meeting the SLO?

Hard
214

Which THREE of the following are valid use cases for Kubernetes Namespaces? (Select 3)

Medium
215

You have two pods in different namespaces that need to communicate using a stable IP address. Which Kubernetes object provides a stable endpoint for a set of pods?

Medium
216

You need to run a stateful application that requires stable network identities and persistent storage per pod. Which Kubernetes resource is BEST suited?

Hard
217

Which THREE are examples of DORA metrics used to measure DevOps performance? (Choose 3)

Medium
218

Which two of the following are characteristics of container images built using OCI standards? (Choose two.)

Medium
219

A team is implementing observability for a cloud native application. They want to adopt OpenTelemetry to instrument their code and collect telemetry data. Which TWO of the following are core components of the OpenTelemetry project? (Choose two.)

Medium
220

A platform team uses Argo CD to manage a Kubernetes cluster. A developer manually edits a Deployment's replica count from 3 to 5 using kubectl, bypassing Git. Argo CD detects the drift and its sync policy is set to automated with self-heal enabled. What happens next?

Medium
221

You are deploying a stateful application that requires each pod to have a stable, unique network identity and its own persistent storage. Which Kubernetes resource should you use?

Easy
222

A Kubernetes cluster has two nodes: control-plane and worker. The worker node runs several pods. The control-plane node becomes unreachable. What is the immediate impact on the pods running on the worker node?

Hard
223

You have a Pod that is in 'Pending' state. What is the most likely cause?

Medium
224

Which of the following is a key benefit of container orchestration?

Easy
225

A service of type ClusterIP is created but pods cannot reach it using the service name. The pods are in the same namespace. What is a likely cause?

Medium
226

What is the primary purpose of a container orchestration platform like Kubernetes?

Easy
227

A platform team wants to implement observability for a Kubernetes cluster running 500+ microservices. They need to reduce the cost of storing logs while retaining the ability to search for specific error patterns. Which strategy best achieves this?

Hard
228

Which component is the primary entry point for all administrative tasks and API requests in a Kubernetes cluster?

Easy
229

Which THREE of the following are key benefits of container orchestration? (Choose 3)

Medium
230

You have a ConfigMap named 'app-config' and a Secret named 'db-password'. You want to mount them into a pod. Which statement is correct?

Hard
231

A cluster administrator wants to ensure that a specific Pod always runs on a node with an SSD. The node has the label disktype=ssd. Which Kubernetes feature should the administrator use?

Easy
232

In GitOps, what is the role of a tool like ArgoCD?

Medium
233

A cluster administrator needs to ensure that a Deployment named 'frontend' in namespace 'web' is updated with a new image version using a rolling update strategy. The current deployment has 4 replicas. The administrator runs: kubectl set image deployment/frontend frontend=nginx:1.21 -n web. Which of the following describes the expected behavior?

Hard
234

What is the primary benefit of using containers over virtual machines?

Easy
235

What is the primary difference between a container and a virtual machine (VM)?

Easy
236

A cloud-native application is designed with multiple microservices that need to handle a sudden spike in traffic without manual intervention. Which Kubernetes feature best enables this?

Easy
237

An application requires external configuration that varies between environments (dev, staging, prod). Following the 12-factor app methodology, how should this configuration be provided?

Medium
238

Which THREE of the following are features provided by a service mesh like Istio? (Select THREE.)

Hard
239

Which THREE are benefits of using a container orchestration platform? (Select 3)

Medium
240

Which TWO of the following are core principles of cloud native architecture according to the CNCF?

Medium
241

A pod is stuck in the Pending state. The administrator runs 'kubectl describe pod' and sees the event '0/3 nodes are available: 3 Insufficient cpu.' What is the most likely cause?

Hard
242

Drag and drop the steps to create a ConfigMap from a file in Kubernetes into the correct order.

Medium
243

Which TWO are benefits of using a container orchestration platform like Kubernetes? (Select TWO.)

Easy
244

A team is deploying a microservices application on Kubernetes. They want to ensure that each microservice can be updated independently without affecting others, and that the application can tolerate the failure of a single microservice. Which cloud-native architecture principle are they applying?

Medium
245

A DevOps team wants to collect logs from all Kubernetes nodes and forward them to a central log storage system. Which tool is specifically designed for lightweight log aggregation and forwarding on Kubernetes nodes?

Medium
246

What is the role of etcd in a Kubernetes cluster?

Medium
247

A development team wants to implement a GitOps workflow for their Kubernetes deployments. Which tool is specifically designed for GitOps on Kubernetes?

Medium
248

Which TWO statements are true about Kubernetes namespaces? (Select 2)

Hard
249

A developer wants to expose a set of pods running a web application internally within the cluster using a stable IP address. Which Kubernetes resource should they create?

Medium
250

A developer creates a Pod with a container that writes logs to a file in an emptyDir volume. The Pod is then deleted, and a new Pod is created with the same emptyDir volume definition. What happens to the data in the emptyDir volume?

Hard
251

A cluster runs the Horizontal Pod Autoscaler (HPA) v2 for a Deployment named queue-worker. The HPA is configured with minReplicas: 2, maxReplicas: 10, and a target average CPU utilization of 60%. Metrics Server is installed and reports CPU for the Pods. During a burst, CPU utilization rises to 95% and stays there, but the Deployment remains at 2 replicas. Which condition most likely explains why the HPA is not scaling out?

Hard
252

Which three of the following are benefits of container orchestration? (Choose three.)

Hard
253

Which THREE of the following are benefits of using container orchestration? (Choose three.)

Hard
254

What is the role of an API gateway in a microservices architecture?

Easy
255

A development team is containerizing a monolithic application into microservices. Which practice aligns with cloud-native architecture principles?

Easy
256

You create a Deployment with 'replicas: 3' and update the pod template without changing the selector. After the update, you notice that only the new Pods are running, but old Pods have been terminated. What is the default update strategy?

Hard
257

Which Kubernetes object is used to store non-sensitive configuration data that can be consumed by pods?

Medium
258

A developer needs to run a one-off batch job that processes a dataset and then terminates. The job should run to completion and not restart after successful completion. Which Kubernetes resource is most appropriate for this task?

Easy
259

A Deployment is configured with 'strategy.type: RollingUpdate' and 'strategy.rollingUpdate.maxUnavailable: 0'. What is the effect during a rolling update?

Hard
260

A team uses ArgoCD with a Git repository that contains Helm charts. They want ArgoCD to automatically sync when a new image tag is pushed to the container registry. Which approach should they use?

Hard
261

A team wants to visualize metrics from Prometheus in a dashboard. Which tool is commonly used for this purpose?

Medium
262

What is the smallest deployable unit in Kubernetes that can be created and managed?

Medium
263

What is the primary purpose of a Namespace in Kubernetes?

Easy
264

A developer is troubleshooting a Pod that is stuck in the Pending state. They want to gather information to determine why the Pod has not been scheduled. Which two commands or outputs are most directly useful for this diagnosis? (Choose two.)

Medium
265

A team is designing a cloud-native application that requires each microservice to have its own database. This pattern is known as:

Medium
266

A team wants to implement cost monitoring for their Kubernetes clusters. Which approach is most effective?

Hard
267

A team is designing a cloud-native system that must remain available even if an entire availability zone fails. They want to distribute workloads across multiple zones and automatically recover from failures. Which cloud-native architectural approach BEST addresses this requirement?

Hard
268

A team uses Flux with the Source Controller and Kustomize Controller. They update a YAML file in Git to change a Deployment's replica count. What describes the synchronization flow?

Hard
269

Based on the exhibit, why is the pod web-pod not running?

Easy
270

Which tool is specifically designed for distributed tracing and is a Cloud Native Computing Foundation (CNCF) graduated project?

Medium
271

Which component runs on each worker node and ensures that containers are running as specified in the Pod spec?

Easy
272

Which component of the OpenTelemetry architecture is responsible for receiving data from instrumented applications and processing it before export?

Medium
273

A Pod is in the 'Pending' state. What is the most likely cause?

Easy
274

A Service of type ClusterIP is not resolving DNS names for pods. The pods are running and can communicate with each other via IP addresses. Which component should be checked first?

Hard
275

Which of the following best describes the purpose of the CNCF (Cloud Native Computing Foundation)?

Easy
276

A container image built using a Dockerfile with multiple layers is stored in a registry. When a node pulls this image, which statement about layers is true?

Medium
277

Which TWO of the following tools are commonly used for distributed tracing in cloud-native environments? (Select two.)

Easy
278

You are writing a Pod manifest and need to ensure the container always pulls the newest image from the registry, even if an image with the same tag already exists on the node. Which imagePullPolicy should you set?

Medium
279

You are reviewing the manifest for a Pod that must only run on nodes with the label `disktype=ssd`. The manifest includes the following snippet: ```yaml nodeSelector: disktype: ssd ``` After applying the manifest, the Pod remains in Pending state indefinitely. `kubectl get nodes --show-labels` shows no node has the `disktype=ssd` label. Which action will allow the Pod to be scheduled without modifying the Pod's nodeSelector?

Medium
280

In PromQL, which function would you use to calculate the per-second rate of increase of a counter over a specified time window?

Hard
281

A cloud-native application experiences intermittent failures when calling an external API. The team implements a pattern that allows the application to temporarily stop calling the failing API and serve stale data or a fallback response. Which resiliency pattern does this describe?

Hard
282

What is the purpose of a readiness probe in a Kubernetes pod?

Easy
283

Which TWO statements correctly describe the purpose of etcd in a Kubernetes cluster?

Medium
284

In OpenTelemetry, what is the purpose of the Collector component?

Hard
285

Drag and drop the steps to create a Kubernetes Namespace and deploy an application into it into the correct order.

Medium
286

A pod is stuck in Pending state. You run 'kubectl describe pod' and see the event '0/3 nodes are available: 1 node(s) had taint(s) that the pod didn't tolerate, 2 node(s) had insufficient memory.'. What is the most likely cause?

Medium
287

A platform engineer applies a Pod manifest that includes the field `spec.nodeName: k8s-worker-07`. The scheduler is running normally. What is the most accurate description of what happens to this Pod?

Medium
288

A cluster administrator needs to run a node-level log collector that must read files from /var/log on every node in the cluster, including nodes added later. The collector does not need to run on control plane nodes. Which Kubernetes resource should be used?

Medium
289

Which Kubernetes resource should be used to run a one-time task that performs a computation and then exits?

Medium
290

Which component runs on every Kubernetes node and ensures that the containers in a pod are running?

Medium
291

What is the purpose of a liveness probe in a Kubernetes pod?

Medium
292

Which of the following is a core principle of cloud native architecture as defined by the CNCF?

Easy
293

Which of the following is the correct definition of a Service Level Indicator (SLI)?

Easy
294

A developer is troubleshooting a Pod that is stuck in Pending state. The node has sufficient CPU and memory, and the scheduler logs show no errors. Which two factors could prevent the Pod from being scheduled? (Choose two.)

Hard
295

Which GitOps tool is specifically designed for Kubernetes and follows the declarative GitOps pattern, continuously reconciling the desired state from a Git repository?

Easy
296

Drag and drop the steps to troubleshoot a Pod stuck in CrashLoopBackOff into the correct order.

Medium
297

Which TWO of the following are deployment patterns that can be used to update applications with minimal downtime? (Choose two.)

Medium
298

A developer wants to deploy a stateless web application that should scale to 5 replicas. Each replica must be identical and should be automatically replaced if it fails. Which Kubernetes resource should be used?

Medium
299

A team wants to run a batch job that must complete successfully exactly once and then stop. The job processes a queue and should not be restarted after successful completion. Which Kubernetes resource is most appropriate for this requirement?

Medium
300

A team is designing a Kubernetes architecture for a new application. They need to understand which components are part of the control plane and which run on worker nodes. Which TWO of the following components run on every worker node in a standard Kubernetes cluster? (Choose two.)

Medium
301

Which TWO of the following are key characteristics of cloud-native applications? (Select two.)

Medium
302

Which Kubernetes resource is used to run a batch job that runs to completion?

Easy
303

An administrator must run a privileged DaemonSet on every node, including the control-plane node, to collect host logs. The control-plane node has a taint node-role.kubernetes.io/control-plane:NoSchedule. Which change allows the DaemonSet Pods to be scheduled on the control-plane node while keeping the taint intact?

Medium
304

Which TWO of the following are recommended practices for achieving observability in a Kubernetes cluster?

Hard
305

An administrator wants to perform a rolling update of a Deployment. Which TWO actions will achieve this?

Hard
306

A DevOps engineer wants to deploy a stateful application that requires stable network identities and persistent storage. Which Kubernetes resource is most appropriate?

Medium
307

Which THREE of the following are true about the Open Container Initiative (OCI)? (Select 3)

Hard
308

Which TWO of the following are benefits of using a container orchestration platform like Kubernetes? (Choose two.)

Medium
309

Which THREE of the following are valid Kubernetes resource types?

Medium
310

Which two components are part of the Kubernetes worker node? (Select TWO)

Medium
311

Which THREE are core principles of the Twelve-Factor App methodology?

Medium
312

Which TWO of the following are required fields when defining a container in a Kubernetes Pod spec? (Choose 2)

Medium
313

A DevOps engineer has created a ConfigMap named 'app-config' with some configuration data. They want to make that data available as environment variables in a pod. Which field in the pod spec should they use to achieve this?

Medium
314

A platform team wants to run a batch job that must complete successfully exactly once per day on a schedule. They need Kubernetes to create a Job object automatically at the specified times, and they want to keep a history of the last three successful and one failed Job for debugging. Which resource should they create?

Medium
315

Which Kubernetes controller ensures that a specified number of pod replicas are running at all times?

Medium
316

Which TWO are characteristics of the microservices architecture that are supported by container orchestration?

Hard
317

Which two of the following are valid ways to expose a Pod's container port to other resources? (Select two.)

Medium
318

Which deployment strategy is characterized by gradually shifting traffic from an old version to a new version of an application, often requiring a service mesh or ingress controller to manage traffic splitting?

Medium
319

Which of the following is a key principle of microservices architecture?

Easy
320

When creating a Deployment, you want to ensure that only a certain number of pods run at a time across all nodes. Which field in the Deployment spec controls this?

Medium
321

A developer has created a Deployment with 3 replicas. The application should be reachable from other Pods within the same cluster. Which Kubernetes resource should be used to provide a stable network endpoint?

Medium
322

What is the primary function of a service mesh like Istio?

Medium
323

You need to store a sensitive database password in Kubernetes. Which resource should you use?

Medium
324

A pod is experiencing high memory usage. The administrator wants to enforce that the pod is terminated if it exceeds a memory limit and restarted automatically, but also wants to guarantee a minimum amount of memory for the pod. Which resource specification should be used in the container definition?

Medium
325

A microservice application is experiencing high latency during traffic spikes. The team identifies that the database connection pool is exhausted. They want to implement a pattern that helps decouple the microservice from direct database connections and smooth out traffic bursts. Which design pattern should they apply?

Hard
326

A pod is stuck in the 'Pending' state. You run 'kubectl describe pod mypod' and see the event: '0/3 nodes are available: 1 node had taint that the pod didn't tolerate, 2 Insufficient cpu.' What is the most likely cause?

Medium
327

In distributed tracing, what is a 'span'?

Medium
328

A developer creates a Deployment with 3 replicas. The developer runs 'kubectl get pods' immediately after creation and sees that only 1 pod is in Running state, and the other 2 are Pending. What is the most likely reason for this?

Medium
329

Which two components are part of the Kubernetes control plane? (Select two.)

Medium
330

Which TWO statements about containers are true compared to virtual machines? (Select TWO.)

Medium
331

Which component is responsible for aggregating metrics from Kubernetes nodes and exposing them to the metrics API?

Medium
332

An organization wants to adopt a cloud-native approach for its new application. Which characteristic is most important for the application to be considered cloud-native?

Easy
333

In GitOps with ArgoCD, what does 'self-healing' refer to?

Easy
334

A pod has resource requests: cpu: 250m, memory: 512Mi and limits: cpu: 500m, memory: 1Gi. If the container tries to use 600m CPU and 700Mi memory, what will happen?

Hard
335

A pod is stuck in 'Pending' state. 'kubectl describe pod' shows '0/4 nodes are available: 4 Insufficient memory'. What is the most likely cause?

Hard
336

Which resource provides stable network endpoints to a set of pods, regardless of pod IP changes?

Medium
337

Which THREE of the following are benefits of using an event-driven architecture? (Choose three.)

Hard
338

A pod is running but you need to view the contents of a file '/var/log/app.log' inside the container to debug an issue. Which kubectl command allows you to do this without modifying the pod?

Hard
339

A Deployment named 'web' has 3 replicas. You run 'kubectl scale deployment web --replicas=5'. What will happen?

Medium
340

Which three components are part of the Kubernetes control plane? (Select THREE)

Hard
341

Which Kubernetes control plane component is responsible for maintaining the desired state of the cluster, such as ensuring the correct number of pods are running?

Easy
342

Which of the following is a key principle of the 12-factor app methodology?

Medium
343

Which command would you run to get a list of all pods in all namespaces?

Medium
344

Which DORA metric measures the percentage of deployments that cause a failure in production?

Easy
345

Which THREE of the following are key characteristics of microservices architecture?

Hard
346

What is the primary purpose of the Kubernetes control plane component 'kube-apiserver'?

Easy
347

In a blue-green deployment strategy, at any given time, only one environment (blue or green) is active. What is the primary advantage of this approach?

Medium
348

Which of the following is NOT one of the three pillars of observability in cloud-native environments?

Easy
349

You need to deploy an application that requires exactly one pod per cluster node for logging purposes. Which Kubernetes workload resource should you use?

Hard
350

You need to ensure that a set of pods in a Deployment can be reached by other pods using a stable IP address and DNS name. Which Kubernetes object should you use?

Medium
351

Which TWO components are part of the Kubernetes control plane?

Medium
352

Which THREE of the following are valid apiVersions for Kubernetes resources?

Hard
353

Which of the following is a benefit of using an API gateway pattern?

Hard
354

Drag and drop the steps for a rolling update of a Kubernetes Deployment into the correct order.

Medium
355

You need to run a batch job that processes data and then exits. Which Kubernetes resource type is most appropriate for this workload?

Medium
356

You run 'kubectl get pods' and see a Pod in the 'Pending' state. Which of the following is a likely cause?

Medium
357

A cloud-native application uses a service mesh (Istio) for traffic management. The team notices increased latency in inter-service communication. Which likely cause should be investigated first?

Hard
358

A platform engineer is explaining cloud-native architecture to a new team. The team asks which statement BEST describes the relationship between microservices and cloud-native architecture. Which answer is correct?

Medium
359

What is the primary purpose of an API gateway in a microservices architecture?

Medium
360

What is the Open Container Initiative (OCI) responsible for?

Medium
361

Which TWO of the following are benefits of using a Deployment over managing ReplicaSets directly? (Choose two.)

Medium
362

A developer wants to run a one-off database migration task in Kubernetes that must complete successfully and then stop. The task should not restart after successful completion, and the developer wants to inspect logs after it finishes. Which resource should be created?

Easy
363

Which THREE of the following are important considerations when defining SLOs (Service Level Objectives)? (Select three.)

Hard
364

Which TWO of the following are valid ways to expose a set of pods as a network service in Kubernetes? (Select two.)

Medium
365

Which TWO statements are true about cloud-native architecture?

Medium
366

What is the primary purpose of a liveness probe in a container?

Easy
367

Which TWO statements correctly describe how Kubernetes handles self-healing? (Select two.)

Medium
368

What is the smallest deployable unit in Kubernetes?

Easy
369

A user wants to run a one-time batch task that processes a dataset and then exits. The task should not be restarted if it completes successfully. Which Kubernetes resource is most appropriate?

Easy
370

You need to run a batch job that processes a queue and then terminates. Which Kubernetes resource is most appropriate?

Medium
371

A DevOps engineer needs to expose a set of pods running an HTTP API to external clients. The pods are stateless and should be load-balanced. Which Kubernetes resource should they use?

Easy
372

A Kubernetes cluster runs Prometheus for monitoring. The operations team wants to receive alerts when the 99th percentile latency of an HTTP service exceeds 500ms for 5 minutes. They have a metric http_request_duration_seconds histogram. Which PromQL expression should they use to calculate the 99th percentile latency?

Hard
373

A cluster administrator needs to ensure that a logging agent runs on every node in the cluster, including nodes added in the future. The agent should collect logs from each node and forward them to a central system. Which Kubernetes resource should be used?

Medium
374

Which component of Kubernetes is responsible for maintaining the desired state of the cluster?

Easy
375

Which of the following best describes a key advantage of containers over virtual machines?

Easy
376

A DevOps engineer wants to update a Deployment's container image from 'v1' to 'v2' with zero downtime. Which kubectl command should they use?

Medium
377

Which of the following is a container runtime that implements the Container Runtime Interface (CRI)?

Easy
378

A Kubernetes cluster runs a DaemonSet named 'node-agent' that must run on every node, including the control-plane node. The control-plane node has a taint 'node-role.kubernetes.io/control-plane:NoSchedule'. The DaemonSet currently does not schedule pods on the control-plane node. Which change to the DaemonSet spec will ensure its pods run on the control-plane node?

Medium
379

A pod remains in 'Pending' state. Upon inspecting the pod with 'kubectl describe pod', you see the message '0/1 nodes are available: 1 node(s) had taint {node.kubernetes.io/disk-pressure: }, that the pod didn't tolerate'. What is the most likely cause?

Hard
380

In GitOps with ArgoCD, what happens when the desired state in Git differs from the live state in the cluster?

Medium
381

A team observes that a Pod is stuck in CrashLoopBackOff. The Pod runs a single container with an entrypoint that exits with non-zero code after a few seconds. The team wants to inspect the container's logs to understand why it is crashing. Which command should they use?

Medium
382

In the context of distributed tracing, what is a 'span'?

Medium
383

An application requires that configuration data be mounted as a file inside the container. The data may change at runtime, and the application should automatically read the updated values without restarting. Which approach should be used?

Hard
384

Which Kubernetes component is responsible for maintaining the desired state of the cluster by running controllers?

Easy
385

Which TWO components are part of the Kubernetes worker node?

Easy
386

A microservices application has multiple services that need to discover each other by name. Which Kubernetes object provides built-in service discovery via DNS?

Hard
387

A platform engineer is troubleshooting a Pod that is stuck in Pending. The engineer suspects the scheduler cannot place it. Which two commands are appropriate to gather evidence about why the Pod has not been scheduled? (Choose two.)

Medium
388

A developer is troubleshooting a Pod that remains in the Pending state and never gets scheduled. The developer suspects the issue is related to node selection constraints. Which two kubectl commands can help identify why the Pod cannot be scheduled? (Choose two.)

Medium
389

Which TWO practices are recommended for designing cloud-native microservices? (Choose 2)

Hard
390

Which THREE of the following are valid container runtimes that can be used with Kubernetes via the Container Runtime Interface (CRI)? (Select three.)

Hard
391

Which command creates a Deployment named 'nginx' from the 'nginx:1.19' image?

Easy
392

Which resource in Kubernetes is used to expose a set of pods as a network service?

Easy
393

You want to isolate a team's workloads within a Kubernetes cluster so that they cannot see or access resources from other teams. Which feature should you use?

Medium
394

In a serverless architecture using Knative, what happens when a function finishes processing an event and there are no pending events?

Hard
395

Which two of the following are valid ways to set resource constraints on a container in a Pod spec?

Medium
396

Which GitOps tools use a pull-based approach to synchronize the desired state in a Git repository with the actual state in a Kubernetes cluster? (Select all that apply.)

Medium
397

Which Kubernetes object is used to store non-confidential configuration data that can be consumed by pods?

Medium
398

Which component is responsible for running containers in a Kubernetes node and implements the Container Runtime Interface (CRI)?

Medium
399

Which Kubernetes resource provides a stable IP address and DNS name to access a set of pods?

Easy
400

You run 'kubectl get pods' and see that a pod named 'web-frontend' is in 'Pending' state for more than 5 minutes. What is the most likely cause?

Hard
401

A team deploys an application as a StatefulSet with three replicas. They need each Pod to have a stable network identity and its own persistent storage that survives Pod rescheduling. Which two features of StatefulSet satisfy these requirements?

Hard
402

A developer wants to run a single instance of a stateless web application that should be automatically restarted if it fails, but does not require scaling or updates. Which Kubernetes resource is most appropriate?

Easy
403

What is the smallest deployable unit in Kubernetes that you can create and manage?

Easy
404

Which component runs on every worker node and is responsible for ensuring that containers are running in a pod as specified in the PodSpec?

Easy
405

A cluster administrator notices that a Deployment's pods are not receiving traffic as expected. The Service selector matches the pod labels. What is a possible cause?

Hard
406

Which of the following is a correct apiVersion for a Deployment in a modern Kubernetes cluster (v1.19+)?

Medium
407

An application Pod needs to read a database password at runtime. The security team requires that the secret material never be stored in the Pod's container image or in a ConfigMap, and that updates to the secret be reflected in the running container without recreating the Pod. Which approach satisfies these requirements?

Hard
408

A developer created a Deployment with 5 replicas. After applying the manifest, only 3 pods are Running; the other 2 are Pending. Which is the MOST likely cause?

Hard
409

Which Kubernetes control plane component is responsible for maintaining the desired state of the cluster by running controller loops?

Easy
410

Match each Kubernetes storage concept to its description.

Medium
411

You want to run a batch job that processes a queue and then terminates. Which Kubernetes resource should you use?

Hard
412

What is the purpose of the circuit breaker pattern in a microservices architecture?

Medium
413

What is context propagation in distributed tracing?

Hard
414

You notice that a pod is in 'Pending' state for a long time. Which of the following is the most likely cause?

Medium
415

A developer needs to provide a pod with a persistent volume that must be mounted by multiple pods simultaneously for read-write access. The underlying storage system supports concurrent writes from multiple nodes. Which volume type should be used?

Medium
416

A cluster administrator is configuring a NetworkPolicy for a set of pods labeled 'role=db' in the 'backend' namespace. The policy should allow ingress only from pods labeled 'role=api' in the 'frontend' namespace, and only on TCP port 6379. Which NetworkPolicy specification correctly enforces this?

Hard
417

A delivery team's manifests are nearly identical across dev, staging, and production, differing only in replica counts, image tags, and resource limits. They want to keep one shared base and apply environment-specific changes without introducing a templating language. Which approach fits best?

Medium
418

You want to ensure that a Pod runs on every Node in the cluster. Which resource should you use?

Medium
419

What is the primary purpose of the kube-scheduler in a Kubernetes cluster?

Easy
420

An application requires that a set of Pods each be assigned a unique DNS name that can be used for peer-to-peer communication. Which Kubernetes resource should be used?

Hard
421

A startup wants to minimize downtime during application updates in Kubernetes. Which deployment strategy should they use?

Easy
422

Which command would you use to get the logs of a pod named 'backend' in the 'production' namespace?

Medium
423

Which Kubernetes object provides a stable IP address and DNS name for a set of Pods?

Easy
424

Which two scenarios would benefit from using a StatefulSet instead of a Deployment? (Choose two.)

Hard
425

A container image is built from a Dockerfile with multiple layers. Which statement about container image layers is TRUE?

Medium
426

A cluster administrator wants to restrict which nodes a Pod can be scheduled on based on node labels, while also allowing the scheduler to prefer certain nodes but still run elsewhere if needed. Which combination of features should be used?

Medium
427

What is the primary purpose of structured logging?

Easy
428

Drag and drop the steps to create a Kubernetes deployment using kubectl into the correct order.

Medium
429

A cluster administrator needs to grant a user permission to view Pods in the 'staging' namespace but not in any other namespace. Which combination of Kubernetes objects should be created?

Medium
430

You want to view the logs of a container named 'app' inside a pod named 'web-pod-7d4f8'. Which kubectl command should you use?

Medium
431

A Deployment manages ReplicaSets. What is the primary benefit of using a Deployment over directly managing ReplicaSets?

Medium
432

Which command would you use to view the logs of a container named 'sidecar' inside a pod named 'app'?

Medium
433

Which tool is primarily used for distributed tracing in cloud native environments?

Medium
434

A developer creates a Pod with a volume of type emptyDir. The Pod writes data to the volume and then is deleted. What happens to the data?

Medium
435

A platform team is adopting cloud-native principles for a new microservices application. They want to ensure that each service can be independently deployed and scaled without affecting other services. Which design principle BEST supports this goal?

Medium
436

What does the 'kubectl get pods' command display?

Medium
437

Which THREE of the following are benefits of structured logging? (Select three.)

Medium
438

In serverless computing, what is the primary characteristic of Function-as-a-Service (FaaS)?

Medium
439

A container image is being pushed to a private registry. What is the correct workflow?

Medium
440

Which TWO of the following are true about Kubernetes Pods?

Hard
441

An organization wants to implement a serverless function that scales to zero when not in use. Which technology is specifically designed to achieve this on Kubernetes?

Medium
442

You need to run a batch job that processes a queue of 1000 items. The job should run to completion and then terminate. Which Kubernetes resource is BEST suited for this workload?

Medium
443

You have a Kubernetes cluster with multiple namespaces. You need to allow communication only from pods with label 'app: frontend' to pods with label 'app: backend' in the same namespace. Which resource should you use?

Medium
444

Which Kubernetes control plane component is responsible for maintaining the desired state of the cluster by running reconciliation loops?

Easy
445

Which of the following best describes 'Infrastructure as Code' (IaC)?

Medium
446

A development team wants to adopt a cloud-native architecture for a new application. Which set of principles BEST describes the cloud-native approach?

Medium
447

A platform team wants to package a Kubernetes application — including its Deployment, Service, ConfigMap, and default configuration values — into a single versioned artifact that can be installed and rolled back as one unit. Which cloud native tool is purpose-built for this?

Easy
448

A platform team runs a 20-node Kubernetes cluster. They want a single Pod to run on every node so that a node-exporter agent can collect host metrics. They also want the Pod to be automatically created when a new node joins the cluster. Which workload resource should they use?

Medium
449

Drag and drop the steps to set up a Kubernetes cluster using kubeadm into the correct order.

Medium
450

Which TWO of the following are control plane components? (Select TWO)

Medium
451

A pod is stuck in the Pending state. Running 'kubectl describe pod <pod-name>' shows the event: '0/3 nodes are available: 1 node had taint {node.kubernetes.io/disk-pressure: }, 2 nodes had taint {node.kubernetes.io/memory-pressure: }'. What is the most likely cause?

Hard
452

A pod has a liveness probe that returns failure. What action will Kubernetes take?

Medium
453

Which command would you use to apply a manifest file 'deployment.yaml' to a Kubernetes cluster?

Medium
454

A team uses a CI pipeline that builds a container image, scans it for vulnerabilities, and then pushes it to a registry. The scan reports a critical vulnerability in a library used by the application. The team wants to prevent images with critical vulnerabilities from being deployed to production. Which approach best enforces this policy in a Kubernetes-native way?

Hard
455

What is the purpose of a Namespace in Kubernetes?

Easy
456

Which THREE statements about Labels and Selectors are correct?

Hard
457

You have a multi-container pod with a main application container and a sidecar container that handles log shipping. The sidecar container should start before the main container and stop after the main container finishes. Which pod configuration should you use?

Hard
458

Which three of the following are valid ways to interact with the Kubernetes API? (Select THREE.)

Medium
459

Which command is used to view detailed information about a specific pod?

Easy
460

Which THREE of the following are true about Kubernetes Namespaces?

Hard
461

A pod in the 'production' namespace is in a CrashLoopBackOff state. The pod has been running successfully for several days. You run 'kubectl describe pod app-pod -n production' and see the message: 'OOMKilled'. What is the MOST appropriate action to resolve this issue?

Medium
462

You run the command 'kubectl get pods -n default' and see no pods listed. However, you are sure there should be pods. What is the most likely cause?

Medium
463

What is the purpose of Alertmanager in Prometheus?

Easy
464

An operations team runs a stateless web application in a Deployment with 3 replicas. They need each Pod to be able to read application configuration from a single source, and updates to that configuration should be reflected in the running Pods without rebuilding the container image. Which Kubernetes resource should they use to store the configuration and inject it as environment variables into the Pods?

Medium
465

You want to expose a set of pods running on node port 30080 to external traffic. Which Service type should you use?

Medium
466

A container in a pod has been restarted multiple times with 'CrashLoopBackOff' state. What does this indicate?

Easy
467

Which THREE of the following are responsibilities of the kube-controller-manager?

Medium
468

A development team deploys a microservice that crashes every few minutes. The deployment uses a single replica, and the pod restarts repeatedly. Which Kubernetes feature should be enabled to ensure the service remains available during failures?

Medium
469

A platform team wants to package a multi-service application into a single distributable artifact that includes Kubernetes manifests, default configuration values, and a version number. Which tool is purpose-built for this task?

Easy
470

What is the primary purpose of the sidecar container in a service mesh?

Medium
471

Which statement accurately describes a key difference between containers and virtual machines?

Easy
472

A microservice logs errors when connecting to the database. The logs show 'connection refused'. Which troubleshooting step should be taken first?

Medium
473

What is the smallest deployable unit in Kubernetes that can be created, scheduled, and managed?

Easy
474

What is Helm's role in Kubernetes?

Easy
475

An organization uses GitOps with ArgoCD to manage Kubernetes deployments. What is the PRIMARY advantage of this approach over traditional imperative deployment methods?

Medium
476

A developer creates a Deployment with 3 replicas. After a few seconds, they run `kubectl get deployments` and see `READY 2/3`. They want to quickly identify why one replica is not ready. Which command should they use to inspect the status of the individual Pods?

Easy
477

Which TWO of the following are true about container networking basics? (Choose 2)

Easy
478

Which two of the following are responsibilities of the kubelet? (Select TWO.)

Medium
479

Which component runs on every worker node and is responsible for ensuring that containers are running in a pod according to the pod specification?

Easy
480

You have a microservices application with a frontend service that needs to communicate with a backend service running in a different namespace ('backend-ns'). The default namespace for the frontend is 'frontend-ns'. What DNS name should the frontend use to reach the backend service named 'backend-svc'?

Hard
481

Which of the following is a core principle of the 12-factor app methodology?

Easy
482

Which of the following is a characteristic of immutable infrastructure?

Hard
483

What is the purpose of a readiness probe in a Kubernetes pod?

Easy
484

A company wants to ensure that a database pod runs on a node with SSD storage. How should this be achieved?

Easy
485

What is the purpose of the Container Runtime Interface (CRI) in Kubernetes?

Easy
486

In a CI pipeline, image scanning is integrated to detect vulnerabilities. What is the best practice when a critical vulnerability is found in a base image?

Hard
487

Which CNCF project maturity level indicates that a project has adopted the CNCF Code of Conduct and is considered early-stage?

Easy
488

You notice that a newly created Pod remains in 'Pending' state. Which of the following is the MOST likely cause?

Hard
489

Which TWO of the following are characteristics of microservices architecture? (Choose 2)

Easy
490

A pod has resource requests of 512Mi memory and 500m CPU, and limits of 1Gi memory and 1 CPU. The node has 4Gi memory and 2 CPU cores. If the pod tries to use 700m CPU, what will happen?

Hard
491

A team runs a stateless web application as a Deployment with 4 replicas. They want each replica to be reachable through a single stable virtual IP inside the cluster, and they want the traffic distributed across all healthy replicas. They have already created a Service of type ClusterIP with the correct selector. A new engineer asks what backend object the Service actually targets. What does the Service select?

Medium
492

A team is using Kustomize to manage configurations for different environments. They want to create a variant of a base deployment that uses a different number of replicas. Which Kustomize feature should they use?

Medium
493

A developer wants to run a one-time task that creates a database schema and then exits. Which Kubernetes workload type is most appropriate?

Easy
494

In a container image built from a Dockerfile, what is the purpose of the CMD instruction?

Hard
495

Which of the following is a key principle of the 12-factor app methodology related to managing configuration?

Hard
496

What is GitOps?

Easy
497

Which TWO of the following are valid reasons to use a DaemonSet instead of a Deployment? (Select 2)

Hard
498

A Deployment named 'app-deploy' is configured with strategy type: RollingUpdate. You want to update the container image to a new version. What kubectl command should you use?

Medium
499

A platform engineer is explaining the role of the Kubernetes API server in a cloud-native architecture. Which statement BEST describes its primary function?

Easy
500

A team is deciding how to isolate workloads across namespaces. Which two statements about Kubernetes Namespaces are accurate? (Choose two.)

Hard
501

Which THREE of the following are valid ways to expose a Service to external traffic? (Select exactly three.)

Medium
502

A platform team is standardizing on Kubernetes-native delivery. They want to adopt practices that make releases repeatable and reduce drift between environments. Which two practices best support that goal? (Choose two.)

Medium
503

Which THREE are responsibilities of the OpenTelemetry project? (Select three.)

Hard
504

A cluster administrator notices that a Pod scheduled on a node is stuck in the Pending state. The Pod requests 8 CPU cores, but the node has only 4 allocatable CPU cores. The scheduler logs show a FailedScheduling event with the message 'Insufficient cpu'. Which action will allow the Pod to be scheduled without reducing its CPU request?

Hard
505

What is the primary advantage of using Helm to package a Kubernetes application?

Easy
506

Which TWO of the following are best practices for implementing observability in a cloud-native environment?

Medium
507

Which Open Container Initiative (OCI) specification defines the format of container images?

Easy
508

Which TWO of the following are true about Kubernetes Services? (Select 2)

Medium
509

A team wants a single stable IP address and DNS name that load-balances traffic across a changing set of backend Pods. The Pods are managed by a Deployment and are regularly replaced during rollouts. Which Kubernetes object should they create to provide this stable virtual IP and DNS entry?

Easy
510

A cluster administrator needs to run a node-level logging agent on every node, including nodes added later. The agent must collect logs from the host filesystem and must run even if a node is cordoned. Which workload resource should be used?

Medium
511

Which service mesh component is responsible for handling inter-service communication as a sidecar proxy?

Medium
512

An administrator needs to run a stateful database in Kubernetes that requires a stable network identity, persistent storage that survives pod rescheduling, and ordered deployment and scaling. Which Kubernetes resource should be used to meet these requirements?

Medium
513

A pod is stuck in 'Pending' state. After running 'kubectl describe pod', you see the event: '0/3 nodes are available: 3 Insufficient cpu'. What is the most likely cause?

Medium
514

Your organization runs a cloud-native e-commerce platform on Kubernetes. The platform consists of several microservices: a frontend service, an order service, a payment service, and a shipping service. All services communicate via HTTP REST APIs. Recently, during a flash sale event, the platform experienced a cascading failure. The order service became overwhelmed with requests and started responding slowly. This caused the frontend service to time out waiting for order responses, and eventually the frontend service crashed due to exhausted thread pools. The payment and shipping services were unaffected because they are called asynchronously via a message queue. You need to redesign the system to prevent such cascading failures in the future. Which approach is the most effective?

Hard
515

A Kubernetes Deployment is configured with 'strategy.type: RollingUpdate'. The team wants to ensure that during an update, no more than 25% of pods are unavailable at any time. Which specification should be added?

Hard
516

Which control plane component is responsible for persisting the entire cluster state?

Medium
517

A team is designing a Kubernetes cluster for a production workload that requires high availability. They have three worker nodes in different availability zones. Which statement about scheduling Pods is correct?

Medium
518

Which TWO components run on every worker node in a Kubernetes cluster?

Easy
519

Match each cloud native concept to its definition.

Medium
520

A platform team runs a Kubernetes cluster where the kubelet and container runtime expose metrics on each node. The team wants to collect node-level CPU and memory metrics into Prometheus without deploying a separate exporter on every node. Which component should they configure Prometheus to scrape?

Medium
521

A developer runs `kubectl get pods` and notices that one Pod is stuck in the `Pending` state. The Pod's resource requests are modest, and the node has sufficient CPU and memory. Which of the following is the MOST likely reason the Pod is not being scheduled?

Medium
522

A developer wants to monitor the health of a Kubernetes deployment by checking if the number of ready replicas matches the desired replicas. Which metric from kube-state-metrics should they query?

Easy
523

Which component of the control plane is the only one that directly interacts with etcd?

Easy
524

Which TWO of the following are valid uses of Kubernetes Namespaces? (Select 2)

Medium
525

In a service mesh architecture, which component is responsible for intercepting and managing traffic between microservices?

Medium
526

What is the Container Runtime Interface (CRI)?

Easy
527

You have a Kubernetes cluster with a Deployment that uses a PersistentVolumeClaim (PVC) to store application data. The PVC is bound to a PersistentVolume (PV) with a Retain reclaim policy. You delete the Deployment and the PVC. What happens to the underlying storage?

Hard
528

Which command is used to view detailed information about a specific pod, including events and conditions?

Easy
529

In a multi-cloud architecture, what is a common use case for a service mesh?

Medium
530

A cluster administrator deploys a web application as a Deployment named 'web' with 4 replicas. Users report that requests to the application sometimes reach a Pod that is still starting up and not ready to serve traffic. Which Kubernetes object should the administrator configure to ensure only ready Pods receive traffic?

Easy
531

Which THREE are key benefits of using a service mesh in a cloud-native architecture? (Choose 3)

Medium
532

A cluster administrator needs to run a critical system daemon that must continue running even when a node is marked as unschedulable for maintenance. The DaemonSet Pods should tolerate the node's taint. Which taint should the DaemonSet Pod tolerate to achieve this?

Medium
533

An administrator needs to expose a set of pods running a web application on a static port on each node's IP address. Which Service type should they use?

Medium
534

A company is deploying a microservices application on Kubernetes. They want to ensure that configuration data, such as database URLs and feature flags, can be updated without rebuilding container images. Which Kubernetes resource should they use?

Medium
535

Which TWO actions can improve the DORA metric 'Mean Time to Recovery (MTTR)'?

Medium
536

In a YAML manifest for a Deployment, which field defines the number of pod replicas?

Hard
537

What is the primary purpose of a container registry in a CI/CD pipeline?

Easy
538

You have a Deployment with the following rollout strategy: rollingUpdate: maxSurge: 1, maxUnavailable: 0. What behavior does this configuration enforce?

Hard
539

A platform team runs a Kubernetes cluster with the OpenTelemetry Collector deployed as a DaemonSet. They want to collect node-level metrics such as CPU and memory usage from every node without modifying application code. Which receiver should they configure in the Collector's pipeline?

Medium
540

A platform team runs a multi-tenant Kubernetes cluster for several product groups. They want each group's workloads to be logically isolated from one another, with separate quota limits and separate RBAC bindings, while still sharing the same cluster control plane and worker nodes. Which Kubernetes construct BEST provides this isolation boundary?

Easy
541

In an event-driven architecture using a message broker, which component is responsible for receiving events and forwarding them to subscribed services?

Medium
542

Which Kubernetes object is used to store non-sensitive configuration data that can be consumed by pods?

Medium
543

A team uses a Deployment with 3 replicas and a RollingUpdate strategy. They update the container image. During the update, one of the new pods fails to start. What will happen by default?

Medium
544

A user runs 'kubectl get pods -n default' but receives an error: 'Error from server (Forbidden): pods is forbidden: User cannot list resource pods in API group'. What is the most likely cause?

Medium
545

A Kubernetes Deployment manages a set of pods. What is the primary purpose of a Deployment?

Medium
546

Which THREE of the following are core principles of immutable infrastructure? (Choose 3)

Medium
547

A cluster administrator examines a node and notices that the kubelet is running, but the node's status shows 'NotReady'. The administrator runs 'systemctl status containerd' on the node and finds the service is inactive. Which component's failure most directly explains the node's 'NotReady' condition?

Medium
548

A ClusterIP Service named 'db-service' in namespace 'prod' selects pods with label 'app: database'. A pod in the same cluster needs to reach this service using DNS. What is the fully qualified domain name (FQDN) for the service?

Hard
549

Which of the following is a benefit of using a service mesh?

Medium
550

Which TWO of the following are valid ways to expose a Service to external traffic?

Hard
551

A developer wants to expose a set of pods running a web application on a stable IP address. Which Kubernetes resource should they create?

Medium
552

Which of the following is a key benefit of using containers over virtual machines?

Easy
553

A platform engineer needs to run a one-time batch job that processes a dataset and then exits. The job must run exactly once and not be restarted if it completes successfully. Which Kubernetes resource should be used?

Easy
554

Which TWO statements about Kubernetes namespaces are true?

Medium
555

According to the 12-factor app methodology, how should an application store configuration that varies between deployments (e.g., database connection strings)?

Medium
556

A developer wants to run a stateless web application with 5 replicas and ensure that when a new version is released, Pods are updated one by one with no downtime. Which Kubernetes resource is best suited?

Medium
557

Which CNCF project is at the 'Graduated' maturity level and is widely used for container orchestration?

Medium
558

Which TWO of the following are characteristics of a Kubernetes Pod?

Easy
559

Match each Kubernetes command (kubectl) to its primary function.

Medium
560

A developer wants to run a one-time batch job that processes a dataset and then exits. The job must complete successfully and not be restarted after completion. Which Kubernetes resource should be used?

Easy
561

Which TWO of the following are true about service discovery in Kubernetes? (Choose 2)

Hard
562

A team wants to deploy a stateful application that requires each pod to have a unique, stable network identity and persistent storage that persists across rescheduling. Which Kubernetes resource is most appropriate?

Hard
563

You run 'kubectl get pods' and see a pod with status 'Pending'. Which is the most likely cause?

Medium
564

Which of the following correctly describes the concept of 'immutable infrastructure' in the context of container orchestration?

Hard
565

A cluster administrator wants to ensure that a specific pod only runs on nodes that have an SSD for local storage. The nodes with SSDs have the label 'disk-type: ssd'. How should the administrator configure the pod to enforce this constraint?

Hard
566

What is the purpose of a circuit breaker pattern in microservices?

Easy
567

A developer wants to run a batch job that processes a large dataset. The job should run to completion, and if the Pod fails, it should be retried up to 4 times before being marked as failed. Which Kubernetes resource and configuration should be used?

Medium
568

A developer needs to store non-confidential configuration data, such as a database hostname and port, that can be consumed by multiple Pods in a namespace. The data should be decoupled from the Pod specification to allow updates without rebuilding images. Which Kubernetes resource is designed for this purpose?

Easy
569

Which THREE of the following practices are essential for a secure cloud native CI/CD pipeline?

Hard
570

Which TWO of the following are core principles of the 12-factor app? (Choose 2.)

Medium
571

A Pod is stuck in 'Pending' state. Which command is most helpful to diagnose the issue?

Medium
572

A developer created a Deployment with image 'myapp:v1' and then ran 'kubectl set image deployment/myapp myapp=myapp:v2'. What is the effect of this command?

Medium
573

Which Kubernetes component is responsible for maintaining the desired state of the cluster by running controller loops?

Easy
574

A developer wants to store non-sensitive configuration data, such as a database hostname and port, that multiple pods in different namespaces will consume as environment variables. The data must be reusable and not hardcoded in pod specs. Which Kubernetes resource is most appropriate?

Easy
575

You deploy a web application as a Deployment with 3 replicas. Each pod runs an Nginx container that listens on port 80. You need to make the application accessible from outside the cluster on a stable IP address that does not change even if nodes are replaced. Which Service type should you use?

Medium
576

A cluster administrator needs to run a Pod that requires access to a raw block device on a specific node. The Pod must be scheduled only on nodes labeled disktype=ssd, and it must tolerate a taint hardware=gpu:NoSchedule that exists on those nodes. Which combination of Pod spec fields is required?

Medium
577

Which Kubernetes object is used to logically isolate resources within a cluster, such as for separating environments like dev and prod?

Easy
578

Which THREE of the following are valid ways to assign a pod to a specific node? (Choose three.)

Hard
579

In the context of the 12-factor app methodology, which factor emphasizes storing configuration in environment variables?

Easy
580

A developer needs to run a one-off database migration job in a Kubernetes cluster and ensure it completes successfully before a new application version is rolled out. Which Kubernetes resource should be used for the migration task?

Easy
581

A team wants to ensure that at least 99.9% of all requests to their application complete within 500ms over a 30-day window. How should this requirement be classified?

Medium
582

Which CNCF project maturity level indicates that a project has successfully adopted the CNCF governance and is considered stable for production use?

Easy
583

A Deployment has a strategy of RollingUpdate with maxSurge=1 and maxUnavailable=0. The Deployment manages 3 replicas. The image is updated. What happens during the update?

Hard
584

In a CI/CD pipeline, what is the difference between continuous delivery and continuous deployment?

Easy
585

Which THREE of the following are important security practices in a container image CI/CD pipeline?

Medium
586

What is the purpose of a Kubernetes Service?

Easy
587

A developer creates a Pod with the following YAML snippet: spec: containers: - name: web image: nginx ports: - containerPort: 80 The Pod is running, but the developer cannot reach it from another Pod in the same namespace using the Pod's IP address. Which command should the developer run first to verify that the container process is listening on port 80?

Easy
588

Which of the following is a valid use case for a DaemonSet?

Medium
589

What is the OCI (Open Container Initiative) responsible for?

Easy
590

A user reports that they can access a service by its ClusterIP but not by its DNS name from within the cluster. What is the most likely cause?

Medium
591

A development team is adopting a GitOps workflow for their Kubernetes applications. They want to ensure that the cluster state always matches the desired state defined in Git. Which component is responsible for continuously reconciling the cluster with the Git repository?

Medium
592

A developer creates a Pod with a single container that writes data to /data. The Pod spec includes a volume of type hostPath with path /mnt/data. After the Pod is deleted, the developer notices that the data persists on the node. What is the primary reason for this behavior?

Hard
593

An application requires that a specific set of pods be placed on nodes labeled with 'gpu=true'. Which Kubernetes field should be used in the pod spec to enforce this?

Medium
594

An administrator is troubleshooting a cluster and runs `kubectl get pods -n kube-system`. They see a Pod named `kube-apiserver-controlplane` running on the control plane node. Which statement best describes the role of this component?

Easy
595

Which component runs on every worker node and ensures that containers are running in a Pod as specified in the Pod manifest?

Medium
596

A developer creates a Deployment with 'replicas: 3'. After applying the manifest, only 2 pods are running. Which command would help identify why the third pod was not created?

Medium
597

A pod is in CrashLoopBackOff state. 'kubectl logs pod' shows 'Error: cannot connect to database at db-service:5432'. The database Service exists and is reachable from other pods. What is the most likely cause?

Hard
598

A platform team is designing a system that must continue serving requests for a product catalog even if the recommendation service becomes unavailable. The recommendation service calls the catalog service to fetch item details, and when it fails, the catalog service should keep responding to user traffic. Which cloud-native architecture principle BEST describes the required behavior for the catalog service?

Medium
599

Which command would you use to view the current state of all Pods in the default namespace?

Easy
600

An application requires that a pod must not be scheduled on the same node as another pod from the same Deployment. Which configuration should be used?

Hard
601

Which THREE of the following are benefits of using a service mesh? (Select three.)

Hard
602

A Kubernetes administrator needs to ensure that a set of pods can only communicate with each other and with a specific external API, while blocking all other traffic. Which Kubernetes feature should be used to enforce this?

Hard
603

Which THREE of the following are valid reasons to use a StatefulSet instead of a Deployment? (Select 3)

Hard
604

A pod is running but its container exits with code 137. The pod logs show 'Killed'. What is the most likely cause?

Hard
605

A cluster administrator runs `kubectl taint nodes node1 dedicated=gpu:NoSchedule` and then creates a Pod with toleration `dedicated=gpu:NoSchedule` but no node affinity. What is the resulting behavior?

Hard
606

Which TWO of the following are core principles of the 12-factor app methodology? (Select TWO.)

Medium
607

A pod has both resource requests and limits defined. The container is using more CPU than the request but less than the limit. What will happen?

Hard
608

A development team wants to package and deploy a multi-tier application to Kubernetes. They need to template Kubernetes manifests with environment-specific values and manage releases with versioning and rollback capabilities. Which tool is purpose-built for this?

Easy
609

A cluster administrator needs to run a one-time database migration job that must complete successfully before a new application version is deployed. The job should retry up to 4 times if it fails and should be automatically cleaned up 1 hour after completion. Which Kubernetes resource should be used?

Medium
610

A Kubernetes cluster has a pod that is stuck in the 'Pending' state. The operations team runs 'kubectl describe pod' and sees the event: '0/3 nodes are available: 3 Insufficient cpu.' What is the most likely cause of this issue?

Hard
611

Which command would you use to view the logs of a container named 'nginx' in a Pod named 'web-pod'?

Easy
612

A developer wants to ensure that a pod runs only on nodes with SSDs. Which mechanism should be used?

Easy
613

What is the primary purpose of the CNCF (Cloud Native Computing Foundation)?

Easy
614

Which of the following is true about Prometheus's pull-based model for collecting metrics?

Medium
615

A Prometheus alert rule fires when the error rate exceeds 5% for 5 minutes. The alert is sent to Alertmanager. What must be configured in Alertmanager to ensure the alert is deduplicated, grouped, and routed to the correct team?

Hard
616

You run 'kubectl get pods' and see a pod in 'Pending' state for over 5 minutes. You describe the pod and see '0/1 nodes are available: 1 Insufficient memory'. What is the most likely cause?

Hard
617

Which THREE of the following are core components of a Kubernetes worker node?

Medium
618

A platform team runs a StatefulSet named `db` with three replicas in the `prod` namespace. An operator must connect directly to the third Pod's network identity for a manual data repair. Which stable DNS name resolves to that specific Pod?

Medium
619

A platform team runs a 12-node Kubernetes cluster where each node hosts roughly 30 pods. They deployed Prometheus with a ServiceMonitor that scrapes every pod's /metrics endpoint every 15 seconds, but now the Prometheus pod is frequently OOMKilled and scrape targets intermittently report 'context deadline exceeded'. Which change best addresses the root cause while preserving observability?

Hard
620

Which Kubernetes component is the primary entry point for all administrative tasks and API requests?

Easy
621

Which Kubernetes component is responsible for storing the cluster state?

Easy
622

You have a microservices application deployed as a set of Pods in a Kubernetes cluster. You need to ensure that Pods can discover each other using stable DNS names. Which Kubernetes resource should you create?

Medium
623

Which kubectl command is used to view detailed information about a Kubernetes resource?

Easy
624

Which component in an event-driven architecture is responsible for decoupling event producers from consumers?

Medium
625

In a microservices architecture, which pattern is used to prevent cascading failures by limiting the number of concurrent requests to a service?

Medium
626

You create a Service of type NodePort with nodePort: 30080. The cluster's nodes have IP addresses 10.0.0.1 and 10.0.0.2. From outside the cluster, which address and port can you use to access the Service?

Hard
627

A pod named 'web-app' is not able to resolve the hostname 'db-service' from another namespace 'data'. The 'db-service' Service exists in the 'data' namespace. What is the most likely cause?

Hard
628

Which practice is a key principle of cloud-native architecture?

Easy
629

You need to ensure that a pod runs on a specific node that has an SSD. The node has the label 'disktype=ssd'. How should you configure the pod to target this node?

Hard
630

Which two components are part of the Kubernetes worker node? (Choose two.)

Medium
631

Which TWO of the following are characteristics of a microservices architecture? (Select 2)

Medium
632

A developer wants to deploy a stateful application that requires stable network identities and persistent storage. Which Kubernetes resource is best suited for this workload?

Medium
633

Which TWO statements are true about Kubernetes Deployments?

Medium
634

Which TWO of the following are essential components of a GitOps workflow? (Select two.)

Easy
635

A team runs a stateful application in a Kubernetes cluster. They need each Pod to have a stable network identity and its own persistent storage that survives Pod rescheduling. Which controller should they use?

Hard
636

An architecture review is comparing the sidecar proxy model used by service meshes against embedding resilience logic directly in each application's code. Which TWO statements accurately describe advantages of the sidecar proxy approach? (Choose two.)

Medium
637

What is the primary purpose of a Kubernetes Service?

Easy
638

What is the primary benefit of containers over virtual machines?

Easy
639

A team runs a stateless web application in Kubernetes. They have a Deployment named 'web-app' with 5 replicas. They want to ensure that a Service named 'web-svc' distributes traffic evenly to all healthy pods. Which type of Service should they use?

Medium
640

Which Kubernetes component is the primary entry point for all administrative tasks and exposes the REST API?

Easy
641

A developer needs to run a one-off batch job that processes a dataset and then exits. The job must run to completion exactly once per execution and should be retried automatically if the container fails. Which Kubernetes workload resource is designed for this requirement?

Medium
642

Which TWO of the following are valid container runtimes that implement the CRI? (Choose two.)

Medium
643

Which component is responsible for managing the lifecycle of containers on a Kubernetes node?

Easy
644

In event-driven architecture, which pattern is commonly used to decouple producers and consumers, allowing asynchronous communication?

Hard
645

Which TWO tools are commonly used for GitOps? (Choose two.)

Medium
646

A developer wants to run a single instance of a Pod on every node in a Kubernetes cluster to collect node-level metrics. Which Kubernetes resource is most appropriate for this task?

Easy
647

Which TWO are benefits of using a service mesh in cloud-native applications?

Hard
648

Which THREE of the following are characteristics of a microservices architecture? (Select 3)

Medium
649

Drag and drop the steps to configure a Kubernetes Service of type LoadBalancer in a cloud environment into the correct order.

Medium
650

You have a Deployment defined with replicas: 5. You run 'kubectl scale deployment myapp --replicas=3'. Which component is responsible for ensuring the actual number of Pods matches the desired 3?

Hard
651

A platform team must ensure that a critical StatefulSet named ledger in the finance namespace always has at least two Pods available during voluntary disruptions such as node drains, and that Pods are spread across different nodes. Which two resources or settings should they configure? (Choose two.)

Hard
652

A team manages a multi-service application with Helm. Each service has its own ConfigMap, Deployment, and Service. The manifests for all services are almost identical except for the image tag and service name. They want to create a single reusable Helm chart that deploys all services from one values file, avoiding duplicate YAML. Which Helm feature should they use to loop over a list of services in the chart templates?

Medium
653

You have a YAML manifest for a Deployment with 'apiVersion: extensions/v1beta1'. When you run 'kubectl apply -f manifest.yaml', you get an error. What is the most likely cause?

Hard
654

A startup is building a cloud-native application and wants to adopt a packaging format that bundles application code and its dependencies into a single immutable artifact that can run consistently across environments. Which technology BEST meets this requirement?

Easy
655

Which TWO of the following are true about Pod resource limits? (Select TWO)

Hard
656

A team wants to deploy a batch job that runs once to process a large dataset. The job should run to completion and then terminate. Which Kubernetes resource should be used?

Medium
657

What is the primary purpose of continuous integration (CI) in a cloud-native application delivery pipeline?

Easy
658

Which TWO of the following are benefits of using Helm for managing Kubernetes applications?

Medium
659

Which of the following is an example of Infrastructure as Code (IaC) tool?

Medium
660

What is the concept of 'immutable infrastructure' as applied to Kubernetes?

Medium
661

Which THREE of the following are true about the Open Container Initiative (OCI)? (Choose 3)

Hard
662

A company wants to run a batch job that processes data and then terminates. Which Kubernetes resource should they use?

Medium
663

When using Kustomize, how do you apply a common label to all resources in the base?

Hard
664

A developer is investigating a performance issue in a microservices application. They want to trace a single request as it flows through multiple services, including a database call. Which OpenTelemetry concept allows them to correlate all these operations under a single logical unit?

Medium
665

A team is adopting cloud-native architecture and wants to ensure that a single failing component does not take down the entire application. They are reviewing the design of their microservices deployment. Which characteristic of cloud-native architecture is MOST directly related to limiting the impact of a component failure?

Easy
666

You need to expose a set of pods running a web application to internal cluster traffic on a stable IP address. Which resource should you create?

Medium
667

A developer deploys a pod that continuously restarts. 'kubectl describe pod' shows the container exits with code 137. What is the most likely cause?

Medium
668

What is the purpose of the 'kubectl scale' command?

Easy
669

Which component of the Kubernetes control plane is responsible for storing the cluster state?

Easy
670

A Kubernetes administrator is troubleshooting a Pod that is stuck in the Pending state. The Pod has a resource request of cpu: 2 and memory: 4Gi. Which two commands are most appropriate to identify why the Pod cannot be scheduled? (Choose two.)

Hard
671

A platform team is deploying a logging stack in Kubernetes. They want to collect logs from all pods and nodes, store them centrally, and provide a query interface. Which combination of tools is commonly used to achieve this?

Easy
672

Which DORA metric measures how quickly code changes are deployed to production?

Medium
673

A Pod is stuck in Pending state. Which of the following is the MOST likely cause?

Medium
674

What is the primary purpose of the Container Runtime Interface (CRI) in Kubernetes?

Easy
675

An administrator runs `kubectl taint nodes node1 dedicated=gpu:NoSchedule` and then creates a Pod with the toleration `key: dedicated, operator: Equal, value: gpu, effect: NoSchedule`. The Pod is scheduled onto node1, but the administrator expected the taint to repel all Pods without a matching toleration. Which statement explains why the Pod was still placed on node1?

Hard
676

Which TWO of the following are benefits of implementing progressive delivery techniques (e.g., canary releases)?

Easy
677

A company uses OpenTelemetry to instrument their microservices. They want to ensure that traces from one service can be correlated with those from another service across network calls. Which OpenTelemetry concept enables this correlation?

Hard
678

Which component is responsible for ensuring that containers are running as specified in a Pod's specification on a node?

Medium
679

What does the 'kubectl logs' command retrieve?

Easy
680

A company is adopting a GitOps workflow for their Kubernetes deployments. They want to ensure that the cluster state always matches the desired state defined in a Git repository. Which tool is specifically designed for this purpose?

Medium
681

A user runs 'kubectl create deployment my-deploy --image=nginx' and then wants to scale the deployment to 5 replicas. Which command should they use?

Medium
682

Which component in Kubernetes is responsible for maintaining the desired state of the cluster?

Easy
683

Which of the following are core components of the Flux GitOps toolkit?

Hard
684

A cluster administrator is configuring a Pod with a container that requires 2 CPU cores and 4Gi of memory. The administrator sets resource requests to 2 CPU and 4Gi memory, and limits to 4 CPU and 8Gi memory. The Pod is scheduled to a node with 4 CPU and 8Gi memory available. What happens when the container attempts to use 3 CPU and 6Gi memory?

Hard
685

A developer wants to store non-confidential configuration data as key-value pairs that can be consumed by Pods as environment variables or mounted files. Which Kubernetes resource is designed for this purpose?

Easy
686

What is the primary purpose of a Kubernetes Service object?

Easy
687

Which TWO of the following are Kubernetes control plane components?

Medium
688

Which tool is commonly used for log aggregation in Kubernetes and is designed to be lightweight?

Easy
689

In the context of the 12-factor app methodology, which factor requires that an app's configuration be stored in environment variables?

Hard
690

Which of the following best describes immutable infrastructure?

Hard
691

A CI/CD pipeline includes image scanning. What is the primary security benefit of scanning container images in the CI phase?

Medium
692

Which THREE are benefits of using container orchestration platforms like Kubernetes?

Medium
693

You are a platform engineer at a fast-growing startup. The company runs a Kubernetes cluster with 50 worker nodes for its production microservices. Recently, the operations team has been struggling with manual configuration drift: developers SSH into nodes to install debugging tools, and some nodes have different kernel parameters or installed packages. This has caused intermittent outages when a pod is scheduled onto a non-standard node. The CTO wants a solution that ensures each node is identical, immutable, and reproducible. The cluster uses kubeadm for bootstrapping and runs on AWS EC2. Which approach best achieves the goal of immutable nodes?

Hard
694

Which Kubernetes resource is commonly used to implement the sidecar pattern for injecting a service mesh proxy?

Hard
695

Which TWO of the following are functions of the kube-controller-manager?

Easy
696

Which component runs on every worker node and is responsible for maintaining the lifecycle of pods?

Easy
697

A pod is in 'Pending' state for a long time. What is the most likely cause?

Medium
698

In event-driven architecture, which component is responsible for decoupling event producers from consumers?

Hard
699

Which THREE are common features of progressive delivery?

Hard
700

A cluster administrator is configuring a Pod to use a ConfigMap for environment variables. Which two methods can be used to expose ConfigMap data as environment variables in a container? (Choose two.)

Medium
701

Which TWO statements accurately describe the concept of immutable infrastructure in the context of container orchestration? (Select two.)

Medium
702

Which kubectl command would you use to view the logs of a specific pod?

Easy
703

You want to run a batch job that processes data and then terminates. Which Kubernetes resource is best suited for this workload?

Medium
704

What is a primary benefit of using containers over virtual machines?

Easy
705

What is a key advantage of containers compared to virtual machines?

Easy
706

Which of the following kubectl commands would you use to apply a manifest file and also save it for later updates?

Hard
707

Which command would you use to view the logs of a specific container in a pod?

Easy
708

A company wants to manage its Kubernetes resources using Git as the single source of truth, with automated synchronization. Which approach should they use?

Medium
709

Which TWO are pillars of observability? (Select two.)

Medium
710

A team wants to implement a canary deployment strategy for their Kubernetes application. Which tool is specifically designed for progressive delivery and can be used to automate canary rollouts?

Medium
711

A developer wants to deploy a stateful application that requires stable network identities and persistent storage per pod instance. Which Kubernetes resource is most appropriate?

Medium
712

What is the primary purpose of a service mesh in a cloud-native architecture?

Medium
713

A developer creates a Pod with a single container that writes logs to stdout. The Pod is running, but the developer wants to view the last 50 lines of logs from that container and have the command keep streaming new output. Which kubectl command accomplishes this?

Hard
714

A team is adopting a GitOps workflow with Argo CD to manage Kubernetes applications. They want to ensure that the cluster state always matches the desired state in Git and that changes are automatically applied. Which two Argo CD features should they configure? (Choose two.)

Medium
715

Which Kubernetes object provides stable network endpoints and load balancing for a set of pods?

Easy
716

In Flux CD, which component is responsible for reconciling the cluster state with the source of truth defined in a Git repository?

Medium
717

Which TWO of the following are examples of Infrastructure as Code (IaC) tools? (Choose two.)

Easy
718

Which open-source project provides a unified standard for collecting and exporting telemetry data (metrics, logs, and traces) from applications?

Medium
719

Which command is used to create a Deployment that runs an nginx container with 3 replicas?

Easy
720

A team wants to minimize downtime during a Deployment rollout. Which strategy ensures that new pods are created before old pods are terminated?

Medium
721

What is a key benefit of container orchestration platforms like Kubernetes?

Easy
722

Which THREE of the following are valid use cases for distributed tracing in a microservices architecture?

Medium
723

What is a key benefit of using containers over virtual machines for application deployment?

Easy
724

Which THREE of the following are resiliency patterns commonly used in cloud native applications? (Choose three.)

Hard
725

Which kubectl command is used to apply a manifest file to create or update resources?

Medium
726

A CI pipeline builds a container image and tags it as 'myapp:latest'. The pipeline then pushes the image to a registry. A Kubernetes Deployment manifest references 'myapp:latest' with imagePullPolicy: Always. After a new image is pushed with the same tag, the team notices that existing Pods are not updated. What is the most likely reason?

Medium
727

Which CNCF project provides a graduated service mesh implementation that includes features like traffic management, security, and observability?

Easy
728

A user creates a Pod with a PersistentVolumeClaim (PVC) that requests 5Gi of storage. The cluster has two PersistentVolumes (PVs): PV1 (3Gi, AccessModes: ReadWriteOnce) and PV2 (10Gi, AccessModes: ReadOnlyMany). The PVC specifies storageClassName: "" and AccessModes: ReadWriteOnce. Which PV will bind to the PVC?

Hard
729

Which component is responsible for running containers on a Kubernetes node?

Easy
730

Which command is used to view the logs of a pod named 'web-pod'?

Medium
731

In a serverless architecture using Knative, what happens to a service that has not received traffic for an extended period?

Hard
732

You are writing a Deployment YAML (apps/v1) for a stateless web application. The application should have 3 replicas and use rolling updates with maxSurge=1 and maxUnavailable=0. Which field should you set under spec.strategy?

Medium
733

What does SLA stand for in the context of service reliability?

Easy
734

An administrator needs to store a database password for a Pod to consume as an environment variable. The password must be stored securely and not exposed in the Pod specification. Which Kubernetes resource should the administrator create?

Medium
735

An application running in a Kubernetes cluster needs to securely access a third-party API. The API key must be stored in the cluster and mounted into the Pod as an environment variable. Which is the best practice?

Hard
736

Which THREE of the following are true about Kubernetes labels and selectors?

Hard
737

You need to run a batch job that processes data every hour and exits upon completion. Which Kubernetes resource should you use?

Medium
738

Which THREE of the following are features typically provided by a service mesh? (Choose three.)

Hard
739

An administrator needs to ensure that Pods from two different Deployments cannot communicate with each other. Which Kubernetes resource should be used?

Hard
740

Which Kubernetes object provides a stable IP address and DNS name to access a set of pods, and can perform load balancing?

Medium
741

A team is implementing a multi-cloud strategy to avoid vendor lock-in. Which Kubernetes feature is most helpful for abstracting the underlying cloud provider?

Medium
742

A cluster administrator needs to run a log-forwarding agent on every node, including nodes added later, without manually scheduling a Pod per node. Which workload object should be used?

Easy
743

A DevOps team wants to adopt a deployment pattern where a new version of an application is gradually rolled out to a small subset of users before full deployment. Which progressive delivery technique should they use?

Medium
744

Which TWO of the following are best practices for structuring log output in cloud-native applications to maximize observability?

Hard
745

A retail company runs its e-commerce platform on Kubernetes. During a flash sale, the application experiences high latency. The team notices that the database pods are CPU-bound and the application pods are waiting on database responses. Which architectural change would best address this bottleneck?

Medium
746

An administrator wants to allow a Pod to consume a ConfigMap named app-config as environment variables, but only the keys DB_HOST and DB_PORT. The ConfigMap contains additional keys. Which Pod spec snippet correctly injects only those two keys as environment variables?

Medium
747

A pod is stuck in 'Pending' state. 'kubectl describe pod' shows '0/4 nodes are available: 4 node(s) had taint {node.kubernetes.io/unreachable: }, that the pod didn't tolerate.' What is the most likely cause?

Easy
748

Which Kubernetes object should you use to store non-sensitive configuration data that can be consumed by Pods as environment variables or mounted files?

Medium
749

A developer wants to view the logs of a specific container named 'sidecar' inside a pod named 'app-pod'. Which command should they use?

Medium
750

A pod is stuck in the 'Pending' state. Which command would you use to get more details about why the pod cannot be scheduled?

Hard
751

A pod is stuck in 'Pending' state. Which of the following is a likely cause?

Medium
752

A Deployment named 'web-app' is configured with replicas: 3. You update the container image. Which Kubernetes object directly manages the pods during the rolling update?

Medium
753

Which kubectl command is used to see the logs of a container in a pod?

Easy
754

Which of the following is true about Kubernetes Namespaces?

Medium
755

A platform team is designing a progressive delivery rollout for a new version of a service running on Kubernetes. They want to send a small percentage of live traffic to the new version, observe metrics, and automatically roll back if error rates rise. Which two components are required to implement this with a service mesh? (Choose two.)

Hard
756

Which TWO of the following are examples of Infrastructure as Code (IaC) tools? (Choose 2.)

Easy
757

A platform engineer is troubleshooting a Pod that stays in the Pending phase. Which two conditions can legitimately cause a Pod to remain Pending? (Choose two.)

Medium
758

Which of the following is used to logically isolate resources within a Kubernetes cluster?

Easy
759

Which THREE of the following are valid ways to pass configuration data to a container in a pod? (Select 3)

Medium
760

A user creates a Deployment with 'replicas: 3'. After applying the manifest, only 2 pods are running. What is the most likely cause?

Medium
761

You want to deploy a stateless web application that should maintain 5 running instances at all times. You need to support rolling updates and rollbacks. Which Kubernetes resource is most appropriate?

Medium
762

Which TWO statements about Namespaces are correct?

Hard
763

Which TWO of the following statements about Kubernetes Deployments are correct? (Select 2)

Hard
764

Which TWO are valid reasons to use a Namespace in Kubernetes?

Medium
765

Which command correctly creates a Deployment named 'web-app' with the image 'nginx:1.21' and 3 replicas?

Medium
766

A team wants to deploy a serverless function that scales to zero when not in use. Which CNCF project is specifically designed for this purpose?

Medium
767

A platform engineer is configuring an OpenTelemetry Collector pipeline. They want to ensure that sensitive data such as credit card numbers is not exported to the observability backend. Which component of the Collector should they use to modify or drop attributes before export?

Hard
768

A DevOps team uses Helm to manage Kubernetes applications. They want to ensure that sensitive data (e.g., database passwords) is not stored in plaintext in the Helm chart or in the cluster's ConfigMaps/Secrets. Which TWO practices should they adopt? (Choose two.)

Medium
769

Which TWO components are part of the Kubernetes control plane? (Choose two.)

Medium
770

Which of the following describes the Open Container Initiative (OCI) image specification?

Easy
771

A developer creates a Deployment with 3 replicas. After updating the pod template, they run 'kubectl rollout status deployment/my-deployment' and see that the rollout is stuck. Which command should they use to investigate the rollout history?

Hard
772

You need to create a ConfigMap from a file named 'app.properties'. Which kubectl command should you use?

Medium
773

Which component of the control plane is responsible for persisting the entire cluster state?

Medium
774

Which TWO of the following are principles of the 12-factor app? (Choose two.)

Medium
775

Which TWO statements about Docker Compose and Kubernetes are correct?

Medium
776

What is the primary purpose of Kubernetes?

Easy
777

In event-driven architecture, what is the role of an event broker?

Hard
778

An administrator notices that a pod in a Deployment is stuck in CrashLoopBackOff. The pod logs show 'Error: failed to start container: exec: "app": executable file not found in $PATH'. What is the most likely cause?

Hard
779

Which TWO of the following are benefits of using a service mesh? (Choose two.)

Medium
780

An administrator is configuring a NetworkPolicy to allow ingress traffic to Pods with label `role=db` only from Pods with label `role=api` on TCP port 6379. The NetworkPolicy is applied in the same namespace as the Pods. Which NetworkPolicy YAML correctly implements this requirement?

Hard
781

An organization wants to manage infrastructure using code to ensure consistent and repeatable deployments across multiple cloud providers. Which tool is MOST suitable for this multi-cloud Infrastructure as Code approach?

Medium
782

A user reports that a web application is not accessible via its Service. The Service is of type ClusterIP. Which TWO steps should be taken to troubleshoot?

Hard
783

You have a Namespace 'team-a' and you want to see all Pods in that namespace, including those that are not ready. Which command should you use?

Medium
784

A team deploys a microservice that requires sticky sessions. The service runs on Kubernetes with multiple replicas. Which Kubernetes resource should be used to ensure requests from a client are consistently routed to the same pod?

Medium
785

You create a Deployment with replicas: 3. You then scale the Deployment to 5 replicas. What is the order of operations that the Deployment controller follows?

Hard
786

Which Kubernetes control plane component acts as the entry point for all administrative tasks and provides the REST API?

Easy
787

A startup is building a cloud-native application and wants to ensure that its services can be discovered and communicated with dynamically as they scale up and down. Which CNCF project provides a distributed key-value store that is commonly used for service discovery and configuration management in Kubernetes?

Easy
788

You need to provide configuration data as environment variables to a pod, but the data is not sensitive. Which object should you use?

Medium
789

An engineering team runs a Kubernetes cluster and wants to ensure that a critical payment service continues to function during a partial network partition between two availability zones. The service currently depends on a single external authentication API in one zone. Which architectural change BEST supports the goal of maintaining payment processing during the partition?

Hard
790

You have a Deployment that must run exactly one replica on each node in the cluster for logging purposes. Which Kubernetes resource should you use?

Medium
791

A developer wants to run a single instance of a stateless web application in a Kubernetes cluster. The application does not need to maintain state or have a stable network identity. Which workload resource is the most appropriate to use?

Easy
792

What is the purpose of a Service in Kubernetes?

Easy
793

A development team is designing a new microservices application to run on a Kubernetes cluster. They want to ensure that each microservice can be developed, deployed, and scaled independently. Which cloud native architecture principle are they primarily applying?

Easy
794

You have a Kubernetes cluster with multiple nodes. You need to ensure that a pod runs on a node that has an SSD. How should you achieve this?

Medium
795

A cluster administrator needs to schedule a pod that requires 4 CPU cores and 16Gi of memory on a node with sufficient resources. The pod also must tolerate a taint on a dedicated node. Which combination of pod spec fields must be set to ensure the pod lands on the correct node?

Medium
796

Which THREE are key characteristics of event-driven architecture? (Choose three.)

Hard
797

A cluster administrator needs to run a node-level log-shipping agent on every node, including nodes added later, and wants the agent to tolerate the control-plane taint. Which workload API object is the most appropriate choice?

Medium
798

A team wants every microservice to ship its logs and metrics to a central backend, and they want to avoid running a separate agent container inside each application Pod. Which cloud native approach BEST fits this requirement while keeping collection decoupled from the application?

Medium
799

A team wants to implement GitOps for their Kubernetes workloads using Argo CD. They have multiple environments (dev, staging, prod) in separate clusters. What is the best practice for structuring the Git repository?

Hard
800

Which Kubernetes resource can be used to assign a pod to a specific node?

Hard
801

Which TWO of the following correctly describe the difference between Docker Compose and Kubernetes? (Choose 2)

Medium
802

The exhibit shows a Deployment manifest for a frontend service. After deployment, the pods are running but the service reports that no endpoints are available. What is the most likely cause?

Medium
803

Which THREE of the following are true about the Container Runtime Interface (CRI)? (Choose 3)

Hard
804

An administrator wants to ensure that a pod only runs on nodes that have a specific GPU. Which mechanism should be used to achieve this?

Hard
805

Which two statements correctly describe etcd in a Kubernetes cluster?

Medium
806

Which Kubernetes resource is best suited for running a batch processing job that must complete successfully exactly once?

Medium
807

A company is evaluating cloud-native observability practices for its Kubernetes-based microservices. Which TWO practices are essential for achieving effective observability? (Choose two.)

Medium
808

You have a web application that needs to read configuration from a file and also access a database password. Which combination of resources should you use to manage these configurations securely?

Hard
809

You have a Deployment defined with replicas: 3. You run 'kubectl scale deployment my-deployment --replicas=5'. What happens?

Medium
810

Which of the following is the smallest deployable unit in Kubernetes?

Easy
811

Which TWO of the following are true about the Open Container Initiative (OCI)?

Medium
812

Which API version is correct for a Deployment in modern Kubernetes (v1.29+)?

Medium
813

Which component of an API gateway pattern is responsible for routing requests to the appropriate microservice based on the request path?

Medium
814

Which TWO of the following are principles of the 12-factor app methodology? (Choose two.)

Medium
815

An administrator runs 'kubectl get pods' and sees that a pod is in 'Pending' state. 'kubectl describe pod' shows the event: '0/4 nodes are available: 1 node had taints that the pod didn't tolerate, 3 nodes had insufficient memory'. What is the most likely issue?

Medium
816

What is the primary purpose of the `kubectl apply` command?

Easy
817

Which of the following is a key difference between a service mesh and an API gateway?

Hard
818

Which THREE statements about Kubernetes Namespaces are correct?

Easy
819

You are asked to schedule a pod on a node that has SSD storage. Which mechanism should you use to achieve this?

Hard
820

A developer creates a Pod with two containers. The first container writes logs every 30 seconds to a shared volume. The second container reads those logs. After deployment, the second container fails to start because it cannot find the log file. The Pod spec uses an emptyDir volume mounted at /var/logs in both containers. What is the most likely cause?

Medium
821

Which of the following is an example of immutable infrastructure?

Easy
822

A platform engineer wants to restrict a Pod so that it runs only on nodes that have the label disktype=ssd. The engineer adds a nodeSelector field to the Pod specification. Which statement best describes the effect of nodeSelector in this scenario?

Easy
823

A Kubernetes cluster runs a critical application in a pod. The operations team wants to receive an alert if the application's main process stops responding to HTTP requests on port 8080 at path /healthz. They need Kubernetes to automatically restart the pod if the health check fails. Which type of probe should they configure?

Medium
824

Which TWO of the following are responsibilities of the kube-controller-manager? (Select 2)

Easy
825

A pod is in the 'Pending' state. Which of the following is a likely cause?

Medium
826

A development team wants to implement GitOps for their Kubernetes deployments using ArgoCD. Which ArgoCD component is responsible for monitoring the Git repository for changes and syncing the desired state to the cluster?

Medium
827

A team runs a stateless API as a Deployment with six replicas across three nodes. They need a stable virtual IP and DNS name that load-balances TCP traffic to the ready replicas from other Pods in the same cluster. Which resource should they create?

Easy
828

You need to store a database password securely and make it available to a Pod as an environment variable. Which Kubernetes resource should you create?

Medium
829

A release manager asks how a GitOps controller such as Argo CD decides whether an application is in sync. Which statement accurately describes that behavior?

Medium
830

Which kubectl command would you use to view detailed information about a pod named 'web-pod' in the 'default' namespace?

Easy
831

Which of the following best describes the GitOps pattern?

Hard
832

Which Kubernetes control plane component is the entry point for all REST API requests?

Easy
833

Which TWO of the following are benefits of using a multi-cloud strategy? (Select TWO.)

Easy
834

A pod is stuck in Pending state. Which of the following is the MOST likely reason?

Medium
835

A company is running a microservices application on a Kubernetes cluster. They have noticed that one of the services, 'payment-api', is experiencing intermittent high latency. The team wants to identify the root cause without modifying the application code. Which approach should they take?

Medium
836

A platform engineer is designing a multi-tenant cluster. They want to ensure that a specific team's workloads can only be scheduled onto nodes labeled `team=blue`, and that workloads from other teams cannot be scheduled there. The team's Pods should not run on any other nodes. Which combination of Kubernetes features should the engineer use to enforce this?

Hard
837

A developer needs to update a running Deployment's container image from 'nginx:1.21' to 'nginx:1.23' with minimal downtime and the ability to roll back if the new version fails. Which kubectl command should be used?

Medium
838

Which Kubernetes control plane component is responsible for maintaining the desired state of the cluster by running controllers?

Easy
839

Which TWO statements accurately describe Kubernetes scheduling?

Hard
840

Which component is responsible for ensuring that the containers in a pod are running as specified?

Medium
841

Which of the following is a key difference between containers and virtual machines?

Easy
842

A Kubernetes cluster has a Deployment running three replicas of an application. You need to update the container image to a new version with zero downtime. Which approach is most appropriate?

Medium
843

Which of the following is a way to provide configuration data to a pod without baking it into the container image?

Medium
844

Which THREE of the following are components of the OpenTelemetry project? (Select three)

Hard
845

A cluster administrator needs to grant a CI/CD service account permission to create and delete Pods only within the staging namespace, while denying access in all other namespaces. Which Kubernetes authorization mechanism should be used?

Medium
846

Which TWO of the following are correct about the 'kubectl apply' command compared to 'kubectl create'? (Select exactly two.)

Hard
847

What is the purpose of the Container Runtime Interface (CRI)?

Easy
848

Which TWO of the following are responsibilities of the kubelet? (Select 2)

Medium
849

A user reports that they cannot connect to a Service from within the cluster. The Service is of type ClusterIP. Running 'kubectl get endpoints service-name' shows no endpoints. What is the most likely cause?

Hard
850

A DevOps engineer is designing a Kubernetes architecture for a stateful application that requires stable network identities and persistent storage across pod rescheduling. The engineer needs to choose the appropriate Kubernetes resource types to meet these requirements. Which two resources should the engineer use? (Choose two.)

Hard
851

A team runs a Kubernetes cluster with Prometheus scraping application metrics. They want Prometheus to automatically discover new pods and scrape their metrics endpoints as pods are created and destroyed. Which Kubernetes resource should they configure Prometheus to use for this dynamic discovery?

Medium
852

Which TWO of the following are examples of context propagation mechanisms used in distributed tracing?

Hard
853

Which TWO of the following are valid Prometheus metric types? (Select two)

Medium
854

You need to store a database password securely and expose it to a Pod as an environment variable. Which Kubernetes resource should you use?

Medium
855

A developer needs to deploy a stateless application with three replicas and ensure that updates are rolled out with zero downtime. Which Kubernetes resource is most appropriate?

Medium
856

A developer runs `kubectl create configmap app-config --from-literal=LOG_LEVEL=debug` and then creates a Pod that references this ConfigMap as a volume. After the ConfigMap is updated with `kubectl edit configmap app-config` to change LOG_LEVEL to info, the application inside the running Pod still reads LOG_LEVEL=debug. What is the most likely reason?

Easy
857

Which TWO of the following are valid Prometheus metric types? (Select two.)

Medium
858

Which two statements about Pods are true? (Select TWO)

Easy
859

A team uses Argo CD to manage a production cluster. A developer commits a change to the Git repository that declares a Deployment with three replicas, but someone later manually scales the Deployment to five replicas using kubectl. What does Argo CD report and do by default?

Medium
860

A developer creates a Pod with a single container that writes logs to stdout. The Pod is scheduled and running, but the developer needs to view the logs from the past hour. Which kubectl command should the developer use?

Medium
861

Which kubectl command would you use to view the detailed state of a pod named 'web-pod' in the 'default' namespace?

Easy
862

A developer creates a pod that needs to securely access a database password stored in the cluster. Which Kubernetes resource should be used to inject the password as an environment variable?

Easy
863

Which Kubernetes resource can be used to define network policies that control traffic between pods?

Hard
864

You have a Deployment named 'web-app' with 3 replicas. You need to scale it to 5 replicas. Which kubectl command should you use?

Medium
865

Which tool is used to manage infrastructure as code and can provision resources across multiple cloud providers?

Easy
866

A company is adopting a multi-cloud strategy to avoid vendor lock-in. Which pattern BEST supports deploying applications across different cloud providers with minimal changes?

Medium
867

Your application consists of a frontend and a backend. The frontend needs to communicate with the backend using a stable DNS name. The backend is deployed as a Deployment with 3 replicas. Which Kubernetes resource should you create to provide a stable DNS name for the backend?

Hard
868

Which THREE of the following are DORA metrics?

Medium
869

Which TWO of the following are responsibilities of the kubelet on a worker node?

Easy
870

A Pod is in 'CrashLoopBackOff' state. You run 'kubectl logs <pod>' and see an error that the application cannot bind to port 8080 because the port is already in use. What is the most likely cause?

Hard
871

You have a pod that needs to securely access a database password. Which Kubernetes resource should you use to store the password?

Medium
872

Which three of the following are true about etcd in Kubernetes?

Hard
873

What is the difference between a liveness probe and a readiness probe?

Medium
874

Which TWO statements about Kubernetes Services are correct?

Medium
875

What is the function of kube-proxy on a worker node?

Medium
876

Which TWO statements about containers compared to virtual machines are correct? (Select 2)

Medium
877

A DevOps engineer notices that after a Helm upgrade, the new pods are crash looping with 'ImagePullBackOff'. What is the most likely cause?

Medium
878

Which component of the metrics-server provides resource metrics like CPU and memory usage?

Medium
879

You have a microservices application where Service A needs to discover the IP of Service B. Both services run in the same Kubernetes cluster. Which approach is the most Kubernetes-native way for Service A to reach Service B?

Hard
880

A CI pipeline scans container images for vulnerabilities. The scan report shows a critical vulnerability in a base image layer. What is the most efficient way to remediate this issue?

Hard
881

A pod has resource requests set to 'cpu: 500m' and 'memory: 256Mi'. The node has 2 CPU cores and 4Gi memory. How many pods with the same resource requests can be scheduled on that node, assuming no other pods?

Hard
882

You need to securely store a database password for use by a Pod. Which Kubernetes resource should you use?

Medium
883

A platform team needs to ensure that a critical StatefulSet pod always runs on a specific node that has local NVMe storage. The node is labeled `disktype=nvme`. Which Kubernetes scheduling mechanism should they use to guarantee this placement?

Medium
884

Which TWO of the following are characteristics of a Namespace in Kubernetes?

Medium
885

A pod in the 'default' namespace cannot reach a pod in the 'backend' namespace by service name 'db-service'. Both namespaces exist and the service is running. What is the most likely cause?

Hard
886

A team wants to deploy a workload that must run on every node in a Kubernetes cluster, including new nodes added later. Which resource type should they use?

Hard
887

A team is building a serverless application using Knative. They want the application to scale to zero when idle. Which Knative resource type should they use?

Hard
888

A pod in the 'default' namespace has the following YAML snippet: securityContext: runAsUser: 1000 runAsGroup: 3000 fsGroup: 2000 What is the effect of the fsGroup field?

Hard
889

Which of the following is a primary goal of the Cloud Native Computing Foundation (CNCF)?

Easy
890

Which tool is specifically designed for distributed tracing and was originally developed by Uber?

Medium
891

In a GitOps workflow, a team uses ArgoCD. A developer manually changes a Deployment's replica count in the cluster via kubectl. ArgoCD has self-healing enabled. What will happen?

Hard
892

You are designing a microservices application that requires each service to be independently deployable and scalable. The services communicate over HTTP and need service discovery. Which orchestration feature BEST addresses the need for service discovery?

Medium
893

A developer needs to inject configuration data into a pod as environment variables and also mount a configuration file into a volume. The data should be decoupled from the pod specification and easily updatable without rebuilding the container image. Which Kubernetes resource should be used?

Hard
894

Which TWO of the following are valid ways to assign a pod to a specific node?

Medium
895

What is the primary role of the OpenTelemetry Collector?

Medium
896

What is the purpose of container image scanning in a CI/CD pipeline?

Easy
897

You run 'kubectl logs my-pod' and see: "Error from server (BadRequest): container "my-container" in pod "my-pod" is waiting to start: PodInitializing". What does this mean?

Hard
898

An operations team wants a workload that runs exactly one Pod on every node in the cluster, including nodes added later, typically for log forwarding and node monitoring. Which Kubernetes workload resource is designed for this?

Easy
899

Which of the following is NOT a responsibility of the kubelet on a worker node?

Medium
900

A team is designing a Kubernetes observability stack and wants to use Prometheus for metrics. They need to understand how Prometheus collects and stores time series data. Which TWO of the following statements accurately describe Prometheus? (Choose two.)

Hard
901

A user creates a Service of type ClusterIP with a selector matching pods labeled 'app: myapp'. However, a pod named 'myapp-pod' with label 'app: myapp' is not receiving traffic. What is a possible reason?

Hard
902

Which TWO of the following are core principles of cloud native architecture? (Choose two.)

Medium
903

What is the role of kube-scheduler in Kubernetes?

Medium
904

A Pod has a container that needs to write logs to a file. The administrator wants the logs to persist even if the container restarts. What is the simplest solution?

Easy
905

A developer deploys a pod with the following resource specification: ```yaml resources: requests: memory: "256Mi" limits: memory: "512Mi" ``` The pod is killed with OOMKilled. What is the most likely cause?

Medium
906

A Kubernetes operator wants to view real-time CPU and memory usage of pods and nodes in a cluster using kubectl top. Which component must be installed and running in the cluster for this command to work?

Easy
907

Which Kubernetes control plane component is the primary entry point for all administrative tasks and serves the Kubernetes API?

Easy
908

A developer inspects a Pod and sees that it is stuck in the Pending phase. Which two conditions can legitimately cause a Pod to remain Pending? (Choose two.)

Medium
909

You create a Service of type ClusterIP with the name 'my-service' in the 'default' namespace. What DNS name resolves to the service's cluster IP from a pod in the same namespace?

Medium
910

A Kubernetes administrator needs to restrict inbound traffic to a set of pods. Only pods with the label 'app: frontend' in the same namespace should be allowed to reach the pods on TCP port 8080. Which resource should be used?

Medium
911

Which THREE of the following are correct statements about Kubernetes Deployments?

Hard
912

Which component in a service mesh is responsible for collecting telemetry data and enforcing traffic policies?

Medium
913

Which of the following best describes the 12-factor app methodology's approach to configuration?

Medium
914

An application Pod in the `web` namespace must read a configuration value stored in a ConfigMap named `app-config` without restarting when the value changes. The value is consumed as a file inside the container. Which approach meets this requirement?

Medium
915

According to DORA metrics, which metric measures the percentage of deployments that fail in production?

Hard
916

A platform engineer is designing a multi-tenant cluster and must ensure that Pods in different namespaces cannot communicate with each other by default, while allowing specific traffic within each namespace. Which two Kubernetes features are required to achieve this? (Choose two.)

Hard
917

Which THREE of the following are benefits of using a service mesh in a cloud native architecture?

Easy
918

Which component of the Kubernetes control plane stores the cluster state?

Easy
919

Which Kubernetes control plane component is responsible for storing the cluster state and configuration data?

Easy
920

Which TWO of the following are responsibilities of the kube-controller-manager?

Medium
921

Which TWO of the following are common characteristics of serverless computing? (Choose two.)

Medium
922

A Deployment is configured with 'replicas: 4' and 'strategy.type: RollingUpdate'. You update the container image. What behavior does the Deployment exhibit?

Medium
923

A company defines an SLO that 99.9% of requests to a service should complete in under 200ms. Which metric type is used to measure this SLO?

Hard
924

Your application requires persistent storage that must be available across pod restarts and rescheduling. What is the recommended approach?

Medium
925

A DevOps team wants to collect and forward logs from all nodes in a Kubernetes cluster to a centralized logging backend. Which component is specifically designed for lightweight log collection and forwarding?

Medium
926

You want to update a Deployment's container image to v2 and perform a rolling update using the simplest imperative command. Which kubectl command achieves this?

Medium
927

A Service of type ClusterIP is created to expose a set of pods. How does the Service achieve load balancing to the pods?

Medium
928

A team is deploying a new microservice that processes sensitive user data. They want to ensure that secrets such as database passwords are not exposed in the container image or environment variables. Which approach should they use?

Easy
929

Which two of the following are Kubernetes controllers that run inside the kube-controller-manager? (Select TWO)

Medium
930

A pod is in CrashLoopBackOff. You check the logs and see 'Error: container process not found'. What is the most likely cause?

Medium

Frequently asked questions

What does the scenario questions domain cover on the KCNA exam?
scenario questions questions test whether you can apply the concept in context, not just recognise a definition.
How many questions are in this domain?
This page lists all 930 scenario questions questions in the KCNA question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
What is the best way to practise this domain?
Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
Can I practise only scenario questions questions?
Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.