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 4

Question 30

A service hits its cgroup memory ceiling and is killed even though host-wide free RAM remains available. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis.
  2. Use supported sidecar containers for tightly coupled helper functions and verify lifecycle coordination within the Pod.
  3. Explain how namespaces isolate process/network views and cgroups control CPU and memory resource accounting and enforcement.
  4. Model tightly coupled containers inside a Pod when they must share a network namespace and lifecycle, not as unrelated separate Pods.

Explanation

Correct Answer

C:

Explain how namespaces isolate process/network views and cgroups control CPU and memory resource accounting and enforcement. This response implements the controlling Kubernetes or cloud native principle. Namespaces and cgroups provide different Linux primitives; neither independently creates Kubernetes scheduling. Check its effect by: Inspect process namespace, container cgroup limits, OOM events and host resource metrics. Workload context: A service hits its cgroup memory ceiling and is killed even though host-wide free RAM remains available.

Incorrect Answers

A:

Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis. This action addresses Node labels and allocatable inventory instead of the controlling requirement. Node allocatable excludes reservations from raw capacity; labels must reflect real node capabilities and administration. For this scenario prefer: Explain how namespaces isolate process/network views and cgroups control CPU and memory resource accounting and enforcement. Workload context: A service hits its cgroup memory ceiling and is killed even though host-wide free RAM remains available.

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: Explain how namespaces isolate process/network views and cgroups control CPU and memory resource accounting and enforcement. Workload context: A service hits its cgroup memory ceiling and is killed even though host-wide free RAM remains available.

D:

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: Explain how namespaces isolate process/network views and cgroups control CPU and memory resource accounting and enforcement. Workload context: A service hits its cgroup memory ceiling and is killed even though host-wide free RAM remains available.

Question 31

A team changes only imagePullPolicy but expects it to provide cryptographic provenance for untrusted registry content. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Compare image digest, registry manifest, Pod imageID, rollout timestamp and supply-chain approval.
  2. Reapplying unchanged configuration is safe and the resulting cluster state matches the reviewed manifest.
  3. Inspect SBOM package inventory, CVE applicability, signature validation and approved exception decisions.
  4. Pin production images to verified digests or governed immutable tags so every node runs a known artifact.
  5. Choose imagePullPolicy based on tag immutability and cluster delivery needs, checking runtime cache and registry accessibility.

Explanation

Correct Answers

A:

Compare image digest, registry manifest, Pod imageID, rollout timestamp and supply-chain approval. This is the most discriminating evidence for the described failure or requirement. Mutable image tags can resolve to different builds over time; digests identify immutable content. The corresponding implementation is: Pin production images to verified digests or governed immutable tags so every node runs a known artifact. This is the diagnostic evidence part of the paired answer. Workload context: A team changes only imagePullPolicy but expects it to provide cryptographic provenance for untrusted registry content.

D:

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. This is the implementation part of the required paired answer. Workload context: A team changes only imagePullPolicy but expects it to provide cryptographic provenance for untrusted registry content.

Incorrect Answers

B:

Reapplying unchanged configuration is safe and the resulting cluster state matches the reviewed manifest. This step belongs to kubectl apply and declarative updates rather than the complementary implementation and evidence pair. The intended approach is: Pin production images to verified digests or governed immutable tags so every node runs a known artifact. Validate with: 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.

C:

Inspect SBOM package inventory, CVE applicability, signature validation and approved exception decisions. This step belongs to Image scanning and software bills of materials rather than the complementary implementation and evidence pair. The intended approach is: Pin production images to verified digests or governed immutable tags so every node runs a known artifact. Validate with: 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.

E:

Choose imagePullPolicy based on tag immutability and cluster delivery needs, checking runtime cache and registry accessibility. This step belongs to Image pull policy and cached images rather than the complementary implementation and evidence pair. The intended approach is: Pin production images to verified digests or governed immutable tags so every node runs a known artifact. Validate with: 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.

Question 32

A slow-starting Java app passes readiness only after warm-up but its liveness check kills it every ten seconds during startup. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Inspect Service metadata, selected Pod labels, EndpointSlice readiness, containerPort and actual listening sockets.
  2. Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope.
  3. New claims provision compatible storage without requiring manual static PV creation for each request.
  4. Inspect probe paths, thresholds, failure conditions, Service endpoints and container restart events.
  5. Assign readiness for traffic acceptance, liveness for unhealthy restarts and startup for slow initialization when appropriate.

