cert
cert-1
cert-2

Pass Linux Foundation KCNA Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
KCNA Exam - Verified By Experts
KCNA Premium Bundle
$29.98

KCNA Premium Bundle

$79.99
$109.97
  • Premium File 333 Questions & Answers. Last update: Nov 02, 2026
  • Training Course 54 Video Lectures
  • Study Guide 410 Pages
 
$109.97
$79.99
accept 39 downloads in last 7 days
block-screenshots
Purchase Linux Foundation KCNA Exam Training Products Individually
Linux Foundation KCNA Premium File
Premium File 333 Q&A
$76.99$69.99
Linux Foundation KCNA Video Training Course
Training Course 54 Lectures
$21.99 $19.99
Linux Foundation KCNA PDF Study Guide
Study Guide 410 Pages
$21.99 $19.99
Linux Foundation KCNA Practice Test 26

Question 250

A node offers spare CPU yet a Pending Pod never schedules because it requires an unavailable node label. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. Stateless replicas converge to the declared count and rolling updates progress without manual Pod recreation.
  2. Co-located containers communicate over localhost and move through Pod lifecycle as an atomic scheduling unit.
  3. The container sees the intended isolated resources while usage limits are reflected in host accounting.
  4. Pending eligible Pods receive appropriate node bindings when capacity and constraints allow scheduling.

Explanation

Correct Answer

D:

Pending eligible Pods receive appropriate node bindings when capacity and constraints allow scheduling. This is an observable service outcome, not just evidence that a configuration file was saved. kube-scheduler assigns Pods to nodes; kubelet executes Pods after assignment and the controller manager reconciles controllers. Workload context: A node offers spare CPU yet a Pending Pod never schedules because it requires an unavailable node label.

Incorrect Answers

A:

Stateless replicas converge to the declared count and rolling updates progress without manual Pod recreation. That result validates Deployment and ReplicaSet ownership rather than the requirement here. Verify instead: Pending eligible Pods receive appropriate node bindings when capacity and constraints allow scheduling. Workload context: A node offers spare CPU yet a Pending Pod never schedules because it requires an unavailable node label.

B:

Co-located containers communicate over localhost and move through Pod lifecycle as an atomic scheduling unit. That result validates Pod shared network namespace and lifecycle rather than the requirement here. Verify instead: Pending eligible Pods receive appropriate node bindings when capacity and constraints allow scheduling. Workload context: A node offers spare CPU yet a Pending Pod never schedules because it requires an unavailable node label.

C:

The container sees the intended isolated resources while usage limits are reflected in host accounting. That result validates Linux namespaces and cgroups rather than the requirement here. Verify instead: Pending eligible Pods receive appropriate node bindings when capacity and constraints allow scheduling. Workload context: A node offers spare CPU yet a Pending Pod never schedules because it requires an unavailable node label.

Question 251

A company expects kube-scheduler to provide distributed tracing dashboards without any monitoring instrumentation or backend. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. Project maintainers receive actionable confidential reports and releases can be coordinated without exposing affected users prematurely.
  2. Platform selections fit the actual problem without expecting one component to implement the whole cloud native stack.
  3. A single downstream failure degrades gracefully without causing an uncontrolled cascade across independent services.
  4. Technical proposals reach appropriate reviewers with documented rationale and open community feedback.

Explanation

Correct Answer

B:

Platform selections fit the actual problem without expecting one component to implement the whole cloud native stack. This is an observable service outcome, not just evidence that a configuration file was saved. The CNCF ecosystem contains complementary projects; Kubernetes itself is not a complete application observability or delivery platform. Workload context: A company expects kube-scheduler to provide distributed tracing dashboards without any monitoring instrumentation or backend.

Incorrect Answers

A:

Project maintainers receive actionable confidential reports and releases can be coordinated without exposing affected users prematurely. That result validates Responsible vulnerability disclosure in communities rather than the requirement here. Verify instead: Platform selections fit the actual problem without expecting one component to implement the whole cloud native stack. Workload context: A company expects kube-scheduler to provide distributed tracing dashboards without any monitoring instrumentation or backend.

C:

A single downstream failure degrades gracefully without causing an uncontrolled cascade across independent services. That result validates Microservices contracts and failure isolation rather than the requirement here. Verify instead: Platform selections fit the actual problem without expecting one component to implement the whole cloud native stack. Workload context: A company expects kube-scheduler to provide distributed tracing dashboards without any monitoring instrumentation or backend.

