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 114

Question 1130

A registry migration changes its host name and worker nodes report image pull failures despite healthy deployment manifests. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Choose containers for isolated application processes sharing a host kernel and use VMs when a stronger separate-kernel boundary is needed.
  2. Choose imagePullPolicy based on tag immutability and cluster delivery needs, checking runtime cache and registry accessibility.
  3. Pull images from approved OCI-compatible registries with controlled image credentials and documented access boundaries.
  4. Store non-sensitive configuration in ConfigMaps and sensitive values in Secrets with access control and encryption controls.

Explanation

Correct Answer

C:

Pull images from approved OCI-compatible registries with controlled image credentials and documented access boundaries. This response implements the controlling Kubernetes or cloud native principle. OCI registries store/distribute image artifacts; they do not orchestrate Pods or apply cluster networking. Check its effect by: Check registry path, pull Secret, tag or digest, IAM grant, TLS trust and registry audit logs. Workload context: A registry migration changes its host name and worker nodes report image pull failures despite healthy deployment manifests.

Incorrect Answers

A:

Choose containers for isolated application processes sharing a host kernel and use VMs when a stronger separate-kernel boundary is needed. This action addresses Container versus virtual machine isolation instead of the controlling requirement. Ordinary containers share the host kernel, whereas a VM normally runs its own guest kernel. For this scenario prefer: Pull images from approved OCI-compatible registries with controlled image credentials and documented access boundaries. Workload context: A registry migration changes its host name and worker nodes report image pull failures despite healthy deployment manifests.

B:

Choose imagePullPolicy based on tag immutability and cluster delivery needs, checking runtime cache and registry accessibility. This action addresses Image pull policy and cached images instead of the controlling requirement. Always pulls or checks the registry when needed, while IfNotPresent may use cache; pull policy is not image provenance. For this scenario prefer: Pull images from approved OCI-compatible registries with controlled image credentials and documented access boundaries. Workload context: A registry migration changes its host name and worker nodes report image pull failures despite healthy deployment manifests.

D:

Store non-sensitive configuration in ConfigMaps and sensitive values in Secrets with access control and encryption controls. This action addresses ConfigMap and Secret boundaries instead of the controlling requirement. Kubernetes Secret data is base64-encoded by default, not inherently encrypted or a substitute for managed secret governance. For this scenario prefer: Pull images from approved OCI-compatible registries with controlled image credentials and documented access boundaries. Workload context: A registry migration changes its host name and worker nodes report image pull failures despite healthy deployment manifests.

Question 1131

An architect equates container runtime, Kubernetes orchestrator and CNCF foundation governance as the same type of technology. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Check a project's license, contributor requirements and redistribution obligations before copying or shipping components.
  2. Distinguish Kubernetes orchestration responsibilities from ecosystem projects that add service mesh, telemetry, delivery and storage capabilities.
  3. Report suspected project security vulnerabilities through the designated private security channel before public reproduction details or exploit examples.
  4. Evaluate CNCF sandbox, incubating and graduated projects in context of maintenance, community adoption and technical fit.

Explanation

Correct Answer

B:

Distinguish Kubernetes orchestration responsibilities from ecosystem projects that add service mesh, telemetry, delivery and storage capabilities. This response implements the controlling Kubernetes or cloud native principle. The CNCF ecosystem contains complementary projects; Kubernetes itself is not a complete application observability or delivery platform. Check its effect by: Identify each project role, integration point, maintainer documentation and whether it belongs to Kubernetes core. Workload context: An architect equates container runtime, Kubernetes orchestrator and CNCF foundation governance as the same type of technology.

Incorrect Answers

A:

Check a project's license, contributor requirements and redistribution obligations before copying or shipping components. This action addresses Open source licensing and contribution basics instead of the controlling requirement. Open source permits work under a specific license; public availability of source code alone does not erase conditions. For this scenario prefer: Distinguish Kubernetes orchestration responsibilities from ecosystem projects that add service mesh, telemetry, delivery and storage capabilities. Workload context: An architect equates container runtime, Kubernetes orchestrator and CNCF foundation governance as the same type of technology.