Explanation

Correct Answers

D:

Inspect probe paths, thresholds, failure conditions, Service endpoints and container restart events. This is the most discriminating evidence for the described failure or requirement. Readiness failure removes a Pod from ready endpoints; liveness failure may restart a container. The corresponding implementation is: Assign readiness for traffic acceptance, liveness for unhealthy restarts and startup for slow initialization when appropriate. This is the diagnostic evidence part of the paired answer. Workload context: A slow-starting Java app passes readiness only after warm-up but its liveness check kills it every ten seconds during startup.

E:

Assign readiness for traffic acceptance, liveness for unhealthy restarts and startup for slow initialization when appropriate. This response implements the controlling Kubernetes or cloud native principle. Readiness failure removes a Pod from ready endpoints; liveness failure may restart a container. Check its effect by: Inspect probe paths, thresholds, failure conditions, Service endpoints and container restart events. This is the implementation part of the required paired answer. Workload context: A slow-starting Java app passes readiness only after warm-up but its liveness check kills it every ten seconds during startup.

Incorrect Answers

A:

Inspect Service metadata, selected Pod labels, EndpointSlice readiness, containerPort and actual listening sockets. This step belongs to Service selector and port mismatch diagnostics rather than the complementary implementation and evidence pair. The intended approach is: Assign readiness for traffic acceptance, liveness for unhealthy restarts and startup for slow initialization when appropriate. Validate with: Inspect probe paths, thresholds, failure conditions, Service endpoints and container restart events. Workload context: A slow-starting Java app passes readiness only after warm-up but its liveness check kills it every ten seconds during startup.

B:

Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope. This step belongs to ImagePullBackOff registry and auth errors rather than the complementary implementation and evidence pair. The intended approach is: Assign readiness for traffic acceptance, liveness for unhealthy restarts and startup for slow initialization when appropriate. Validate with: Inspect probe paths, thresholds, failure conditions, Service endpoints and container restart events. Workload context: A slow-starting Java app passes readiness only after warm-up but its liveness check kills it every ten seconds during startup.

C:

New claims provision compatible storage without requiring manual static PV creation for each request. This step belongs to StorageClass dynamic provisioning rather than the complementary implementation and evidence pair. The intended approach is: Assign readiness for traffic acceptance, liveness for unhealthy restarts and startup for slow initialization when appropriate. Validate with: Inspect probe paths, thresholds, failure conditions, Service endpoints and container restart events. Workload context: A slow-starting Java app passes readiness only after warm-up but its liveness check kills it every ten seconds during startup.

Question 33

A service packages OCI-compatible images but its persistent volume depends on a provider-only disk implementation unavailable in a second cloud. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Inspect manifests for proprietary resources, storage/network API dependencies, image compatibility and migration cost.
  2. Review SIG charter, KEP status, community meeting records and maintainer review responsibilities.
  3. Prefer open APIs, OCI images and Kubernetes-compatible deployment contracts where portability matters while accounting for provider-specific extensions.
  4. Distinguish Kubernetes orchestration responsibilities from ecosystem projects that add service mesh, telemetry, delivery and storage capabilities.
  5. Contributions and distributions meet stated open-source terms without assuming every repository uses the same license.

Explanation

Correct Answers

A:

Inspect manifests for proprietary resources, storage/network API dependencies, image compatibility and migration cost. This is the most discriminating evidence for the described failure or requirement. Cloud native APIs improve portability but do not guarantee identical storage classes, load balancers or custom controllers across clouds. The corresponding implementation is: Prefer open APIs, OCI images and Kubernetes-compatible deployment contracts where portability matters while accounting for provider-specific extensions. This is the diagnostic evidence part of the paired answer. Workload context: A service packages OCI-compatible images but its persistent volume depends on a provider-only disk implementation unavailable in a second cloud.

C:

Prefer open APIs, OCI images and Kubernetes-compatible deployment contracts where portability matters while accounting for provider-specific extensions. This response implements the controlling Kubernetes or cloud native principle. Cloud native APIs improve portability but do not guarantee identical storage classes, load balancers or custom controllers across clouds. Check its effect by: Inspect manifests for proprietary resources, storage/network API dependencies, image compatibility and migration cost. This is the implementation part of the required paired answer. Workload context: A service packages OCI-compatible images but its persistent volume depends on a provider-only disk implementation unavailable in a second cloud.

Incorrect Answers

B:

Review SIG charter, KEP status, community meeting records and maintainer review responsibilities. This step belongs to Kubernetes SIG and community governance rather than the complementary implementation and evidence pair. The intended approach is: Prefer open APIs, OCI images and Kubernetes-compatible deployment contracts where portability matters while accounting for provider-specific extensions. Validate with: Inspect manifests for proprietary resources, storage/network API dependencies, image compatibility and migration cost. Workload context: A service packages OCI-compatible images but its persistent volume depends on a provider-only disk implementation unavailable in a second cloud.

D:

Distinguish Kubernetes orchestration responsibilities from ecosystem projects that add service mesh, telemetry, delivery and storage capabilities. This step belongs to CNCF ecosystem and Kubernetes roles rather than the complementary implementation and evidence pair. The intended approach is: Prefer open APIs, OCI images and Kubernetes-compatible deployment contracts where portability matters while accounting for provider-specific extensions. Validate with: Inspect manifests for proprietary resources, storage/network API dependencies, image compatibility and migration cost. Workload context: A service packages OCI-compatible images but its persistent volume depends on a provider-only disk implementation unavailable in a second cloud.

E:

Contributions and distributions meet stated open-source terms without assuming every repository uses the same license. This step belongs to Open source licensing and contribution basics rather than the complementary implementation and evidence pair. The intended approach is: Prefer open APIs, OCI images and Kubernetes-compatible deployment contracts where portability matters while accounting for provider-specific extensions. Validate with: Inspect manifests for proprietary resources, storage/network API dependencies, image compatibility and migration cost. Workload context: A service packages OCI-compatible images but its persistent volume depends on a provider-only disk implementation unavailable in a second cloud.

Question 34

A workload with a custom zone selector is stuck because nodes use a different label key than the manifest. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Inspect quota hard/used counters, LimitRange defaults and API admission rejection messages.
  2. Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway.
  3. Review node labels, conditions, capacity versus allocatable, topology zones and node allocatable metrics.
  4. Inspect Pod requests/limits, node allocatable capacity, usage history, throttling and OOMKilled events.

Explanation

Correct Answer

C:

Review node labels, conditions, capacity versus allocatable, topology zones and node allocatable metrics. This is the most discriminating evidence for the described failure or requirement. Node allocatable excludes reservations from raw capacity; labels must reflect real node capabilities and administration. The corresponding implementation is: Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis. Workload context: A workload with a custom zone selector is stuck because nodes use a different label key than the manifest.

Incorrect Answers

A:

Inspect quota hard/used counters, LimitRange defaults and API admission rejection messages. These observations are more relevant to ResourceQuota and LimitRange policies, not this case. The distinguishing check is: Review node labels, conditions, capacity versus allocatable, topology zones and node allocatable metrics. Workload context: A workload with a custom zone selector is stuck because nodes use a different label key than the manifest.

B:

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: Review node labels, conditions, capacity versus allocatable, topology zones and node allocatable metrics. Workload context: A workload with a custom zone selector is stuck because nodes use a different label key than the manifest.

D:

Inspect Pod requests/limits, node allocatable capacity, usage history, throttling and OOMKilled events. These observations are more relevant to CPU requests and memory limits, not this case. The distinguishing check is: Review node labels, conditions, capacity versus allocatable, topology zones and node allocatable metrics. Workload context: A workload with a custom zone selector is stuck because nodes use a different label key than the manifest.

Question 35

An application team scales a Deployment but some replicas remain Pending due to a dedicated-node taint. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. The PVC binds to a suitable volume and survives recreation of the application Pod as designed.
  2. Approved workloads can access required credentials while unauthorized viewers cannot recover plaintext through the API.
  3. The application operates within measured memory budgets or receives justified capacity changes without repeated OOM restarts.
  4. The precise scheduling blocker is removed and the workload binds to an eligible node.

Explanation

Correct Answer

D:

The precise scheduling blocker is removed and the workload binds to an eligible node. This is an observable service outcome, not just evidence that a configuration file was saved. Pending may mean unschedulable or image preparation; distinguish whether node assignment occurred before choosing next checks. Workload context: An application team scales a Deployment but some replicas remain Pending due to a dedicated-node taint.

Incorrect Answers

A:

The PVC binds to a suitable volume and survives recreation of the application Pod as designed. That result validates PersistentVolume and claim bindings rather than the requirement here. Verify instead: The precise scheduling blocker is removed and the workload binds to an eligible node. Workload context: An application team scales a Deployment but some replicas remain Pending due to a dedicated-node taint.