D:

Technical proposals reach appropriate reviewers with documented rationale and open community feedback. That result validates Kubernetes SIG and community governance rather than the requirement here. Verify instead: Platform selections fit the actual problem without expecting one component to implement the whole cloud native stack. Workload context: A company expects kube-scheduler to provide distributed tracing dashboards without any monitoring instrumentation or backend.

Question 252

An operator removes two members from a three-member etcd cluster without calculating the quorum needed to accept writes. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. Controllers and Services select exactly the intended Pods while audit annotations retain descriptive notes.
  2. Protected nodes accept explicitly tolerated workloads and repel unrelated Pods under intended effects.
  3. Cluster state can be recovered from a tested snapshot with quorum intact and application volumes handled separately.
  4. Control-plane and node upgrades complete within supported skew with workload compatibility checks passing.

Explanation

Correct Answer

C:

Cluster state can be recovered from a tested snapshot with quorum intact and application volumes handled separately. This is an observable service outcome, not just evidence that a configuration file was saved. etcd is a consistent key-value store for API state; it is not where persistent application volume data lives. Workload context: An operator removes two members from a three-member etcd cluster without calculating the quorum needed to accept writes.

Incorrect Answers

A:

Controllers and Services select exactly the intended Pods while audit annotations retain descriptive notes. That result validates Labels selectors and annotations rather than the requirement here. Verify instead: Cluster state can be recovered from a tested snapshot with quorum intact and application volumes handled separately. Workload context: An operator removes two members from a three-member etcd cluster without calculating the quorum needed to accept writes.

B:

Protected nodes accept explicitly tolerated workloads and repel unrelated Pods under intended effects. That result validates Taints tolerations and node protection rather than the requirement here. Verify instead: Cluster state can be recovered from a tested snapshot with quorum intact and application volumes handled separately. Workload context: An operator removes two members from a three-member etcd cluster without calculating the quorum needed to accept writes.

D:

Control-plane and node upgrades complete within supported skew with workload compatibility checks passing. That result validates Kubernetes upgrades and version skew rather than the requirement here. Verify instead: Cluster state can be recovered from a tested snapshot with quorum intact and application volumes handled separately. Workload context: An operator removes two members from a three-member etcd cluster without calculating the quorum needed to accept writes.

Question 253

An authorized manifest is rejected by a validating webhook because it requests a forbidden hostPath mount. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Examine authentication identity, RBAC decision, admission webhook result and API response status.
  2. Inspect Secret read permissions, encryption configuration, encoded manifest values and audit trails.
  3. Test DNS names, search suffixes, CoreDNS logs, upstream forwarders and service records.
  4. Inspect Service selector, Pod readiness, EndpointSlice addresses, kube-proxy or eBPF service programming and target ports.

Explanation

Correct Answer

A:

Examine authentication identity, RBAC decision, admission webhook result and API response status. This is the most discriminating evidence for the described failure or requirement. Authentication answers who called, authorization answers what may be done, and admission can apply policy to allowed requests. The corresponding implementation is: Distinguish authenticating a Kubernetes API caller from authorizing verbs and validating or mutating admission behavior. Workload context: An authorized manifest is rejected by a validating webhook because it requests a forbidden hostPath mount.

Incorrect Answers

B:

Inspect Secret read permissions, encryption configuration, encoded manifest values and audit trails. These observations are more relevant to Secret base64 encoding versus encryption, not this case. The distinguishing check is: Examine authentication identity, RBAC decision, admission webhook result and API response status. Workload context: An authorized manifest is rejected by a validating webhook because it requests a forbidden hostPath mount.

C:

Test DNS names, search suffixes, CoreDNS logs, upstream forwarders and service records. These observations are more relevant to Cluster DNS and service discovery, not this case. The distinguishing check is: Examine authentication identity, RBAC decision, admission webhook result and API response status. Workload context: An authorized manifest is rejected by a validating webhook because it requests a forbidden hostPath mount.

D:

Inspect Service selector, Pod readiness, EndpointSlice addresses, kube-proxy or eBPF service programming and target ports. These observations are more relevant to Service endpoint routing and kube-proxy, not this case. The distinguishing check is: Examine authentication identity, RBAC decision, admission webhook result and API response status. Workload context: An authorized manifest is rejected by a validating webhook because it requests a forbidden hostPath mount.

