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 99

Question 980

Multiple Pods on the same node mount one ReadWriteOnce volume and an engineer mistakes the mode for a strict single-Pod guarantee. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Inspect serviceAccountName, RoleBindings, projected tokens, audience and kubectl auth can-i permissions.
  2. Inspect StatefulSet ordinal Pod names, headless Service, volumeClaimTemplates and update strategy.
  3. Inspect PV/PVC accessModes, actual mount failures, driver support and multi-node workload placement.
  4. Inspect volume type, mount paths, Pod owner, node placement and data recovery requirements.

Explanation

Correct Answer

C:

Inspect PV/PVC accessModes, actual mount failures, driver support and multi-node workload placement. This is the most discriminating evidence for the described failure or requirement. ReadWriteOnce normally limits read-write mounting to one node, not necessarily exactly one Pod; driver behavior matters. The corresponding implementation is: Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability. Workload context: Multiple Pods on the same node mount one ReadWriteOnce volume and an engineer mistakes the mode for a strict single-Pod guarantee.

Incorrect Answers

A:

Inspect serviceAccountName, RoleBindings, projected tokens, audience and kubectl auth can-i permissions. These observations are more relevant to ServiceAccount and workload RBAC boundaries, not this case. The distinguishing check is: Inspect PV/PVC accessModes, actual mount failures, driver support and multi-node workload placement. Workload context: Multiple Pods on the same node mount one ReadWriteOnce volume and an engineer mistakes the mode for a strict single-Pod guarantee.

B:

Inspect StatefulSet ordinal Pod names, headless Service, volumeClaimTemplates and update strategy. These observations are more relevant to StatefulSet identity and volume templates, not this case. The distinguishing check is: Inspect PV/PVC accessModes, actual mount failures, driver support and multi-node workload placement. Workload context: Multiple Pods on the same node mount one ReadWriteOnce volume and an engineer mistakes the mode for a strict single-Pod guarantee.

D:

Inspect volume type, mount paths, Pod owner, node placement and data recovery requirements. These observations are more relevant to Ephemeral emptyDir versus persistent volumes, not this case. The distinguishing check is: Inspect PV/PVC accessModes, actual mount failures, driver support and multi-node workload placement. Workload context: Multiple Pods on the same node mount one ReadWriteOnce volume and an engineer mistakes the mode for a strict single-Pod guarantee.

Question 981

A team changes only imagePullPolicy but expects it to provide cryptographic provenance for untrusted registry content. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Use nodeSelector for straightforward required label equality and confirm matching nodes exist in the cluster.
  2. Use supported sidecar containers for tightly coupled helper functions and verify lifecycle coordination within the Pod.
  3. Pin production images to verified digests or governed immutable tags so every node runs a known artifact.
  4. Cordon a node before planned maintenance, then use drain with workload safety checks and restore scheduling after validation.

Explanation

Correct Answer

C:

Pin production images to verified digests or governed immutable tags so every node runs a known artifact. This response implements the controlling Kubernetes or cloud native principle. Mutable image tags can resolve to different builds over time; digests identify immutable content. Check its effect by: Compare image digest, registry manifest, Pod imageID, rollout timestamp and supply-chain approval. Workload context: A team changes only imagePullPolicy but expects it to provide cryptographic provenance for untrusted registry content.

Incorrect Answers

A:

Use nodeSelector for straightforward required label equality and confirm matching nodes exist in the cluster. This action addresses nodeSelector equality placement instead of the controlling requirement. nodeSelector requires matching labels; it does not create labels or express weighted preferences by itself. For this scenario prefer: Pin production images to verified digests or governed immutable tags so every node runs a known artifact. Workload context: A team changes only imagePullPolicy but expects it to provide cryptographic provenance for untrusted registry content.

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: Pin production images to verified digests or governed immutable tags so every node runs a known artifact. Workload context: A team changes only imagePullPolicy but expects it to provide cryptographic provenance for untrusted registry content.

