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 113

Question 1120

A cluster upgrade removes an API version used by an old application chart and production apply fails. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Check server and kubelet versions, deprecated APIs, CNI/CSI compatibility, maintenance order and rollback limits.
  2. Inspect ConfigMap/Secret references, RBAC, API audit records, encryption-at-rest settings and mount or environment behavior.
  3. Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily.
  4. Teams see only permitted namespaced resources and network access is constrained by explicit policies.
  5. Use kubectl get, describe and logs as complementary views of object state, events and container output before changing resources.

Explanation

Correct Answers

A:

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. This is the diagnostic evidence part of the paired answer. Workload context: A cluster upgrade removes an API version used by an old application chart and production apply fails.

C:

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. This is the implementation part of the required paired answer. Workload context: A cluster upgrade removes an API version used by an old application chart and production apply fails.

Incorrect Answers

B:

Inspect ConfigMap/Secret references, RBAC, API audit records, encryption-at-rest settings and mount or environment behavior. This step belongs to ConfigMap and Secret boundaries rather than the complementary implementation and evidence pair. The intended approach is: Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily. Validate with: 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:

Teams see only permitted namespaced resources and network access is constrained by explicit policies. This step belongs to Namespace scope and limits rather than the complementary implementation and evidence pair. The intended approach is: Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily. Validate with: 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.

E:

Use kubectl get, describe and logs as complementary views of object state, events and container output before changing resources. This step belongs to kubectl inspect and describe diagnostics rather than the complementary implementation and evidence pair. The intended approach is: Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily. Validate with: 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 1121

A service dashboard shows high response latency but no trace context connects it to the slow upstream dependency. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. Technical proposals reach appropriate reviewers with documented rationale and open community feedback.
  2. Operators find the latency or failure cause using combined telemetry without mistaking metrics for individual request evidence.
  3. A single downstream failure degrades gracefully without causing an uncontrolled cascade across independent services.
  4. Metrics are collected from intended targets at expected intervals with bounded label series and useful alerts.

Explanation

Correct Answer

B:

Operators find the latency or failure cause using combined telemetry without mistaking metrics for individual request evidence. This is an observable service outcome, not just evidence that a configuration file was saved. Logs, metrics and traces answer different questions; observability requires instrumenting and interpreting their context. Workload context: A service dashboard shows high response latency but no trace context connects it to the slow upstream dependency.

Incorrect Answers

A:

Technical proposals reach appropriate reviewers with documented rationale and open community feedback. That result validates Kubernetes SIG and community governance rather than the requirement here. Verify instead: Operators find the latency or failure cause using combined telemetry without mistaking metrics for individual request evidence. Workload context: A service dashboard shows high response latency but no trace context connects it to the slow upstream dependency.

C:

A single downstream failure degrades gracefully without causing an uncontrolled cascade across independent services. That result validates Microservices contracts and failure isolation rather than the requirement here. Verify instead: Operators find the latency or failure cause using combined telemetry without mistaking metrics for individual request evidence. Workload context: A service dashboard shows high response latency but no trace context connects it to the slow upstream dependency.

D:

Metrics are collected from intended targets at expected intervals with bounded label series and useful alerts. That result validates Prometheus pull scraping and metrics endpoints rather than the requirement here. Verify instead: Operators find the latency or failure cause using combined telemetry without mistaking metrics for individual request evidence. Workload context: A service dashboard shows high response latency but no trace context connects it to the slow upstream dependency.

Question 1122

A runtime upgrade changes socket permissions so kubelet cannot communicate with its configured CRI endpoint. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. Pods schedule based on requests and stay within resource policy without avoidable throttling or memory termination.
  2. Kubelet can start Pod sandboxes and containers through the configured CRI without incompatible shim failures.
  3. All intended replicas run the approved digest and upgrades trace back to a reviewed artifact.
  4. Eligible nodes retrieve authorized images while unrelated namespaces and identities cannot pull private artifacts.