Question 254

A container passes a basic vulnerability scan but lacks a verified supplier signature and deploys an unapproved build. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Model tightly coupled containers inside a Pod when they must share a network namespace and lifecycle, not as unrelated separate Pods.
  2. Use supported sidecar containers for tightly coupled helper functions and verify lifecycle coordination within the Pod.
  3. Evaluate image SBOMs, signed provenance and vulnerability reports before production promotion, separating detected packages from reachable risk.
  4. Assign a Role to namespaced permissions and a ClusterRole where appropriate for cluster-scoped or reusable rules, binding least privilege.

Explanation

Correct Answer

C:

Evaluate image SBOMs, signed provenance and vulnerability reports before production promotion, separating detected packages from reachable risk. This response implements the controlling Kubernetes or cloud native principle. A scanner's package detection is evidence of inventory, not automatically proof of exploitation or complete image trust. Check its effect by: Inspect SBOM package inventory, CVE applicability, signature validation and approved exception decisions. Workload context: A container passes a basic vulnerability scan but lacks a verified supplier signature and deploys an unapproved build.

Incorrect Answers

A:

Model tightly coupled containers inside a Pod when they must share a network namespace and lifecycle, not as unrelated separate Pods. This action addresses Pod shared network namespace and lifecycle instead of the controlling requirement. Containers in one Pod share networking and selected volumes; Kubernetes schedules Pods rather than independent containers. For this scenario prefer: Evaluate image SBOMs, signed provenance and vulnerability reports before production promotion, separating detected packages from reachable risk. Workload context: A container passes a basic vulnerability scan but lacks a verified supplier signature and deploys an unapproved build.

B:

Use supported sidecar containers for tightly coupled helper functions and verify lifecycle coordination within the Pod. This action addresses Sidecar containers and shared Pod lifecycle instead of the controlling requirement. Sidecars share a Pod network context; careless start or termination ordering can block a workload. For this scenario prefer: Evaluate image SBOMs, signed provenance and vulnerability reports before production promotion, separating detected packages from reachable risk. Workload context: A container passes a basic vulnerability scan but lacks a verified supplier signature and deploys an unapproved build.

D:

Assign a Role to namespaced permissions and a ClusterRole where appropriate for cluster-scoped or reusable rules, binding least privilege. This action addresses Role and ClusterRole authorization instead of the controlling requirement. A RoleBinding can bind a ClusterRole within its namespace; a ClusterRoleBinding grants its rules at cluster scope. For this scenario prefer: Evaluate image SBOMs, signed provenance and vulnerability reports before production promotion, separating detected packages from reachable risk. Workload context: A container passes a basic vulnerability scan but lacks a verified supplier signature and deploys an unapproved build.

Question 255

An engineer reduces a Pod CPU limit but leaves its excessive request unchanged and sees no improvement in scheduling. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway.
  2. Inspect allowedDisruptions, healthy replicas, minAvailable/maxUnavailable and drain eviction results.
  3. Inspect FailedScheduling events, Pod requests, node allocatable and scheduler filter outcomes.
  4. Inspect local-versus-server manifest diff, field ownership, admission rejection and resulting resource generation.

Explanation

Correct Answer

C:

Inspect FailedScheduling events, Pod requests, node allocatable and scheduler filter outcomes. This is the most discriminating evidence for the described failure or requirement. A Pending unscheduled Pod has no running container logs; scheduler events reveal placement failures. The corresponding implementation is: Match Pod CPU/memory requests to node allocatable resources and scheduling constraints before blaming a container image. Workload context: An engineer reduces a Pod CPU limit but leaves its excessive request unchanged and sees no improvement in scheduling.

Incorrect Answers

A:

Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway. These observations are more relevant to Topology spread constraints, not this case. The distinguishing check is: Inspect FailedScheduling events, Pod requests, node allocatable and scheduler filter outcomes. Workload context: An engineer reduces a Pod CPU limit but leaves its excessive request unchanged and sees no improvement in scheduling.

B:

Inspect allowedDisruptions, healthy replicas, minAvailable/maxUnavailable and drain eviction results. These observations are more relevant to PodDisruptionBudget during voluntary eviction, not this case. The distinguishing check is: Inspect FailedScheduling events, Pod requests, node allocatable and scheduler filter outcomes. Workload context: An engineer reduces a Pod CPU limit but leaves its excessive request unchanged and sees no improvement in scheduling.