C:

Report suspected project security vulnerabilities through the designated private security channel before public reproduction details or exploit examples. This action addresses Responsible vulnerability disclosure in communities instead of the controlling requirement. Public bug trackers are not always the right venue for undisclosed security issues; project security policies define channels. For this scenario prefer: Distinguish Kubernetes orchestration responsibilities from ecosystem projects that add service mesh, telemetry, delivery and storage capabilities. Workload context: An architect equates container runtime, Kubernetes orchestrator and CNCF foundation governance as the same type of technology.

D:

Evaluate CNCF sandbox, incubating and graduated projects in context of maintenance, community adoption and technical fit. This action addresses CNCF project maturity and adoption decisions instead of the controlling requirement. CNCF maturity levels indicate aspects of governance and adoption, not a guarantee of security or perfect product fit. For this scenario prefer: Distinguish Kubernetes orchestration responsibilities from ecosystem projects that add service mesh, telemetry, delivery and storage capabilities. Workload context: An architect equates container runtime, Kubernetes orchestrator and CNCF foundation governance as the same type of technology.

Question 1132

A Pod requires disktype=ssd but the infrastructure uses storage-tier=ssd labels on all workers. 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. Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway.
  3. Inspect ConfigMap/Secret references, RBAC, API audit records, encryption-at-rest settings and mount or environment behavior.
  4. Inspect local-versus-server manifest diff, field ownership, admission rejection and resulting resource generation.

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 Pod requires disktype=ssd but the infrastructure uses storage-tier=ssd labels on all workers.

Incorrect Answers

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: Check Pod nodeSelector keys and values against node labels and scheduling events. Workload context: A Pod requires disktype=ssd but the infrastructure uses storage-tier=ssd labels on all workers.

C:

Inspect ConfigMap/Secret references, RBAC, API audit records, encryption-at-rest settings and mount or environment behavior. These observations are more relevant to ConfigMap and Secret boundaries, not this case. The distinguishing check is: Check Pod nodeSelector keys and values against node labels and scheduling events. Workload context: A Pod requires disktype=ssd but the infrastructure uses storage-tier=ssd labels on all workers.

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: Check Pod nodeSelector keys and values against node labels and scheduling events. Workload context: A Pod requires disktype=ssd but the infrastructure uses storage-tier=ssd labels on all workers.

Question 1133

A validating admission rule rejects an image from an untrusted registry while the node would otherwise be able to pull it. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Distinguish authenticating a Kubernetes API caller from authorizing verbs and validating or mutating admission behavior.
  2. External HTTP clients reach the correct application by hostname and route rules while unrelated paths stay rejected.
  3. Inspect Secret read permissions, encryption configuration, encoded manifest values and audit trails.
  4. Require approved registry artifacts and verifiable signatures or digests before admitting production workloads.
  5. Review image references, signing identities, attestations, admission decisions and deployed imageIDs.

Explanation

Correct Answers

D:

Require approved registry artifacts and verifiable signatures or digests before admitting production workloads. This response implements the controlling Kubernetes or cloud native principle. An image scanner alone does not prove publisher identity; signed provenance and admission enforcement address different guarantees. Check its effect by: Review image references, signing identities, attestations, admission decisions and deployed imageIDs. This is the implementation part of the required paired answer. Workload context: A validating admission rule rejects an image from an untrusted registry while the node would otherwise be able to pull it.

E:

Review image references, signing identities, attestations, admission decisions and deployed imageIDs. This is the most discriminating evidence for the described failure or requirement. An image scanner alone does not prove publisher identity; signed provenance and admission enforcement address different guarantees. The corresponding implementation is: Require approved registry artifacts and verifiable signatures or digests before admitting production workloads. This is the diagnostic evidence part of the paired answer. Workload context: A validating admission rule rejects an image from an untrusted registry while the node would otherwise be able to pull it.

Incorrect Answers

A:

Distinguish authenticating a Kubernetes API caller from authorizing verbs and validating or mutating admission behavior. This step belongs to Authentication authorization and admission order rather than the complementary implementation and evidence pair. The intended approach is: Require approved registry artifacts and verifiable signatures or digests before admitting production workloads. Validate with: Review image references, signing identities, attestations, admission decisions and deployed imageIDs. Workload context: A validating admission rule rejects an image from an untrusted registry while the node would otherwise be able to pull it.

B:

External HTTP clients reach the correct application by hostname and route rules while unrelated paths stay rejected. This step belongs to Ingress and Gateway API routing rather than the complementary implementation and evidence pair. The intended approach is: Require approved registry artifacts and verifiable signatures or digests before admitting production workloads. Validate with: Review image references, signing identities, attestations, admission decisions and deployed imageIDs. Workload context: A validating admission rule rejects an image from an untrusted registry while the node would otherwise be able to pull it.

C:

Inspect Secret read permissions, encryption configuration, encoded manifest values and audit trails. This step belongs to Secret base64 encoding versus encryption rather than the complementary implementation and evidence pair. The intended approach is: Require approved registry artifacts and verifiable signatures or digests before admitting production workloads. Validate with: Review image references, signing identities, attestations, admission decisions and deployed imageIDs. Workload context: A validating admission rule rejects an image from an untrusted registry while the node would otherwise be able to pull it.

Question 1134

A team deletes a Service after seeing a timeout without inspecting endpoints, selector or targetPort details. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Use the scheduler to select feasible nodes and the cluster autoscaler to adjust node capacity when unschedulable Pods can fit a supported node group.
  2. Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily.
  3. Use kubectl get, describe and logs as complementary views of object state, events and container output before changing resources.
  4. Use a DaemonSet to run a supported node agent across eligible nodes, respecting taints and selectors.

Explanation

Correct Answer

C:

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 team deletes a Service after seeing a timeout without inspecting endpoints, selector or targetPort details.

Incorrect Answers

A:

Use the scheduler to select feasible nodes and the cluster autoscaler to adjust node capacity when unschedulable Pods can fit a supported node group. This action addresses Scheduler versus autoscaler responsibility instead of the controlling requirement. The autoscaler provisions nodes; it does not assign Pod nodeName or fix impossible affinity or quota constraints by itself. 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 team deletes a Service after seeing a timeout without inspecting endpoints, selector or targetPort details.

B:

Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily. This action addresses Kubernetes upgrades and version skew instead of the controlling requirement. API compatibility and supported component skew determine upgrade sequencing; not every Kubernetes version jump is supported. 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 team deletes a Service after seeing a timeout without inspecting endpoints, selector or targetPort details.

D:

Use a DaemonSet to run a supported node agent across eligible nodes, respecting taints and selectors. This action addresses DaemonSet node-local workloads instead of the controlling requirement. A DaemonSet creates node-level replicas automatically rather than a fixed overall replica count like a Deployment. 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 team deletes a Service after seeing a timeout without inspecting endpoints, selector or targetPort details.

Question 1135

A Service routes to no endpoints after a release because app labels change but its selector retains the old key. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. A supported resource can be applied predictably and unknown fields or removed API versions are identified before rollout.
  2. All intended replicas run the approved digest and upgrades trace back to a reviewed artifact.
  3. Controllers and Services select exactly the intended Pods while audit annotations retain descriptive notes.
  4. Feasible Pods are scheduled after resource or policy conflicts are resolved without overcommitting critical nodes.

Explanation

Correct Answer

C:

Controllers and Services select exactly the intended Pods while audit annotations retain descriptive notes. This is an observable service outcome, not just evidence that a configuration file was saved. Labels support equality and set-based selectors; annotations do not become Service selectors automatically. Workload context: A Service routes to no endpoints after a release because app labels change but its selector retains the old key.

Incorrect Answers

A:

A supported resource can be applied predictably and unknown fields or removed API versions are identified before rollout. That result validates Declarative resource manifests and API versions rather than the requirement here. Verify instead: Controllers and Services select exactly the intended Pods while audit annotations retain descriptive notes. Workload context: A Service routes to no endpoints after a release because app labels change but its selector retains the old key.