Explanation

Correct Answer

B:

Kubelet can start Pod sandboxes and containers through the configured CRI without incompatible shim failures. This is an observable service outcome, not just evidence that a configuration file was saved. A runtime executes containers; the CRI is its API integration with kubelet rather than the Kubernetes API server. Workload context: A runtime upgrade changes socket permissions so kubelet cannot communicate with its configured CRI endpoint.

Incorrect Answers

A:

Pods schedule based on requests and stay within resource policy without avoidable throttling or memory termination. That result validates CPU requests and memory limits rather than the requirement here. Verify instead: Kubelet can start Pod sandboxes and containers through the configured CRI without incompatible shim failures. Workload context: A runtime upgrade changes socket permissions so kubelet cannot communicate with its configured CRI endpoint.

C:

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: Kubelet can start Pod sandboxes and containers through the configured CRI without incompatible shim failures. Workload context: A runtime upgrade changes socket permissions so kubelet cannot communicate with its configured CRI endpoint.

D:

Eligible nodes retrieve authorized images while unrelated namespaces and identities cannot pull private artifacts. That result validates OCI registries and image distribution rather than the requirement here. Verify instead: Kubelet can start Pod sandboxes and containers through the configured CRI without incompatible shim failures. Workload context: A runtime upgrade changes socket permissions so kubelet cannot communicate with its configured CRI endpoint.

Question 1123

A drain is blocked when a PDB requires two healthy replicas but only one is currently Ready. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Align volume topology with Pod scheduling, using StorageClass binding behavior appropriate for zonal storage.
  2. Choose requiredDuringSchedulingIgnoredDuringExecution for a hard node preference and preferred rules for soft placement choices.
  3. Configure PodDisruptionBudgets for voluntary disruptions while distinguishing eviction safety from normal scheduling decisions.
  4. Use an authorized ephemeral container for live Pod diagnostics when the original image lacks troubleshooting tools.

Explanation

Correct Answer

C:

Configure PodDisruptionBudgets for voluntary disruptions while distinguishing eviction safety from normal scheduling decisions. This response implements the controlling Kubernetes or cloud native principle. A PodDisruptionBudget governs voluntary eviction; it does not guarantee protection against hardware failure or create new replicas. Check its effect by: Inspect allowedDisruptions, healthy replicas, minAvailable/maxUnavailable and drain eviction results. Workload context: A drain is blocked when a PDB requires two healthy replicas but only one is currently Ready.

Incorrect Answers

A:

Align volume topology with Pod scheduling, using StorageClass binding behavior appropriate for zonal storage. This action addresses PersistentVolume zone binding and placement instead of the controlling requirement. Immediate volume binding can constrain later Pod placement, while WaitForFirstConsumer accounts for scheduling topology. For this scenario prefer: Configure PodDisruptionBudgets for voluntary disruptions while distinguishing eviction safety from normal scheduling decisions. Workload context: A drain is blocked when a PDB requires two healthy replicas but only one is currently Ready.

B:

Choose requiredDuringSchedulingIgnoredDuringExecution for a hard node preference and preferred rules for soft placement choices. This action addresses Node affinity required vs preferred instead of the controlling requirement. Preferred affinity can be ignored to schedule a Pod; required affinity must be satisfied at scheduling time. For this scenario prefer: Configure PodDisruptionBudgets for voluntary disruptions while distinguishing eviction safety from normal scheduling decisions. Workload context: A drain is blocked when a PDB requires two healthy replicas but only one is currently Ready.

D:

Use an authorized ephemeral container for live Pod diagnostics when the original image lacks troubleshooting tools. This action addresses Ephemeral debugging containers instead of the controlling requirement. Ephemeral containers are intended for debugging and do not behave like ordinary replicated application containers. For this scenario prefer: Configure PodDisruptionBudgets for voluntary disruptions while distinguishing eviction safety from normal scheduling decisions. Workload context: A drain is blocked when a PDB requires two healthy replicas but only one is currently Ready.