D:

Cordon a node before planned maintenance, then use drain with workload safety checks and restore scheduling after validation. This action addresses Node cordon drain maintenance instead of the controlling requirement. cordon prevents new scheduling while drain attempts safe evictions; existing Pods are not deleted by cordon alone. For this scenario prefer: Pin production images to verified digests or governed immutable tags so every node runs a known artifact. Workload context: A team changes only imagePullPolicy but expects it to provide cryptographic provenance for untrusted registry content.

Question 982

A Gateway returns 404 for /api because HTTPRoute matches /app while the backend Service is healthy. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. Healthy Pods enter ready endpoints only after application dependencies function, without restarting healthy processes unnecessarily.
  2. Release artifacts have verifiable origin and unapproved build paths are rejected before application rollout.
  3. Public requests reach the intended application host and path with a valid certificate and matching backends.
  4. Root-cause hypotheses align with recorded warning events and targeted corrective actions.

Explanation

Correct Answer

C:

Public requests reach the intended application host and path with a valid certificate and matching backends. This is an observable service outcome, not just evidence that a configuration file was saved. A healthy Service does not guarantee correct edge routing; ingress controllers and TLS bindings add separate layers. Workload context: A Gateway returns 404 for /api because HTTPRoute matches /app while the backend Service is healthy.

Incorrect Answers

A:

Healthy Pods enter ready endpoints only after application dependencies function, without restarting healthy processes unnecessarily. That result validates Readiness-probe failure versus process crash rather than the requirement here. Verify instead: Public requests reach the intended application host and path with a valid certificate and matching backends. Workload context: A Gateway returns 404 for /api because HTTPRoute matches /app while the backend Service is healthy.

B:

Release artifacts have verifiable origin and unapproved build paths are rejected before application rollout. That result validates Software supply chain attestations rather than the requirement here. Verify instead: Public requests reach the intended application host and path with a valid certificate and matching backends. Workload context: A Gateway returns 404 for /api because HTTPRoute matches /app while the backend Service is healthy.

D:

Root-cause hypotheses align with recorded warning events and targeted corrective actions. That result validates kubectl describe and event chronology rather than the requirement here. Verify instead: Public requests reach the intended application host and path with a valid certificate and matching backends. Workload context: A Gateway returns 404 for /api because HTTPRoute matches /app while the backend Service is healthy.

Question 983

Multiple Pods on the same node mount one ReadWriteOnce volume and an engineer mistakes the mode for a strict single-Pod guarantee. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Inspect PV/PVC accessModes, actual mount failures, driver support and multi-node workload placement.
  2. Select PV reclaim policies according to retention requirements and verify storage cleanup or recovery steps after PVC deletion.
  3. Inspect CNI configuration, Pod CIDRs, node route tables, overlay/underlay links and CNI daemon logs.
  4. Clients resolve the intended in-cluster Service name and external DNS forwarding operates as designed.
  5. Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability.

Explanation

Correct Answers

A:

Inspect PV/PVC accessModes, actual mount failures, driver support and multi-node workload placement. This is the most discriminating evidence for the described failure or requirement. ReadWriteOnce normally limits read-write mounting to one node, not necessarily exactly one Pod; driver behavior matters. The corresponding implementation is: Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability. This is the diagnostic evidence part of the paired answer. Workload context: Multiple Pods on the same node mount one ReadWriteOnce volume and an engineer mistakes the mode for a strict single-Pod guarantee.

E:

Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability. This response implements the controlling Kubernetes or cloud native principle. ReadWriteOnce normally limits read-write mounting to one node, not necessarily exactly one Pod; driver behavior matters. Check its effect by: Inspect PV/PVC accessModes, actual mount failures, driver support and multi-node workload placement. This is the implementation part of the required paired answer. Workload context: Multiple Pods on the same node mount one ReadWriteOnce volume and an engineer mistakes the mode for a strict single-Pod guarantee.