B:

All intended replicas run the approved digest and upgrades trace back to a reviewed artifact. That result validates Immutable container images and digests rather than the requirement here. Verify instead: Controllers and Services select exactly the intended Pods while audit annotations retain descriptive notes. Workload context: A Service routes to no endpoints after a release because app labels change but its selector retains the old key.

D:

Feasible Pods are scheduled after resource or policy conflicts are resolved without overcommitting critical nodes. That result validates Pending Pods and resource-fit checks rather than the requirement here. Verify instead: Controllers and Services select exactly the intended Pods while audit annotations retain descriptive notes. Workload context: A Service routes to no endpoints after a release because app labels change but its selector retains the old key.

Question 1136

A developer copies a private signing key into an early build stage and deletes it in the last line of the same image. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. The helper supports the main app and its lifecycle is correctly coordinated during start and shutdown.
  2. Workloads read needed configuration while unauthorized users cannot retrieve credential material through the API.
  3. Only reviewed images with accepted risk enter production and later findings can be traced to deployed digests.
  4. Deployments use lean images without exposed build-time credentials or unnecessary packages.

Explanation

Correct Answer

D:

Deployments use lean images without exposed build-time credentials or unnecessary packages. This is an observable service outcome, not just evidence that a configuration file was saved. Deleting a file in a later image layer does not erase secrets committed into an earlier layer. Workload context: A developer copies a private signing key into an early build stage and deletes it in the last line of the same image.

Incorrect Answers

A:

The helper supports the main app and its lifecycle is correctly coordinated during start and shutdown. That result validates Sidecar containers and shared Pod lifecycle rather than the requirement here. Verify instead: Deployments use lean images without exposed build-time credentials or unnecessary packages. Workload context: A developer copies a private signing key into an early build stage and deletes it in the last line of the same image.

B:

Workloads read needed configuration while unauthorized users cannot retrieve credential material through the API. That result validates ConfigMap and Secret boundaries rather than the requirement here. Verify instead: Deployments use lean images without exposed build-time credentials or unnecessary packages. Workload context: A developer copies a private signing key into an early build stage and deletes it in the last line of the same image.

C:

Only reviewed images with accepted risk enter production and later findings can be traced to deployed digests. That result validates Image scanning and software bills of materials rather than the requirement here. Verify instead: Deployments use lean images without exposed build-time credentials or unnecessary packages. Workload context: A developer copies a private signing key into an early build stage and deletes it in the last line of the same image.

Question 1137

A rollout stalls with old and new ReplicaSets and developers delete the Deployment instead of checking readiness and progress. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Kubelet can start Pod sandboxes and containers through the configured CRI without incompatible shim failures.
  2. Compare Deployment spec, ReplicaSet ownership, rollout history and updated/available replica conditions.
  3. Assign stable labels for matching workload membership, and use annotations for nonselecting descriptive metadata.
  4. Review kubelet service logs, node conditions, CRI connectivity and Pod events for assigned nodes.
  5. Use a Deployment to manage stateless replicas, controlled updates and ReplicaSets rather than hand-editing Pod instances.

Explanation

Correct Answers

B:

Compare Deployment spec, ReplicaSet ownership, rollout history and updated/available replica conditions. This is the most discriminating evidence for the described failure or requirement. A Deployment manages ReplicaSets and rolling changes; direct edits to controlled Pods are transient. The corresponding implementation is: Use a Deployment to manage stateless replicas, controlled updates and ReplicaSets rather than hand-editing Pod instances. This is the diagnostic evidence part of the paired answer. Workload context: A rollout stalls with old and new ReplicaSets and developers delete the Deployment instead of checking readiness and progress.

E:

Use a Deployment to manage stateless replicas, controlled updates and ReplicaSets rather than hand-editing Pod instances. This response implements the controlling Kubernetes or cloud native principle. A Deployment manages ReplicaSets and rolling changes; direct edits to controlled Pods are transient. Check its effect by: Compare Deployment spec, ReplicaSet ownership, rollout history and updated/available replica conditions. This is the implementation part of the required paired answer. Workload context: A rollout stalls with old and new ReplicaSets and developers delete the Deployment instead of checking readiness and progress.

Incorrect Answers

A:

Kubelet can start Pod sandboxes and containers through the configured CRI without incompatible shim failures. This step belongs to Container runtime and CRI rather than the complementary implementation and evidence pair. The intended approach is: Use a Deployment to manage stateless replicas, controlled updates and ReplicaSets rather than hand-editing Pod instances. Validate with: Compare Deployment spec, ReplicaSet ownership, rollout history and updated/available replica conditions. Workload context: A rollout stalls with old and new ReplicaSets and developers delete the Deployment instead of checking readiness and progress.

C:

Assign stable labels for matching workload membership, and use annotations for nonselecting descriptive metadata. This step belongs to Labels selectors and annotations rather than the complementary implementation and evidence pair. The intended approach is: Use a Deployment to manage stateless replicas, controlled updates and ReplicaSets rather than hand-editing Pod instances. Validate with: Compare Deployment spec, ReplicaSet ownership, rollout history and updated/available replica conditions. Workload context: A rollout stalls with old and new ReplicaSets and developers delete the Deployment instead of checking readiness and progress.

D:

Review kubelet service logs, node conditions, CRI connectivity and Pod events for assigned nodes. This step belongs to Kubelet node agent responsibilities rather than the complementary implementation and evidence pair. The intended approach is: Use a Deployment to manage stateless replicas, controlled updates and ReplicaSets rather than hand-editing Pod instances. Validate with: Compare Deployment spec, ReplicaSet ownership, rollout history and updated/available replica conditions. Workload context: A rollout stalls with old and new ReplicaSets and developers delete the Deployment instead of checking readiness and progress.

Question 1138

A team sets a CPU request in Kubernetes and assumes it creates a new Linux network namespace for each process. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Compare imagePullPolicy, local image cache, registry digest, pull events and Pod imageID.
  2. Inspect process namespace, container cgroup limits, OOM events and host resource metrics.
  3. Inspect quota hard/used counters, LimitRange defaults and API admission rejection messages.
  4. Inspect Pod ephemeralContainers entries, RBAC privileges, target process namespace and active diagnostic sessions.

Explanation

Correct Answer

B:

Inspect process namespace, container cgroup limits, OOM events and host resource metrics. This is the most discriminating evidence for the described failure or requirement. Namespaces and cgroups provide different Linux primitives; neither independently creates Kubernetes scheduling. The corresponding implementation is: Explain how namespaces isolate process/network views and cgroups control CPU and memory resource accounting and enforcement. Workload context: A team sets a CPU request in Kubernetes and assumes it creates a new Linux network namespace for each process.

Incorrect Answers

A:

Compare imagePullPolicy, local image cache, registry digest, pull events and Pod imageID. These observations are more relevant to Image pull policy and cached images, not this case. The distinguishing check is: Inspect process namespace, container cgroup limits, OOM events and host resource metrics. Workload context: A team sets a CPU request in Kubernetes and assumes it creates a new Linux network namespace for each process.

C:

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: Inspect process namespace, container cgroup limits, OOM events and host resource metrics. Workload context: A team sets a CPU request in Kubernetes and assumes it creates a new Linux network namespace for each process.

D:

Inspect Pod ephemeralContainers entries, RBAC privileges, target process namespace and active diagnostic sessions. These observations are more relevant to Ephemeral debugging containers, not this case. The distinguishing check is: Inspect process namespace, container cgroup limits, OOM events and host resource metrics. Workload context: A team sets a CPU request in Kubernetes and assumes it creates a new Linux network namespace for each process.

Question 1139