D:

Inspect local-versus-server manifest diff, field ownership, admission rejection and resulting resource generation. These observations are more relevant to kubectl apply and declarative updates, not this case. The distinguishing check is: Inspect FailedScheduling events, Pod requests, node allocatable and scheduler filter outcomes. Workload context: An engineer reduces a Pod CPU limit but leaves its excessive request unchanged and sees no improvement in scheduling.

Question 256

A container starts as root and requests SYS_ADMIN despite needing only to read a mounted configuration file. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Only approved Pod flows pass and disallowed lateral or outbound connections fail reproducibly.
  2. Run containers with nonroot identities, minimal capabilities and an appropriate seccomp profile for reduced kernel attack surface.
  3. Apply RBAC and encryption-at-rest controls to Kubernetes Secrets and avoid exposing decoded values in logs or public manifests.
  4. Inspect securityContext, runAsUser, allowPrivilegeEscalation, capabilities, seccompProfile and startup errors.
  5. Inspect StatefulSet ordinal Pod names, headless Service, volumeClaimTemplates and update strategy.

Explanation

Correct Answers

B:

Run containers with nonroot identities, minimal capabilities and an appropriate seccomp profile for reduced kernel attack surface. This response implements the controlling Kubernetes or cloud native principle. Disabling privilege escalation and dropping Linux capabilities reduce risk but do not replace image or API authorization. Check its effect by: Inspect securityContext, runAsUser, allowPrivilegeEscalation, capabilities, seccompProfile and startup errors. This is the implementation part of the required paired answer. Workload context: A container starts as root and requests SYS_ADMIN despite needing only to read a mounted configuration file.

D:

Inspect securityContext, runAsUser, allowPrivilegeEscalation, capabilities, seccompProfile and startup errors. This is the most discriminating evidence for the described failure or requirement. Disabling privilege escalation and dropping Linux capabilities reduce risk but do not replace image or API authorization. The corresponding implementation is: Run containers with nonroot identities, minimal capabilities and an appropriate seccomp profile for reduced kernel attack surface. This is the diagnostic evidence part of the paired answer. Workload context: A container starts as root and requests SYS_ADMIN despite needing only to read a mounted configuration file.

Incorrect Answers

A:

Only approved Pod flows pass and disallowed lateral or outbound connections fail reproducibly. This step belongs to NetworkPolicy ingress egress isolation rather than the complementary implementation and evidence pair. The intended approach is: Run containers with nonroot identities, minimal capabilities and an appropriate seccomp profile for reduced kernel attack surface. Validate with: Inspect securityContext, runAsUser, allowPrivilegeEscalation, capabilities, seccompProfile and startup errors. Workload context: A container starts as root and requests SYS_ADMIN despite needing only to read a mounted configuration file.

C:

Apply RBAC and encryption-at-rest controls to Kubernetes Secrets and avoid exposing decoded values in logs or public manifests. This step belongs to Secret base64 encoding versus encryption rather than the complementary implementation and evidence pair. The intended approach is: Run containers with nonroot identities, minimal capabilities and an appropriate seccomp profile for reduced kernel attack surface. Validate with: Inspect securityContext, runAsUser, allowPrivilegeEscalation, capabilities, seccompProfile and startup errors. Workload context: A container starts as root and requests SYS_ADMIN despite needing only to read a mounted configuration file.

E:

Inspect StatefulSet ordinal Pod names, headless Service, volumeClaimTemplates and update strategy. This step belongs to StatefulSet identity and volume templates rather than the complementary implementation and evidence pair. The intended approach is: Run containers with nonroot identities, minimal capabilities and an appropriate seccomp profile for reduced kernel attack surface. Validate with: Inspect securityContext, runAsUser, allowPrivilegeEscalation, capabilities, seccompProfile and startup errors. Workload context: A container starts as root and requests SYS_ADMIN despite needing only to read a mounted configuration file.

Question 257

An operator removes two members from a three-member etcd cluster without calculating the quorum needed to accept writes. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Allow Kubernetes controllers to reconcile declared desired object state instead of manually replacing each Pod after failure.
  2. Match Pod CPU/memory requests to node allocatable resources and scheduling constraints before blaming a container image.
  3. Keep etcd highly available and maintain secure, tested snapshots of Kubernetes API state rather than treating it as ordinary container storage.
  4. Apply namespace ResourceQuota and LimitRange policies to govern aggregate consumption and default/request bounds.