Question 1124

A developer creates an Ingress YAML but no ingress controller is installed and the application remains inaccessible. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. External HTTP clients reach the correct application by hostname and route rules while unrelated paths stay rejected.
  2. Healthy but initializing Pods avoid traffic and genuinely stuck workloads recover without unnecessary restart loops.
  3. The precise scheduling blocker is removed and the workload binds to an eligible node.
  4. Clients resolve the intended in-cluster Service name and external DNS forwarding operates as designed.

Explanation

Correct Answer

A:

External HTTP clients reach the correct application by hostname and route rules while unrelated paths stay rejected. This is an observable service outcome, not just evidence that a configuration file was saved. Ingress and Gateway API resources describe routing intent; a controller implements data-plane forwarding. Workload context: A developer creates an Ingress YAML but no ingress controller is installed and the application remains inaccessible.

Incorrect Answers

B:

Healthy but initializing Pods avoid traffic and genuinely stuck workloads recover without unnecessary restart loops. That result validates Readiness liveness and startup probe behavior rather than the requirement here. Verify instead: External HTTP clients reach the correct application by hostname and route rules while unrelated paths stay rejected. Workload context: A developer creates an Ingress YAML but no ingress controller is installed and the application remains inaccessible.

C:

The precise scheduling blocker is removed and the workload binds to an eligible node. That result validates Pending pod FailedScheduling events rather than the requirement here. Verify instead: External HTTP clients reach the correct application by hostname and route rules while unrelated paths stay rejected. Workload context: A developer creates an Ingress YAML but no ingress controller is installed and the application remains inaccessible.

D:

Clients resolve the intended in-cluster Service name and external DNS forwarding operates as designed. That result validates Cluster DNS and service discovery rather than the requirement here. Verify instead: External HTTP clients reach the correct application by hostname and route rules while unrelated paths stay rejected. Workload context: A developer creates an Ingress YAML but no ingress controller is installed and the application remains inaccessible.

Question 1125

A custom operator bypasses scheduler checks by assigning every incoming Pod to a single worker irrespective of memory pressure. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Allow Kubernetes controllers to reconcile declared desired object state instead of manually replacing each Pod after failure.
  2. Cordon a node before planned maintenance, then use drain with workload safety checks and restore scheduling after validation.
  3. Declare Kubernetes resource kind, apiVersion, metadata and spec using a supported schema and reconcile changes through the API.
  4. Use kube-scheduler to bind eligible unscheduled Pods to suitable nodes based on resources and scheduling constraints.

Explanation

Correct Answer

D:

Use kube-scheduler to bind eligible unscheduled Pods to suitable nodes based on resources and scheduling constraints. This response implements the controlling Kubernetes or cloud native principle. kube-scheduler assigns Pods to nodes; kubelet executes Pods after assignment and the controller manager reconciles controllers. Check its effect by: Inspect Pod scheduling events, available node capacity, taints, selectors and assigned nodeName. Workload context: A custom operator bypasses scheduler checks by assigning every incoming Pod to a single worker irrespective of memory pressure.

Incorrect Answers

A:

Allow Kubernetes controllers to reconcile declared desired object state instead of manually replacing each Pod after failure. This action addresses Controller manager reconciliation loops instead of the controlling requirement. Controllers continuously reconcile desired state; an isolated manually created Pod lacks a Deployment's replica management. For this scenario prefer: Use kube-scheduler to bind eligible unscheduled Pods to suitable nodes based on resources and scheduling constraints. Workload context: A custom operator bypasses scheduler checks by assigning every incoming Pod to a single worker irrespective of memory pressure.

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: Use kube-scheduler to bind eligible unscheduled Pods to suitable nodes based on resources and scheduling constraints. Workload context: A custom operator bypasses scheduler checks by assigning every incoming Pod to a single worker irrespective of memory pressure.