Incorrect Answers

B:

Select PV reclaim policies according to retention requirements and verify storage cleanup or recovery steps after PVC deletion. This step belongs to PV reclaim policy Retain versus Delete rather than the complementary implementation and evidence pair. The intended approach is: Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability. Validate with: Inspect PV/PVC accessModes, actual mount failures, driver support and multi-node workload placement. Workload context: Multiple Pods on the same node mount one ReadWriteOnce volume and an engineer mistakes the mode for a strict single-Pod guarantee.

C:

Inspect CNI configuration, Pod CIDRs, node route tables, overlay/underlay links and CNI daemon logs. This step belongs to CNI Pod networking implementation rather than the complementary implementation and evidence pair. The intended approach is: Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability. Validate with: Inspect PV/PVC accessModes, actual mount failures, driver support and multi-node workload placement. Workload context: Multiple Pods on the same node mount one ReadWriteOnce volume and an engineer mistakes the mode for a strict single-Pod guarantee.

D:

Clients resolve the intended in-cluster Service name and external DNS forwarding operates as designed. This step belongs to Cluster DNS and service discovery rather than the complementary implementation and evidence pair. The intended approach is: Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability. Validate with: Inspect PV/PVC accessModes, actual mount failures, driver support and multi-node workload placement. Workload context: Multiple Pods on the same node mount one ReadWriteOnce volume and an engineer mistakes the mode for a strict single-Pod guarantee.

Question 984

An ops lead changes a node's label but forgets that hard nodeSelector constraints will strand dependent Pods. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Review node taint key/effect, Pod toleration key/operator and associated scheduler events.
  2. The selected isolation model meets workload portability and security needs without claiming that containers include separate guest kernels.
  3. Check Pod nodeSelector keys and values against node labels and scheduling events.
  4. Match Pod CPU/memory requests to node allocatable resources and scheduling constraints before blaming a container image.
  5. Use nodeSelector for straightforward required label equality and confirm matching nodes exist in the cluster.

Explanation

Correct Answers

C:

Check Pod nodeSelector keys and values against node labels and scheduling events. This is the most discriminating evidence for the described failure or requirement. nodeSelector requires matching labels; it does not create labels or express weighted preferences by itself. The corresponding implementation is: Use nodeSelector for straightforward required label equality and confirm matching nodes exist in the cluster. This is the diagnostic evidence part of the paired answer. Workload context: An ops lead changes a node's label but forgets that hard nodeSelector constraints will strand dependent Pods.

E:

Use nodeSelector for straightforward required label equality and confirm matching nodes exist in the cluster. This response implements the controlling Kubernetes or cloud native principle. nodeSelector requires matching labels; it does not create labels or express weighted preferences by itself. Check its effect by: Check Pod nodeSelector keys and values against node labels and scheduling events. This is the implementation part of the required paired answer. Workload context: An ops lead changes a node's label but forgets that hard nodeSelector constraints will strand dependent Pods.

Incorrect Answers

A:

Review node taint key/effect, Pod toleration key/operator and associated scheduler events. This step belongs to Taints tolerations and node protection rather than the complementary implementation and evidence pair. The intended approach is: Use nodeSelector for straightforward required label equality and confirm matching nodes exist in the cluster. Validate with: Check Pod nodeSelector keys and values against node labels and scheduling events. Workload context: An ops lead changes a node's label but forgets that hard nodeSelector constraints will strand dependent Pods.

B:

The selected isolation model meets workload portability and security needs without claiming that containers include separate guest kernels. This step belongs to Container versus virtual machine isolation rather than the complementary implementation and evidence pair. The intended approach is: Use nodeSelector for straightforward required label equality and confirm matching nodes exist in the cluster. Validate with: Check Pod nodeSelector keys and values against node labels and scheduling events. Workload context: An ops lead changes a node's label but forgets that hard nodeSelector constraints will strand dependent Pods.