Explanation

Correct Answer

C:

Keep etcd highly available and maintain secure, tested snapshots of Kubernetes API state rather than treating it as ordinary container storage. This response implements the controlling Kubernetes or cloud native principle. etcd is a consistent key-value store for API state; it is not where persistent application volume data lives. Check its effect by: Inspect etcd quorum health, member status, snapshot freshness, certificate validity and restore procedure. Workload context: An operator removes two members from a three-member etcd cluster without calculating the quorum needed to accept writes.

Incorrect Answers

A:

Allow Kubernetes controllers to reconcile declared desired object state instead of manually replacing each Pod after failure. This action addresses Controller manager reconciliation loops instead of the controlling requirement. Controllers continuously reconcile desired state; an isolated manually created Pod lacks a Deployment's replica management. For this scenario prefer: Keep etcd highly available and maintain secure, tested snapshots of Kubernetes API state rather than treating it as ordinary container storage. Workload context: An operator removes two members from a three-member etcd cluster without calculating the quorum needed to accept writes.

B:

Match Pod CPU/memory requests to node allocatable resources and scheduling constraints before blaming a container image. This action addresses Pending Pods and resource-fit checks instead of the controlling requirement. A Pending unscheduled Pod has no running container logs; scheduler events reveal placement failures. For this scenario prefer: Keep etcd highly available and maintain secure, tested snapshots of Kubernetes API state rather than treating it as ordinary container storage. Workload context: An operator removes two members from a three-member etcd cluster without calculating the quorum needed to accept writes.

D:

Apply namespace ResourceQuota and LimitRange policies to govern aggregate consumption and default/request bounds. This action addresses ResourceQuota and LimitRange policies instead of the controlling requirement. ResourceQuota applies aggregate namespace limits while LimitRange sets per-object defaults and constraints; quotas do not make capacity. For this scenario prefer: Keep etcd highly available and maintain secure, tested snapshots of Kubernetes API state rather than treating it as ordinary container storage. Workload context: An operator removes two members from a three-member etcd cluster without calculating the quorum needed to accept writes.

Question 258

A support team tries to add a permanent second service by creating an ephemeral container and expects Deployment updates to preserve it. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. An operator investigates a running Pod without modifying its immutable application image or replacing production workload containers.
  2. Containers launch the intended process with arguments preserved and failures remain visible through status.
  3. Reapplying unchanged configuration is safe and the resulting cluster state matches the reviewed manifest.
  4. Operators identify the failing object and use evidence before editing controllers or escalating access.

Explanation

Correct Answer

A:

An operator investigates a running Pod without modifying its immutable application image or replacing production workload containers. This is an observable service outcome, not just evidence that a configuration file was saved. Ephemeral containers are intended for debugging and do not behave like ordinary replicated application containers. Workload context: A support team tries to add a permanent second service by creating an ephemeral container and expects Deployment updates to preserve it.

Incorrect Answers

B:

Containers launch the intended process with arguments preserved and failures remain visible through status. That result validates Container command entrypoint and arguments rather than the requirement here. Verify instead: An operator investigates a running Pod without modifying its immutable application image or replacing production workload containers. Workload context: A support team tries to add a permanent second service by creating an ephemeral container and expects Deployment updates to preserve it.

C:

Reapplying unchanged configuration is safe and the resulting cluster state matches the reviewed manifest. That result validates kubectl apply and declarative updates rather than the requirement here. Verify instead: An operator investigates a running Pod without modifying its immutable application image or replacing production workload containers. Workload context: A support team tries to add a permanent second service by creating an ephemeral container and expects Deployment updates to preserve it.

D:

Operators identify the failing object and use evidence before editing controllers or escalating access. That result validates kubectl inspect and describe diagnostics rather than the requirement here. Verify instead: An operator investigates a running Pod without modifying its immutable application image or replacing production workload containers. Workload context: A support team tries to add a permanent second service by creating an ephemeral container and expects Deployment updates to preserve it.

Question 259

An admin deletes a Pod and expects its bound persistent volume's underlying data to disappear automatically. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability.
  2. Diagnose memory limit terminations using lastState and observed working-set growth rather than assuming every restart is application logic.
  3. Investigate node disk, memory and PID pressure conditions and distinguish eviction from application-probe restarts.
  4. Use PVCs to request persistent storage and PVs to represent volumes whose lifecycle is separate from ephemeral Pods.