B:

Approved workloads can access required credentials while unauthorized viewers cannot recover plaintext through the API. That result validates Secret base64 encoding versus encryption rather than the requirement here. Verify instead: The precise scheduling blocker is removed and the workload binds to an eligible node. Workload context: An application team scales a Deployment but some replicas remain Pending due to a dedicated-node taint.

C:

The application operates within measured memory budgets or receives justified capacity changes without repeated OOM restarts. That result validates Container OOMKilled and resource pressure rather than the requirement here. Verify instead: The precise scheduling blocker is removed and the workload binds to an eligible node. Workload context: An application team scales a Deployment but some replicas remain Pending due to a dedicated-node taint.

Question 36

An auditor sees secret data encrypted at rest but users with wildcard RBAC can still retrieve it through the API. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Apply RBAC and encryption-at-rest controls to Kubernetes Secrets and avoid exposing decoded values in logs or public manifests.
  2. Use StatefulSets for workloads needing stable ordinal identity and per-replica persistent claims rather than one shared ephemeral Deployment.
  3. Assign readiness for traffic acceptance, liveness for unhealthy restarts and startup for slow initialization when appropriate.
  4. Distinguish authenticating a Kubernetes API caller from authorizing verbs and validating or mutating admission behavior.

Explanation

Correct Answer

A:

Apply RBAC and encryption-at-rest controls to Kubernetes Secrets and avoid exposing decoded values in logs or public manifests. This response implements the controlling Kubernetes or cloud native principle. Base64 is a reversible encoding, not encryption; Secret storage and access policies require separate protection. Check its effect by: Inspect Secret read permissions, encryption configuration, encoded manifest values and audit trails. Workload context: An auditor sees secret data encrypted at rest but users with wildcard RBAC can still retrieve it through the API.

Incorrect Answers

B:

Use StatefulSets for workloads needing stable ordinal identity and per-replica persistent claims rather than one shared ephemeral Deployment. This action addresses StatefulSet identity and volume templates instead of the controlling requirement. StatefulSets manage stable identities and can provision distinct PVCs; they do not automatically provide database replication correctness. For this scenario prefer: Apply RBAC and encryption-at-rest controls to Kubernetes Secrets and avoid exposing decoded values in logs or public manifests. Workload context: An auditor sees secret data encrypted at rest but users with wildcard RBAC can still retrieve it through the API.

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: Apply RBAC and encryption-at-rest controls to Kubernetes Secrets and avoid exposing decoded values in logs or public manifests. Workload context: An auditor sees secret data encrypted at rest but users with wildcard RBAC can still retrieve it through the API.

D:

Distinguish authenticating a Kubernetes API caller from authorizing verbs and validating or mutating admission behavior. This action addresses Authentication authorization and admission order instead of the controlling requirement. Authentication answers who called, authorization answers what may be done, and admission can apply policy to allowed requests. For this scenario prefer: Apply RBAC and encryption-at-rest controls to Kubernetes Secrets and avoid exposing decoded values in logs or public manifests. Workload context: An auditor sees secret data encrypted at rest but users with wildcard RBAC can still retrieve it through the API.

Question 37

A cluster upgrade removes an API version used by an old application chart and production apply fails. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Inspect local-versus-server manifest diff, field ownership, admission rejection and resulting resource generation.
  2. Check server and kubelet versions, deprecated APIs, CNI/CSI compatibility, maintenance order and rollback limits.
  3. Inspect etcd quorum health, member status, snapshot freshness, certificate validity and restore procedure.
  4. Inspect kubectl config current-context, cluster server, user identity and namespace field.

Explanation

Correct Answer

B:

Check server and kubelet versions, deprecated APIs, CNI/CSI compatibility, maintenance order and rollback limits. This is the most discriminating evidence for the described failure or requirement. API compatibility and supported component skew determine upgrade sequencing; not every Kubernetes version jump is supported. The corresponding implementation is: Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily. Workload context: A cluster upgrade removes an API version used by an old application chart and production apply fails.

Incorrect Answers

A:

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: Check server and kubelet versions, deprecated APIs, CNI/CSI compatibility, maintenance order and rollback limits. Workload context: A cluster upgrade removes an API version used by an old application chart and production apply fails.

C:

Inspect etcd quorum health, member status, snapshot freshness, certificate validity and restore procedure. These observations are more relevant to etcd consistency and cluster state, not this case. The distinguishing check is: Check server and kubelet versions, deprecated APIs, CNI/CSI compatibility, maintenance order and rollback limits. Workload context: A cluster upgrade removes an API version used by an old application chart and production apply fails.

D:

Inspect kubectl config current-context, cluster server, user identity and namespace field. These observations are more relevant to kubectl context and cluster selection, not this case. The distinguishing check is: Check server and kubelet versions, deprecated APIs, CNI/CSI compatibility, maintenance order and rollback limits. Workload context: A cluster upgrade removes an API version used by an old application chart and production apply fails.

Question 38

A node runs an outdated tagged image from cache under IfNotPresent after a mutable release tag changes. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Use supported sidecar containers for tightly coupled helper functions and verify lifecycle coordination within the Pod.
  2. Choose imagePullPolicy based on tag immutability and cluster delivery needs, checking runtime cache and registry accessibility.
  3. Planned node drains respect application availability requirements without confusing voluntary and involuntary disruptions.
  4. Compare imagePullPolicy, local image cache, registry digest, pull events and Pod imageID.
  5. Inspect PVC status, volume nodeAffinity, StorageClass volumeBindingMode and node/zone eligibility.

Explanation

Correct Answers

B:

Choose imagePullPolicy based on tag immutability and cluster delivery needs, checking runtime cache and registry accessibility. This response implements the controlling Kubernetes or cloud native principle. Always pulls or checks the registry when needed, while IfNotPresent may use cache; pull policy is not image provenance. Check its effect by: Compare imagePullPolicy, local image cache, registry digest, pull events and Pod imageID. This is the implementation part of the required paired answer. Workload context: A node runs an outdated tagged image from cache under IfNotPresent after a mutable release tag changes.

D:

Compare imagePullPolicy, local image cache, registry digest, pull events and Pod imageID. This is the most discriminating evidence for the described failure or requirement. Always pulls or checks the registry when needed, while IfNotPresent may use cache; pull policy is not image provenance. The corresponding implementation is: Choose imagePullPolicy based on tag immutability and cluster delivery needs, checking runtime cache and registry accessibility. This is the diagnostic evidence part of the paired answer. Workload context: A node runs an outdated tagged image from cache under IfNotPresent after a mutable release tag changes.

Incorrect Answers

A:

Use supported sidecar containers for tightly coupled helper functions and verify lifecycle coordination within the Pod. This step belongs to Sidecar containers and shared Pod lifecycle rather than the complementary implementation and evidence pair. The intended approach is: Choose imagePullPolicy based on tag immutability and cluster delivery needs, checking runtime cache and registry accessibility. Validate with: Compare imagePullPolicy, local image cache, registry digest, pull events and Pod imageID. Workload context: A node runs an outdated tagged image from cache under IfNotPresent after a mutable release tag changes.

C:

Planned node drains respect application availability requirements without confusing voluntary and involuntary disruptions. This step belongs to PodDisruptionBudget during voluntary eviction rather than the complementary implementation and evidence pair. The intended approach is: Choose imagePullPolicy based on tag immutability and cluster delivery needs, checking runtime cache and registry accessibility. Validate with: Compare imagePullPolicy, local image cache, registry digest, pull events and Pod imageID. Workload context: A node runs an outdated tagged image from cache under IfNotPresent after a mutable release tag changes.

E:

Inspect PVC status, volume nodeAffinity, StorageClass volumeBindingMode and node/zone eligibility. This step belongs to PersistentVolume zone binding and placement rather than the complementary implementation and evidence pair. The intended approach is: Choose imagePullPolicy based on tag immutability and cluster delivery needs, checking runtime cache and registry accessibility. Validate with: Compare imagePullPolicy, local image cache, registry digest, pull events and Pod imageID. Workload context: A node runs an outdated tagged image from cache under IfNotPresent after a mutable release tag changes.

Question 39

A service account authenticates but receives 403 when deleting Secrets; developers assume an admission webhook caused the denial. 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. Configure Pod Security Admission policy levels for namespaces to restrict unsafe Pod settings while documenting exceptions.
  3. Distinguish authenticating a Kubernetes API caller from authorizing verbs and validating or mutating admission behavior.
  4. Examine authentication identity, RBAC decision, admission webhook result and API response status.
  5. Inspect controller readiness, class or Gateway association, route attachment status, TLS Secret and backend Service mapping.

Explanation

Correct Answers

C:

Distinguish authenticating a Kubernetes API caller from authorizing verbs and validating or mutating admission behavior. This response implements the controlling Kubernetes or cloud native principle. Authentication answers who called, authorization answers what may be done, and admission can apply policy to allowed requests. Check its effect by: Examine authentication identity, RBAC decision, admission webhook result and API response status. This is the implementation part of the required paired answer. Workload context: A service account authenticates but receives 403 when deleting Secrets; developers assume an admission webhook caused the denial.

D:

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. This is the diagnostic evidence part of the paired answer. Workload context: A service account authenticates but receives 403 when deleting Secrets; developers assume an admission webhook caused the denial.

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: Distinguish authenticating a Kubernetes API caller from authorizing verbs and validating or mutating admission behavior. Validate with: Examine authentication identity, RBAC decision, admission webhook result and API response status. Workload context: A service account authenticates but receives 403 when deleting Secrets; developers assume an admission webhook caused the denial.

B:

Configure Pod Security Admission policy levels for namespaces to restrict unsafe Pod settings while documenting exceptions. This step belongs to Pod Security Admission and namespaces rather than the complementary implementation and evidence pair. The intended approach is: Distinguish authenticating a Kubernetes API caller from authorizing verbs and validating or mutating admission behavior. Validate with: Examine authentication identity, RBAC decision, admission webhook result and API response status. Workload context: A service account authenticates but receives 403 when deleting Secrets; developers assume an admission webhook caused the denial.

E:

Inspect controller readiness, class or Gateway association, route attachment status, TLS Secret and backend Service mapping. This step belongs to Ingress and Gateway API routing rather than the complementary implementation and evidence pair. The intended approach is: Distinguish authenticating a Kubernetes API caller from authorizing verbs and validating or mutating admission behavior. Validate with: Examine authentication identity, RBAC decision, admission webhook result and API response status. Workload context: A service account authenticates but receives 403 when deleting Secrets; developers assume an admission webhook caused the denial.

Question 40

A multi-tenant hosting provider runs untrusted code and assumes a container namespace is equivalent to a separate hypervisor VM. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Declare Kubernetes resource kind, apiVersion, metadata and spec using a supported schema and reconcile changes through the API.
  2. Cordon a node before planned maintenance, then use drain with workload safety checks and restore scheduling after validation.
  3. Choose containers for isolated application processes sharing a host kernel and use VMs when a stronger separate-kernel boundary is needed.
  4. Use a compatible container runtime via the Kubernetes Container Runtime Interface to create and manage containers on nodes.

Explanation

Correct Answer

C:

Choose containers for isolated application processes sharing a host kernel and use VMs when a stronger separate-kernel boundary is needed. This response implements the controlling Kubernetes or cloud native principle. Ordinary containers share the host kernel, whereas a VM normally runs its own guest kernel. Check its effect by: Compare host kernel sharing, namespace isolation, hypervisor boundaries and workload trust requirements. Workload context: A multi-tenant hosting provider runs untrusted code and assumes a container namespace is equivalent to a separate hypervisor VM.

Incorrect Answers

A:

Declare Kubernetes resource kind, apiVersion, metadata and spec using a supported schema and reconcile changes through the API. This action addresses Declarative resource manifests and API versions instead of the controlling requirement. Kubernetes API versions are resource-specific and evolve; a valid YAML file does not guarantee the API accepts its kind or schema. For this scenario prefer: Choose containers for isolated application processes sharing a host kernel and use VMs when a stronger separate-kernel boundary is needed. Workload context: A multi-tenant hosting provider runs untrusted code and assumes a container namespace is equivalent to a separate hypervisor VM.

B:

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: Choose containers for isolated application processes sharing a host kernel and use VMs when a stronger separate-kernel boundary is needed. Workload context: A multi-tenant hosting provider runs untrusted code and assumes a container namespace is equivalent to a separate hypervisor VM.

D:

Use a compatible container runtime via the Kubernetes Container Runtime Interface to create and manage containers on nodes. This action addresses Container runtime and CRI instead of the controlling requirement. A runtime executes containers; the CRI is its API integration with kubelet rather than the Kubernetes API server. For this scenario prefer: Choose containers for isolated application processes sharing a host kernel and use VMs when a stronger separate-kernel boundary is needed. Workload context: A multi-tenant hosting provider runs untrusted code and assumes a container namespace is equivalent to a separate hypervisor VM.

Kubernetes and Cloud Native Associate (KCNA) Practice Tests