D:

Match Pod CPU/memory requests to node allocatable resources and scheduling constraints before blaming a container image. This step belongs to Pending Pods and resource-fit checks rather than the complementary implementation and evidence pair. The intended approach is: Use nodeSelector for straightforward required label equality and confirm matching nodes exist in the cluster. Validate with: Check Pod nodeSelector keys and values against node labels and scheduling events. Workload context: An ops lead changes a node's label but forgets that hard nodeSelector constraints will strand dependent Pods.

Question 985

A team assumes a multi-container Pod receives a unique IP address for every container and configures contradictory routes. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Allow Kubernetes controllers to reconcile declared desired object state instead of manually replacing each Pod after failure.
  2. Check server and kubelet versions, deprecated APIs, CNI/CSI compatibility, maintenance order and rollback limits.
  3. Model tightly coupled containers inside a Pod when they must share a network namespace and lifecycle, not as unrelated separate Pods.
  4. Inspect container membership, localhost connectivity, Pod IP, restart policies and inter-container volumes.
  5. Critical workloads gain capacity when eligible without uncontrolled eviction of unrelated protected services.

Explanation

Correct Answers

C:

Model tightly coupled containers inside a Pod when they must share a network namespace and lifecycle, not as unrelated separate Pods. This response implements the controlling Kubernetes or cloud native principle. Containers in one Pod share networking and selected volumes; Kubernetes schedules Pods rather than independent containers. Check its effect by: Inspect container membership, localhost connectivity, Pod IP, restart policies and inter-container volumes. This is the implementation part of the required paired answer. Workload context: A team assumes a multi-container Pod receives a unique IP address for every container and configures contradictory routes.

D:

Inspect container membership, localhost connectivity, Pod IP, restart policies and inter-container volumes. This is the most discriminating evidence for the described failure or requirement. Containers in one Pod share networking and selected volumes; Kubernetes schedules Pods rather than independent containers. The corresponding implementation is: Model tightly coupled containers inside a Pod when they must share a network namespace and lifecycle, not as unrelated separate Pods. This is the diagnostic evidence part of the paired answer. Workload context: A team assumes a multi-container Pod receives a unique IP address for every container and configures contradictory routes.

Incorrect Answers

A:

Allow Kubernetes controllers to reconcile declared desired object state instead of manually replacing each Pod after failure. This step belongs to Controller manager reconciliation loops rather than the complementary implementation and evidence pair. The intended approach is: Model tightly coupled containers inside a Pod when they must share a network namespace and lifecycle, not as unrelated separate Pods. Validate with: Inspect container membership, localhost connectivity, Pod IP, restart policies and inter-container volumes. Workload context: A team assumes a multi-container Pod receives a unique IP address for every container and configures contradictory routes.

B:

Check server and kubelet versions, deprecated APIs, CNI/CSI compatibility, maintenance order and rollback limits. This step belongs to Kubernetes upgrades and version skew rather than the complementary implementation and evidence pair. The intended approach is: Model tightly coupled containers inside a Pod when they must share a network namespace and lifecycle, not as unrelated separate Pods. Validate with: Inspect container membership, localhost connectivity, Pod IP, restart policies and inter-container volumes. Workload context: A team assumes a multi-container Pod receives a unique IP address for every container and configures contradictory routes.

E:

Critical workloads gain capacity when eligible without uncontrolled eviction of unrelated protected services. This step belongs to PriorityClass and preemption rather than the complementary implementation and evidence pair. The intended approach is: Model tightly coupled containers inside a Pod when they must share a network namespace and lifecycle, not as unrelated separate Pods. Validate with: Inspect container membership, localhost connectivity, Pod IP, restart policies and inter-container volumes. Workload context: A team assumes a multi-container Pod receives a unique IP address for every container and configures contradictory routes.

Question 986