Explanation

Correct Answer

D:

Use PVCs to request persistent storage and PVs to represent volumes whose lifecycle is separate from ephemeral Pods. This response implements the controlling Kubernetes or cloud native principle. A PVC is a storage request and a PV is a cluster storage resource; neither should be confused with an emptyDir volume. Check its effect by: Inspect PVC phase, PV claimRef, capacity, accessModes, storageClassName and volume-mount events. Workload context: An admin deletes a Pod and expects its bound persistent volume's underlying data to disappear automatically.

Incorrect Answers

A:

Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability. This action addresses ReadWriteOnce and ReadWriteMany semantics instead of the controlling requirement. ReadWriteOnce normally limits read-write mounting to one node, not necessarily exactly one Pod; driver behavior matters. For this scenario prefer: Use PVCs to request persistent storage and PVs to represent volumes whose lifecycle is separate from ephemeral Pods. Workload context: An admin deletes a Pod and expects its bound persistent volume's underlying data to disappear automatically.

B:

Diagnose memory limit terminations using lastState and observed working-set growth rather than assuming every restart is application logic. This action addresses Container OOMKilled and resource pressure instead of the controlling requirement. Container memory exceeding its cgroup limit can trigger OOMKilled even when node aggregate memory seems available. For this scenario prefer: Use PVCs to request persistent storage and PVs to represent volumes whose lifecycle is separate from ephemeral Pods. Workload context: An admin deletes a Pod and expects its bound persistent volume's underlying data to disappear automatically.

C:

Investigate node disk, memory and PID pressure conditions and distinguish eviction from application-probe restarts. This action addresses Node pressure and Pod eviction analysis instead of the controlling requirement. Kubelet can evict Pods under node pressure; eviction is different from a liveness probe killing one container. For this scenario prefer: Use PVCs to request persistent storage and PVs to represent volumes whose lifecycle is separate from ephemeral Pods. Workload context: An admin deletes a Pod and expects its bound persistent volume's underlying data to disappear automatically.

Question 260

A Pod remains Pending and the operator reads only logs even though no container ever started. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Set workload requests for placement and limits for bounded runtime use based on measured application needs.
  2. Use kubectl get, describe and logs as complementary views of object state, events and container output before changing resources.
  3. Allow Kubernetes controllers to reconcile declared desired object state instead of manually replacing each Pod after failure.
  4. Align volume topology with Pod scheduling, using StorageClass binding behavior appropriate for zonal storage.

Explanation

Correct Answer

B:

Use kubectl get, describe and logs as complementary views of object state, events and container output before changing resources. This response implements the controlling Kubernetes or cloud native principle. kubectl get summarizes objects; describe reveals events and details; logs reveals container stdout/stderr, not complete API diagnostics. Check its effect by: Inspect resource status, conditions, events, generation, owner references and logs from the relevant container. Workload context: A Pod remains Pending and the operator reads only logs even though no container ever started.

Incorrect Answers

A:

Set workload requests for placement and limits for bounded runtime use based on measured application needs. This action addresses CPU requests and memory limits instead of the controlling requirement. Requests influence scheduling; limits govern enforcement and memory-limit breaches can terminate containers. For this scenario prefer: Use kubectl get, describe and logs as complementary views of object state, events and container output before changing resources. Workload context: A Pod remains Pending and the operator reads only logs even though no container ever started.

C:

Allow Kubernetes controllers to reconcile declared desired object state instead of manually replacing each Pod after failure. This action addresses Controller manager reconciliation loops instead of the controlling requirement. Controllers continuously reconcile desired state; an isolated manually created Pod lacks a Deployment's replica management. For this scenario prefer: Use kubectl get, describe and logs as complementary views of object state, events and container output before changing resources. Workload context: A Pod remains Pending and the operator reads only logs even though no container ever started.

D:

Align volume topology with Pod scheduling, using StorageClass binding behavior appropriate for zonal storage. This action addresses PersistentVolume zone binding and placement instead of the controlling requirement. Immediate volume binding can constrain later Pod placement, while WaitForFirstConsumer accounts for scheduling topology. For this scenario prefer: Use kubectl get, describe and logs as complementary views of object state, events and container output before changing resources. Workload context: A Pod remains Pending and the operator reads only logs even though no container ever started.

Kubernetes and Cloud Native Associate (KCNA) Practice Tests