C:

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: Use kube-scheduler to bind eligible unscheduled Pods to suitable nodes based on resources and scheduling constraints. Workload context: A custom operator bypasses scheduler checks by assigning every incoming Pod to a single worker irrespective of memory pressure.

Question 1126

A critical DNS Pod remains Pending and the team gives it higher priority without investigating incompatible node selectors. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Use a compatible container runtime via the Kubernetes Container Runtime Interface to create and manage containers on nodes.
  2. Assign PriorityClasses carefully and understand when the scheduler may preempt lower-priority Pods to place urgent workloads.
  3. Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily.
  4. Set topologySpreadConstraints to balance replicated Pods across zones or nodes with an explicit maxSkew and unsatisfiable action.

Explanation

Correct Answer

B:

Assign PriorityClasses carefully and understand when the scheduler may preempt lower-priority Pods to place urgent workloads. This response implements the controlling Kubernetes or cloud native principle. Priority influences scheduling and potential preemption but does not bypass hard affinity or lack of suitable hardware. Check its effect by: Check Pod priority, preemptionPolicy, scheduling events, available alternatives and victim selection. Workload context: A critical DNS Pod remains Pending and the team gives it higher priority without investigating incompatible node selectors.

Incorrect Answers

A:

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: Assign PriorityClasses carefully and understand when the scheduler may preempt lower-priority Pods to place urgent workloads. Workload context: A critical DNS Pod remains Pending and the team gives it higher priority without investigating incompatible node selectors.

C:

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: Assign PriorityClasses carefully and understand when the scheduler may preempt lower-priority Pods to place urgent workloads. Workload context: A critical DNS Pod remains Pending and the team gives it higher priority without investigating incompatible node selectors.

D:

Set topologySpreadConstraints to balance replicated Pods across zones or nodes with an explicit maxSkew and unsatisfiable action. This action addresses Topology spread constraints instead of the controlling requirement. Spread constraints balance matching Pods across topology domains; missing topology labels and strict maxSkew can prevent placement. For this scenario prefer: Assign PriorityClasses carefully and understand when the scheduler may preempt lower-priority Pods to place urgent workloads. Workload context: A critical DNS Pod remains Pending and the team gives it higher priority without investigating incompatible node selectors.

Question 1127

A scheduler reports FailedScheduling for topology constraints and developers waste time changing the web-app port. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Inspect host/path rules, route attachment, listener TLS, backend port and controller access logs.
  2. Compare Git revision, application sync status, live resource diff and reconciliation events.
  3. Inspect rendered helm template output, values merge order, chart dependency versions and release status.
  4. Review kubectl describe output, warning reasons, first/last timestamps and relevant controller ownership.

Explanation

Correct Answer

D:

Review kubectl describe output, warning reasons, first/last timestamps and relevant controller ownership. This is the most discriminating evidence for the described failure or requirement. Events describe control-plane and kubelet observations but are not a permanent complete incident log. The corresponding implementation is: Examine object conditions and timestamped Events to understand image, scheduling, mount and admission failures before applying speculative fixes. Workload context: A scheduler reports FailedScheduling for topology constraints and developers waste time changing the web-app port.

Incorrect Answers

A:

Inspect host/path rules, route attachment, listener TLS, backend port and controller access logs. These observations are more relevant to Ingress route and TLS mismatch diagnosis, not this case. The distinguishing check is: Review kubectl describe output, warning reasons, first/last timestamps and relevant controller ownership. Workload context: A scheduler reports FailedScheduling for topology constraints and developers waste time changing the web-app port.

B:

Compare Git revision, application sync status, live resource diff and reconciliation events. These observations are more relevant to GitOps reconciliation and source of truth, not this case. The distinguishing check is: Review kubectl describe output, warning reasons, first/last timestamps and relevant controller ownership. Workload context: A scheduler reports FailedScheduling for topology constraints and developers waste time changing the web-app port.

C:

Inspect rendered helm template output, values merge order, chart dependency versions and release status. These observations are more relevant to Helm charts templates and values, not this case. The distinguishing check is: Review kubectl describe output, warning reasons, first/last timestamps and relevant controller ownership. Workload context: A scheduler reports FailedScheduling for topology constraints and developers waste time changing the web-app port.

Question 1128

A company expects kube-scheduler to provide distributed tracing dashboards without any monitoring instrumentation or backend. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Expose application metrics in supported Prometheus format and configure authorized scrape targets and label cardinality.
  2. Distinguish Kubernetes orchestration responsibilities from ecosystem projects that add service mesh, telemetry, delivery and storage capabilities.
  3. Follow Kubernetes Special Interest Group ownership and enhancement processes when proposing changes to core functionality.
  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: A company expects kube-scheduler to provide distributed tracing dashboards without any monitoring instrumentation or backend.

Incorrect Answers

A:

Expose application metrics in supported Prometheus format and configure authorized scrape targets and label cardinality. This action addresses Prometheus pull scraping and metrics endpoints instead of the controlling requirement. Prometheus primarily scrapes targets on an interval; instrumentation must expose values and high-cardinality labels can overload storage. For this scenario prefer: Distinguish Kubernetes orchestration responsibilities from ecosystem projects that add service mesh, telemetry, delivery and storage capabilities. Workload context: A company expects kube-scheduler to provide distributed tracing dashboards without any monitoring instrumentation or backend.

C:

Follow Kubernetes Special Interest Group ownership and enhancement processes when proposing changes to core functionality. This action addresses Kubernetes SIG and community governance instead of the controlling requirement. Kubernetes development is governed through open community processes rather than a single cloud vendor's private roadmap. For this scenario prefer: Distinguish Kubernetes orchestration responsibilities from ecosystem projects that add service mesh, telemetry, delivery and storage capabilities. Workload context: A company expects kube-scheduler to provide distributed tracing dashboards without any monitoring instrumentation or backend.

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: A company expects kube-scheduler to provide distributed tracing dashboards without any monitoring instrumentation or backend.

Question 1129

A container passes a basic vulnerability scan but lacks a verified supplier signature and deploys an unapproved build. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. Scheduling constraints match verified node attributes without exhausting reserved system resources.
  2. The helper supports the main app and its lifecycle is correctly coordinated during start and shutdown.
  3. Only reviewed images with accepted risk enter production and later findings can be traced to deployed digests.
  4. Control-plane and node upgrades complete within supported skew with workload compatibility checks passing.

Explanation

Correct Answer

C:

Only reviewed images with accepted risk enter production and later findings can be traced to deployed digests. This is an observable service outcome, not just evidence that a configuration file was saved. A scanner's package detection is evidence of inventory, not automatically proof of exploitation or complete image trust. Workload context: A container passes a basic vulnerability scan but lacks a verified supplier signature and deploys an unapproved build.

Incorrect Answers

A:

Scheduling constraints match verified node attributes without exhausting reserved system resources. That result validates Node labels and allocatable inventory rather than the requirement here. Verify instead: Only reviewed images with accepted risk enter production and later findings can be traced to deployed digests. Workload context: A container passes a basic vulnerability scan but lacks a verified supplier signature and deploys an unapproved build.

B:

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: Only reviewed images with accepted risk enter production and later findings can be traced to deployed digests. Workload context: A container passes a basic vulnerability scan but lacks a verified supplier signature and deploys an unapproved build.

D:

Control-plane and node upgrades complete within supported skew with workload compatibility checks passing. That result validates Kubernetes upgrades and version skew rather than the requirement here. Verify instead: Only reviewed images with accepted risk enter production and later findings can be traced to deployed digests. Workload context: A container passes a basic vulnerability scan but lacks a verified supplier signature and deploys an unapproved build.

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.

Kubernetes and Cloud Native Associate (KCNA) Practice Tests