A team rolls back to revision 3 but cannot explain the prior change because image tags were mutable and history lacks a digest. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Inspect Deployment observedGeneration, rollout status, revision annotations, ReplicaSet ownership and release events.
  2. Inspect maxSurge, maxUnavailable, rollout conditions, ReplicaSets, readiness and prior image revisions.
  3. Compare trace IDs, time synchronized log events, resource saturation metrics and span durations.
  4. Inspect traffic split, Service selectors or routing weights, version identity and representative user metrics.

Explanation

Correct Answer

A:

Inspect Deployment observedGeneration, rollout status, revision annotations, ReplicaSet ownership and release events. This is the most discriminating evidence for the described failure or requirement. A Deployment being Available does not prove all new replicas are healthy or that a rollout has fully progressed. The corresponding implementation is: Compare rollout history and resource generations to identify whether application failures correlate with a new deployment revision. Workload context: A team rolls back to revision 3 but cannot explain the prior change because image tags were mutable and history lacks a digest.

Incorrect Answers

B:

Inspect maxSurge, maxUnavailable, rollout conditions, ReplicaSets, readiness and prior image revisions. These observations are more relevant to Deployment rolling updates and rollback, not this case. The distinguishing check is: Inspect Deployment observedGeneration, rollout status, revision annotations, ReplicaSet ownership and release events. Workload context: A team rolls back to revision 3 but cannot explain the prior change because image tags were mutable and history lacks a digest.

C:

Compare trace IDs, time synchronized log events, resource saturation metrics and span durations. These observations are more relevant to Correlating metrics logs and traces, not this case. The distinguishing check is: Inspect Deployment observedGeneration, rollout status, revision annotations, ReplicaSet ownership and release events. Workload context: A team rolls back to revision 3 but cannot explain the prior change because image tags were mutable and history lacks a digest.

D:

Inspect traffic split, Service selectors or routing weights, version identity and representative user metrics. These observations are more relevant to Blue-green versus canary release patterns, not this case. The distinguishing check is: Inspect Deployment observedGeneration, rollout status, revision annotations, ReplicaSet ownership and release events. Workload context: A team rolls back to revision 3 but cannot explain the prior change because image tags were mutable and history lacks a digest.

Question 987

A team uses a nodeSelector to request a preferred zone but actually makes the zone mandatory and loses redundancy. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Check Pod nodeSelector keys and values against node labels and scheduling events.
  2. Inspect process namespace, container cgroup limits, OOM events and host resource metrics.
  3. Review initContainers/sidecar restart behavior, shared volumes, localhost traffic and termination events.
  4. Check NodeReady condition, kubelet heartbeats, network connectivity, pressure conditions and scheduler events.

Explanation

Correct Answer

A:

Check Pod nodeSelector keys and values against node labels and scheduling events. This is the most discriminating evidence for the described failure or requirement. nodeSelector requires matching labels; it does not create labels or express weighted preferences by itself. The corresponding implementation is: Use nodeSelector for straightforward required label equality and confirm matching nodes exist in the cluster. Workload context: A team uses a nodeSelector to request a preferred zone but actually makes the zone mandatory and loses redundancy.

Incorrect Answers

B:

Inspect process namespace, container cgroup limits, OOM events and host resource metrics. These observations are more relevant to Linux namespaces and cgroups, not this case. The distinguishing check is: Check Pod nodeSelector keys and values against node labels and scheduling events. Workload context: A team uses a nodeSelector to request a preferred zone but actually makes the zone mandatory and loses redundancy.

C:

Review initContainers/sidecar restart behavior, shared volumes, localhost traffic and termination events. These observations are more relevant to Sidecar containers and shared Pod lifecycle, not this case. The distinguishing check is: Check Pod nodeSelector keys and values against node labels and scheduling events. Workload context: A team uses a nodeSelector to request a preferred zone but actually makes the zone mandatory and loses redundancy.

D:

Check NodeReady condition, kubelet heartbeats, network connectivity, pressure conditions and scheduler events. These observations are more relevant to Node readiness and scheduling exclusion, not this case. The distinguishing check is: Check Pod nodeSelector keys and values against node labels and scheduling events. Workload context: A team uses a nodeSelector to request a preferred zone but actually makes the zone mandatory and loses redundancy.

Question 988

A regional control-plane upgrade changes the API endpoint but workers continue running and administrators need to verify client access. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Check API endpoint connectivity, request audit records, resource authorization and response status.
  2. Inspect container membership, localhost connectivity, Pod IP, restart policies and inter-container volumes.
  3. Use kube-apiserver as the authenticated front end for Kubernetes API objects, rather than connecting clients directly to etcd.
  4. An operator investigates a running Pod without modifying its immutable application image or replacing production workload containers.
  5. Keep etcd highly available and maintain secure, tested snapshots of Kubernetes API state rather than treating it as ordinary container storage.

Explanation

Correct Answers

A:

Check API endpoint connectivity, request audit records, resource authorization and response status. This is the most discriminating evidence for the described failure or requirement. kube-apiserver validates and serves API requests; etcd stores cluster state rather than exposing the user API. The corresponding implementation is: Use kube-apiserver as the authenticated front end for Kubernetes API objects, rather than connecting clients directly to etcd. This is the diagnostic evidence part of the paired answer. Workload context: A regional control-plane upgrade changes the API endpoint but workers continue running and administrators need to verify client access.

C:

Use kube-apiserver as the authenticated front end for Kubernetes API objects, rather than connecting clients directly to etcd. This response implements the controlling Kubernetes or cloud native principle. kube-apiserver validates and serves API requests; etcd stores cluster state rather than exposing the user API. Check its effect by: Check API endpoint connectivity, request audit records, resource authorization and response status. This is the implementation part of the required paired answer. Workload context: A regional control-plane upgrade changes the API endpoint but workers continue running and administrators need to verify client access.

Incorrect Answers

B:

Inspect container membership, localhost connectivity, Pod IP, restart policies and inter-container volumes. This step belongs to Pod shared network namespace and lifecycle rather than the complementary implementation and evidence pair. The intended approach is: Use kube-apiserver as the authenticated front end for Kubernetes API objects, rather than connecting clients directly to etcd. Validate with: Check API endpoint connectivity, request audit records, resource authorization and response status. Workload context: A regional control-plane upgrade changes the API endpoint but workers continue running and administrators need to verify client access.

D:

An operator investigates a running Pod without modifying its immutable application image or replacing production workload containers. This step belongs to Ephemeral debugging containers rather than the complementary implementation and evidence pair. The intended approach is: Use kube-apiserver as the authenticated front end for Kubernetes API objects, rather than connecting clients directly to etcd. Validate with: Check API endpoint connectivity, request audit records, resource authorization and response status. Workload context: A regional control-plane upgrade changes the API endpoint but workers continue running and administrators need to verify client access.

E:

Keep etcd highly available and maintain secure, tested snapshots of Kubernetes API state rather than treating it as ordinary container storage. This step belongs to etcd consistency and cluster state rather than the complementary implementation and evidence pair. The intended approach is: Use kube-apiserver as the authenticated front end for Kubernetes API objects, rather than connecting clients directly to etcd. Validate with: Check API endpoint connectivity, request audit records, resource authorization and response status. Workload context: A regional control-plane upgrade changes the API endpoint but workers continue running and administrators need to verify client access.

Question 989

Operators update control-plane binaries but ignore cluster DNS and CNI version compatibility during the change. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Build minimal images with reproducible layers and protect against secrets embedded in historical image layers.
  2. Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily.
  3. Set workload requests for placement and limits for bounded runtime use based on measured application needs.
  4. Assign stable labels for matching workload membership, and use annotations for nonselecting descriptive metadata.

Explanation

Correct Answer