A cluster grants all developers list permission on Secrets, allowing them to read every application's encoded credentials. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Use a Service type LoadBalancer with a supported cloud or in-cluster load-balancer controller to provide an approved external endpoint.
  2. Require approved registry artifacts and verifiable signatures or digests before admitting production workloads.
  3. Configure Pod Security Admission policy levels for namespaces to restrict unsafe Pod settings while documenting exceptions.
  4. Apply RBAC and encryption-at-rest controls to Kubernetes Secrets and avoid exposing decoded values in logs or public manifests.

Explanation

Correct Answer

D:

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: A cluster grants all developers list permission on Secrets, allowing them to read every application's encoded credentials.

Incorrect Answers

A:

Use a Service type LoadBalancer with a supported cloud or in-cluster load-balancer controller to provide an approved external endpoint. This action addresses LoadBalancer Service provisioning instead of the controlling requirement. A LoadBalancer Service depends on an implementation or provider controller; creating it does not guarantee an external address. 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: A cluster grants all developers list permission on Secrets, allowing them to read every application's encoded credentials.

B:

Require approved registry artifacts and verifiable signatures or digests before admitting production workloads. This action addresses Image provenance and admission policies instead of the controlling requirement. An image scanner alone does not prove publisher identity; signed provenance and admission enforcement address different guarantees. 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: A cluster grants all developers list permission on Secrets, allowing them to read every application's encoded credentials.

C:

Configure Pod Security Admission policy levels for namespaces to restrict unsafe Pod settings while documenting exceptions. This action addresses Pod Security Admission and namespaces instead of the controlling requirement. Pod Security Admission evaluates security standards at admission; it does not continuously sandbox existing containers after admission. 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: A cluster grants all developers list permission on Secrets, allowing them to read every application's encoded credentials.

Question 1140

A multi-tenant hosting provider runs untrusted code and assumes a container namespace is equivalent to a separate hypervisor VM. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Choose containers for isolated application processes sharing a host kernel and use VMs when a stronger separate-kernel boundary is needed.
  2. Compare host kernel sharing, namespace isolation, hypervisor boundaries and workload trust requirements.
  3. Check Pod nodeSelector keys and values against node labels and scheduling events.
  4. Evaluate image SBOMs, signed provenance and vulnerability reports before production promotion, separating detected packages from reachable risk.
  5. Control-plane and node upgrades complete within supported skew with workload compatibility checks passing.

Explanation

Correct Answers

A:

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. This is the implementation part of the required paired answer. Workload context: A multi-tenant hosting provider runs untrusted code and assumes a container namespace is equivalent to a separate hypervisor VM.

B:

Compare host kernel sharing, namespace isolation, hypervisor boundaries and workload trust requirements. This is the most discriminating evidence for the described failure or requirement. Ordinary containers share the host kernel, whereas a VM normally runs its own guest kernel. The corresponding implementation is: Choose containers for isolated application processes sharing a host kernel and use VMs when a stronger separate-kernel boundary is needed. This is the diagnostic evidence part of the paired answer. Workload context: A multi-tenant hosting provider runs untrusted code and assumes a container namespace is equivalent to a separate hypervisor VM.

Incorrect Answers

C:

Check Pod nodeSelector keys and values against node labels and scheduling events. This step belongs to nodeSelector equality placement rather than the complementary implementation and evidence pair. The intended approach is: Choose containers for isolated application processes sharing a host kernel and use VMs when a stronger separate-kernel boundary is needed. Validate with: 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.

D:

Evaluate image SBOMs, signed provenance and vulnerability reports before production promotion, separating detected packages from reachable risk. This step belongs to Image scanning and software bills of materials rather than the complementary implementation and evidence pair. The intended approach is: Choose containers for isolated application processes sharing a host kernel and use VMs when a stronger separate-kernel boundary is needed. Validate with: 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.

E:

Control-plane and node upgrades complete within supported skew with workload compatibility checks passing. This step belongs to Kubernetes upgrades and version skew rather than the complementary implementation and evidence pair. The intended approach is: Choose containers for isolated application processes sharing a host kernel and use VMs when a stronger separate-kernel boundary is needed. Validate with: 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.

Kubernetes and Cloud Native Associate (KCNA) Practice Tests