B:

Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily. This response implements the controlling Kubernetes or cloud native principle. API compatibility and supported component skew determine upgrade sequencing; not every Kubernetes version jump is supported. Check its effect by: Check server and kubelet versions, deprecated APIs, CNI/CSI compatibility, maintenance order and rollback limits. Workload context: Operators update control-plane binaries but ignore cluster DNS and CNI version compatibility during the change.

Incorrect Answers

A:

Build minimal images with reproducible layers and protect against secrets embedded in historical image layers. This action addresses Image layers and build cache instead of the controlling requirement. Deleting a file in a later image layer does not erase secrets committed into an earlier layer. For this scenario prefer: Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily. Workload context: Operators update control-plane binaries but ignore cluster DNS and CNI version compatibility during the change.

C:

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: Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily. Workload context: Operators update control-plane binaries but ignore cluster DNS and CNI version compatibility during the change.

D:

Assign stable labels for matching workload membership, and use annotations for nonselecting descriptive metadata. This action addresses Labels selectors and annotations instead of the controlling requirement. Labels support equality and set-based selectors; annotations do not become Service selectors automatically. For this scenario prefer: Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily. Workload context: Operators update control-plane binaries but ignore cluster DNS and CNI version compatibility during the change.

Question 990

A team deletes unhealthy Pods repeatedly while provider load-balancer health checks target an incorrect Service node port. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Use supported Ingress or Gateway API resources together with a running controller to route HTTP traffic by host and path.
  2. Select and operate a Kubernetes-compatible CNI implementation to provide Pod IP connectivity and required network capabilities.
  3. Assign readiness for traffic acceptance, liveness for unhealthy restarts and startup for slow initialization when appropriate.
  4. Use a Service type LoadBalancer with a supported cloud or in-cluster load-balancer controller to provide an approved external endpoint.

Explanation

Correct Answer

D:

Use a Service type LoadBalancer with a supported cloud or in-cluster load-balancer controller to provide an approved external endpoint. This response implements the controlling Kubernetes or cloud native principle. A LoadBalancer Service depends on an implementation or provider controller; creating it does not guarantee an external address. Check its effect by: Inspect external IP status, controller events, security groups, health checks and upstream target availability. Workload context: A team deletes unhealthy Pods repeatedly while provider load-balancer health checks target an incorrect Service node port.

Incorrect Answers

A:

Use supported Ingress or Gateway API resources together with a running controller to route HTTP traffic by host and path. This action addresses Ingress and Gateway API routing instead of the controlling requirement. Ingress and Gateway API resources describe routing intent; a controller implements data-plane forwarding. For this scenario prefer: Use a Service type LoadBalancer with a supported cloud or in-cluster load-balancer controller to provide an approved external endpoint. Workload context: A team deletes unhealthy Pods repeatedly while provider load-balancer health checks target an incorrect Service node port.

B:

Select and operate a Kubernetes-compatible CNI implementation to provide Pod IP connectivity and required network capabilities. This action addresses CNI Pod networking implementation instead of the controlling requirement. The CNI plugin supplies Pod networking; a Kubernetes Service alone cannot correct a broken Pod network implementation. For this scenario prefer: Use a Service type LoadBalancer with a supported cloud or in-cluster load-balancer controller to provide an approved external endpoint. Workload context: A team deletes unhealthy Pods repeatedly while provider load-balancer health checks target an incorrect Service node port.

C:

Assign readiness for traffic acceptance, liveness for unhealthy restarts and startup for slow initialization when appropriate. This action addresses Readiness liveness and startup probe behavior instead of the controlling requirement. Readiness failure removes a Pod from ready endpoints; liveness failure may restart a container. For this scenario prefer: Use a Service type LoadBalancer with a supported cloud or in-cluster load-balancer controller to provide an approved external endpoint. Workload context: A team deletes unhealthy Pods repeatedly while provider load-balancer health checks target an incorrect Service node port.

Kubernetes and Cloud Native Associate (KCNA) Practice Tests