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 116

Question 1150

A cluster upgrade changes workload securityContext defaults and the team ignores admission warning logs during staging. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Inspect securityContext, runAsUser, allowPrivilegeEscalation, capabilities, seccompProfile and startup errors.
  2. Review namespace pod-security labels, admission warnings, violations and workload securityContext.
  3. Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests.
  4. Review container lastState, exit code, restart count, previous logs and application configuration.

Explanation

Correct Answer

B:

Review namespace pod-security labels, admission warnings, violations and workload securityContext. This is the most discriminating evidence for the described failure or requirement. Pod Security Admission evaluates security standards at admission; it does not continuously sandbox existing containers after admission. The corresponding implementation is: Configure Pod Security Admission policy levels for namespaces to restrict unsafe Pod settings while documenting exceptions. Workload context: A cluster upgrade changes workload securityContext defaults and the team ignores admission warning logs during staging.

Incorrect Answers

A:

Inspect securityContext, runAsUser, allowPrivilegeEscalation, capabilities, seccompProfile and startup errors. These observations are more relevant to Linux securityContext and seccomp basics, not this case. The distinguishing check is: Review namespace pod-security labels, admission warnings, violations and workload securityContext. Workload context: A cluster upgrade changes workload securityContext defaults and the team ignores admission warning logs during staging.

C:

Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests. These observations are more relevant to Namespace segmentation with NetworkPolicies, not this case. The distinguishing check is: Review namespace pod-security labels, admission warnings, violations and workload securityContext. Workload context: A cluster upgrade changes workload securityContext defaults and the team ignores admission warning logs during staging.

D:

Review container lastState, exit code, restart count, previous logs and application configuration. These observations are more relevant to CrashLoopBackOff and previous logs, not this case. The distinguishing check is: Review namespace pod-security labels, admission warnings, violations and workload securityContext. Workload context: A cluster upgrade changes workload securityContext defaults and the team ignores admission warning logs during staging.

Question 1151

A business bundles third-party CNCF ecosystem tools into a product and assumes every project has identical legal obligations. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. Metrics are collected from intended targets at expected intervals with bounded label series and useful alerts.
  2. Distributed requests produce correlated spans and approved telemetry reaches its configured backend without leaking secrets.
  3. Technical proposals reach appropriate reviewers with documented rationale and open community feedback.
  4. Contributions and distributions meet stated open-source terms without assuming every repository uses the same license.

Explanation

Correct Answer

D:

Contributions and distributions meet stated open-source terms without assuming every repository uses the same license. This is an observable service outcome, not just evidence that a configuration file was saved. Open source permits work under a specific license; public availability of source code alone does not erase conditions. Workload context: A business bundles third-party CNCF ecosystem tools into a product and assumes every project has identical legal obligations.

Incorrect Answers

A:

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: Contributions and distributions meet stated open-source terms without assuming every repository uses the same license. Workload context: A business bundles third-party CNCF ecosystem tools into a product and assumes every project has identical legal obligations.

B:

Distributed requests produce correlated spans and approved telemetry reaches its configured backend without leaking secrets. That result validates OpenTelemetry instrumentation and exporters rather than the requirement here. Verify instead: Contributions and distributions meet stated open-source terms without assuming every repository uses the same license. Workload context: A business bundles third-party CNCF ecosystem tools into a product and assumes every project has identical legal obligations.

C:

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: Contributions and distributions meet stated open-source terms without assuming every repository uses the same license. Workload context: A business bundles third-party CNCF ecosystem tools into a product and assumes every project has identical legal obligations.

Question 1152

A node offers spare CPU yet a Pending Pod never schedules because it requires an unavailable node label. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Inspect Pod scheduling events, available node capacity, taints, selectors and assigned nodeName.
  2. Inspect Pod ephemeralContainers entries, RBAC privileges, target process namespace and active diagnostic sessions.
  3. Inspect container membership, localhost connectivity, Pod IP, restart policies and inter-container volumes.
  4. Compare imagePullPolicy, local image cache, registry digest, pull events and Pod imageID.

Explanation

Correct Answer

A:

Inspect Pod scheduling events, available node capacity, taints, selectors and assigned nodeName. This is the most discriminating evidence for the described failure or requirement. kube-scheduler assigns Pods to nodes; kubelet executes Pods after assignment and the controller manager reconciles controllers. The corresponding implementation is: Use kube-scheduler to bind eligible unscheduled Pods to suitable nodes based on resources and scheduling constraints. Workload context: A node offers spare CPU yet a Pending Pod never schedules because it requires an unavailable node label.

Incorrect Answers

B:

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 Pod scheduling events, available node capacity, taints, selectors and assigned nodeName. Workload context: A node offers spare CPU yet a Pending Pod never schedules because it requires an unavailable node label.

C:

Inspect container membership, localhost connectivity, Pod IP, restart policies and inter-container volumes. These observations are more relevant to Pod shared network namespace and lifecycle, not this case. The distinguishing check is: Inspect Pod scheduling events, available node capacity, taints, selectors and assigned nodeName. Workload context: A node offers spare CPU yet a Pending Pod never schedules because it requires an unavailable node label.

D:

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 Pod scheduling events, available node capacity, taints, selectors and assigned nodeName. Workload context: A node offers spare CPU yet a Pending Pod never schedules because it requires an unavailable node label.

Question 1153

An engineer trusts mutable image tags from an approved namespace and overlooks an unverified image replacement during promotion. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Require approved registry artifacts and verifiable signatures or digests before admitting production workloads.
  2. Run containers with nonroot identities, minimal capabilities and an appropriate seccomp profile for reduced kernel attack surface.
  3. Inspect restart history and previous-container logs to diagnose repeatedly exiting containers and fix startup or runtime failures.
  4. Distinguish authenticating a Kubernetes API caller from authorizing verbs and validating or mutating admission behavior.

Explanation

Correct Answer

A:

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. Workload context: An engineer trusts mutable image tags from an approved namespace and overlooks an unverified image replacement during promotion.

Incorrect Answers

B:

Run containers with nonroot identities, minimal capabilities and an appropriate seccomp profile for reduced kernel attack surface. This action addresses Linux securityContext and seccomp basics instead of the controlling requirement. Disabling privilege escalation and dropping Linux capabilities reduce risk but do not replace image or API authorization. For this scenario prefer: Require approved registry artifacts and verifiable signatures or digests before admitting production workloads. Workload context: An engineer trusts mutable image tags from an approved namespace and overlooks an unverified image replacement during promotion.

C:

Inspect restart history and previous-container logs to diagnose repeatedly exiting containers and fix startup or runtime failures. This action addresses CrashLoopBackOff and previous logs instead of the controlling requirement. CrashLoopBackOff indicates repeated container exits and restart delays, not a scheduler placement failure. For this scenario prefer: Require approved registry artifacts and verifiable signatures or digests before admitting production workloads. Workload context: An engineer trusts mutable image tags from an approved namespace and overlooks an unverified image replacement during promotion.

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: Require approved registry artifacts and verifiable signatures or digests before admitting production workloads. Workload context: An engineer trusts mutable image tags from an approved namespace and overlooks an unverified image replacement during promotion.

Question 1154

An internal image scanner finds no high CVEs but auditors cannot identify which CI workflow produced the image. 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. Examine trusted builder identity, attestation payload, artifact digest, SBOM and admission verification result.
  3. Compare trace IDs, time synchronized log events, resource saturation metrics and span durations.
  4. Check registry digest, image signatures, deployment Pod imageID and provenance attestations across stages.

Explanation

Correct Answer

B:

Examine trusted builder identity, attestation payload, artifact digest, SBOM and admission verification result. This is the most discriminating evidence for the described failure or requirement. SBOM inventory and signed provenance provide different evidence; neither replaces vulnerability and security-policy review. The corresponding implementation is: Record artifact provenance, dependency inventories and signed attestations so deployment policy can trace a build to authorized source. Workload context: An internal image scanner finds no high CVEs but auditors cannot identify which CI workflow produced the image.

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: Examine trusted builder identity, attestation payload, artifact digest, SBOM and admission verification result. Workload context: An internal image scanner finds no high CVEs but auditors cannot identify which CI workflow produced the image.

C:

Compare trace IDs, time synchronized log events, resource saturation metrics and span durations. These observations are more relevant to Correlating metrics logs and traces, not this case. The distinguishing check is: Examine trusted builder identity, attestation payload, artifact digest, SBOM and admission verification result. Workload context: An internal image scanner finds no high CVEs but auditors cannot identify which CI workflow produced the image.

D:

Check registry digest, image signatures, deployment Pod imageID and provenance attestations across stages. These observations are more relevant to Artifact promotion by digest, not this case. The distinguishing check is: Examine trusted builder identity, attestation payload, artifact digest, SBOM and admission verification result. Workload context: An internal image scanner finds no high CVEs but auditors cannot identify which CI workflow produced the image.

Question 1155

A PVC stays Pending with WaitForFirstConsumer and an operator mislabels this as a storage failure before any consuming Pod is scheduled. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. Administrative commands target the intended cluster and avoid accidental changes to another environment.
  2. Teams see only permitted namespaced resources and network access is constrained by explicit policies.
  3. Pods with persistent volumes schedule to nodes capable of mounting the selected storage without zone conflicts.
  4. Replicas spread or co-locate according to declared constraints with predictable behavior when no feasible topology exists.

Explanation

Correct Answer

C:

Pods with persistent volumes schedule to nodes capable of mounting the selected storage without zone conflicts. This is an observable service outcome, not just evidence that a configuration file was saved. Immediate volume binding can constrain later Pod placement, while WaitForFirstConsumer accounts for scheduling topology. Workload context: A PVC stays Pending with WaitForFirstConsumer and an operator mislabels this as a storage failure before any consuming Pod is scheduled.

Incorrect Answers

A:

Administrative commands target the intended cluster and avoid accidental changes to another environment. That result validates kubectl context and cluster selection rather than the requirement here. Verify instead: Pods with persistent volumes schedule to nodes capable of mounting the selected storage without zone conflicts. Workload context: A PVC stays Pending with WaitForFirstConsumer and an operator mislabels this as a storage failure before any consuming Pod is scheduled.

B:

Teams see only permitted namespaced resources and network access is constrained by explicit policies. That result validates Namespace scope and limits rather than the requirement here. Verify instead: Pods with persistent volumes schedule to nodes capable of mounting the selected storage without zone conflicts. Workload context: A PVC stays Pending with WaitForFirstConsumer and an operator mislabels this as a storage failure before any consuming Pod is scheduled.

D:

Replicas spread or co-locate according to declared constraints with predictable behavior when no feasible topology exists. That result validates Pod affinity anti-affinity rather than the requirement here. Verify instead: Pods with persistent volumes schedule to nodes capable of mounting the selected storage without zone conflicts. Workload context: A PVC stays Pending with WaitForFirstConsumer and an operator mislabels this as a storage failure before any consuming Pod is scheduled.

Question 1156

A developer assumes deploying the OpenTelemetry Collector automatically instruments application business functions without an SDK or agent. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Instrument services with OpenTelemetry APIs or SDKs and route collected signals through configured exporters or collectors.
  2. Design bounded microservice interfaces with timeouts, retries and independently deployable service contracts where modularity is useful.
  3. Define user-relevant service-level indicators and objectives for availability, error rate or latency with practical alert thresholds.
  4. Distinguish Kubernetes orchestration responsibilities from ecosystem projects that add service mesh, telemetry, delivery and storage capabilities.

Explanation

Correct Answer

A:

Instrument services with OpenTelemetry APIs or SDKs and route collected signals through configured exporters or collectors. This response implements the controlling Kubernetes or cloud native principle. OpenTelemetry standardizes collection and export; a collector is not itself the storage/query backend for all signals. Check its effect by: Inspect tracer/provider setup, context propagation, collector pipeline, resource attributes and exporter endpoint health. Workload context: A developer assumes deploying the OpenTelemetry Collector automatically instruments application business functions without an SDK or agent.

Incorrect Answers

B:

Design bounded microservice interfaces with timeouts, retries and independently deployable service contracts where modularity is useful. This action addresses Microservices contracts and failure isolation instead of the controlling requirement. Microservices improve modularity but add network and operational overhead; splitting code does not automatically yield reliability. For this scenario prefer: Instrument services with OpenTelemetry APIs or SDKs and route collected signals through configured exporters or collectors. Workload context: A developer assumes deploying the OpenTelemetry Collector automatically instruments application business functions without an SDK or agent.

C:

Define user-relevant service-level indicators and objectives for availability, error rate or latency with practical alert thresholds. This action addresses SLIs SLOs and golden signals instead of the controlling requirement. An SLI is a measurement, an SLO is a target and an SLA is a contractual commitment; they should not be conflated. For this scenario prefer: Instrument services with OpenTelemetry APIs or SDKs and route collected signals through configured exporters or collectors. Workload context: A developer assumes deploying the OpenTelemetry Collector automatically instruments application business functions without an SDK or agent.

D:

Distinguish Kubernetes orchestration responsibilities from ecosystem projects that add service mesh, telemetry, delivery and storage capabilities. This action addresses CNCF ecosystem and Kubernetes roles instead of the controlling requirement. The CNCF ecosystem contains complementary projects; Kubernetes itself is not a complete application observability or delivery platform. For this scenario prefer: Instrument services with OpenTelemetry APIs or SDKs and route collected signals through configured exporters or collectors. Workload context: A developer assumes deploying the OpenTelemetry Collector automatically instruments application business functions without an SDK or agent.

Question 1157

Two microservices emit traces but headers are not propagated, so each service appears as an unrelated root request. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Follow Kubernetes Special Interest Group ownership and enhancement processes when proposing changes to core functionality.
  2. Instrument services with OpenTelemetry APIs or SDKs and route collected signals through configured exporters or collectors.
  3. Choose metrics for measurements over time, logs for detailed events and traces for end-to-end request execution analysis.
  4. File reproducible issues with versions, expected/actual behavior, logs and minimal sanitized reproduction steps to support project maintainers.

Explanation

Correct Answer

B:

Instrument services with OpenTelemetry APIs or SDKs and route collected signals through configured exporters or collectors. This response implements the controlling Kubernetes or cloud native principle. OpenTelemetry standardizes collection and export; a collector is not itself the storage/query backend for all signals. Check its effect by: Inspect tracer/provider setup, context propagation, collector pipeline, resource attributes and exporter endpoint health. Workload context: Two microservices emit traces but headers are not propagated, so each service appears as an unrelated root request.

Incorrect Answers

A:

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: Instrument services with OpenTelemetry APIs or SDKs and route collected signals through configured exporters or collectors. Workload context: Two microservices emit traces but headers are not propagated, so each service appears as an unrelated root request.

C:

Choose metrics for measurements over time, logs for detailed events and traces for end-to-end request execution analysis. This action addresses Metrics logs and traces distinctions instead of the controlling requirement. Logs, metrics and traces answer different questions; observability requires instrumenting and interpreting their context. For this scenario prefer: Instrument services with OpenTelemetry APIs or SDKs and route collected signals through configured exporters or collectors. Workload context: Two microservices emit traces but headers are not propagated, so each service appears as an unrelated root request.

D:

File reproducible issues with versions, expected/actual behavior, logs and minimal sanitized reproduction steps to support project maintainers. This action addresses Upstream issue reporting and review collaboration instead of the controlling requirement. High-quality issue reports help distributed open-source teams collaborate, and a public issue is not a safe place to paste secrets. For this scenario prefer: Instrument services with OpenTelemetry APIs or SDKs and route collected signals through configured exporters or collectors. Workload context: Two microservices emit traces but headers are not propagated, so each service appears as an unrelated root request.

Question 1158

A Pod remains Pending and the operator reads only logs even though no container ever started. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Use kubectl get, describe and logs as complementary views of object state, events and container output before changing resources.
  2. Pods assigned to a healthy node start and report status with failed containers surfaced for diagnosis.
  3. Inspect affinity terms, matchExpressions, node labels, scheduler feasibility and fallback placement.
  4. Inspect resource status, conditions, events, generation, owner references and logs from the relevant container.
  5. Store non-sensitive configuration in ConfigMaps and sensitive values in Secrets with access control and encryption controls.

Explanation

Correct Answers

A:

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. This is the implementation part of the required paired answer. Workload context: A Pod remains Pending and the operator reads only logs even though no container ever started.

D:

Inspect resource status, conditions, events, generation, owner references and logs from the relevant container. This is the most discriminating evidence for the described failure or requirement. kubectl get summarizes objects; describe reveals events and details; logs reveals container stdout/stderr, not complete API diagnostics. The corresponding implementation is: Use kubectl get, describe and logs as complementary views of object state, events and container output before changing resources. This is the diagnostic evidence part of the paired answer. Workload context: A Pod remains Pending and the operator reads only logs even though no container ever started.

Incorrect Answers

B:

Pods assigned to a healthy node start and report status with failed containers surfaced for diagnosis. This step belongs to Kubelet node agent responsibilities rather than the complementary implementation and evidence pair. The intended approach is: Use kubectl get, describe and logs as complementary views of object state, events and container output before changing resources. Validate with: Inspect resource status, conditions, events, generation, owner references and logs from the relevant container. Workload context: A Pod remains Pending and the operator reads only logs even though no container ever started.

C:

Inspect affinity terms, matchExpressions, node labels, scheduler feasibility and fallback placement. This step belongs to Node affinity required vs preferred rather than the complementary implementation and evidence pair. The intended approach is: Use kubectl get, describe and logs as complementary views of object state, events and container output before changing resources. Validate with: Inspect resource status, conditions, events, generation, owner references and logs from the relevant container. Workload context: A Pod remains Pending and the operator reads only logs even though no container ever started.

E:

Store non-sensitive configuration in ConfigMaps and sensitive values in Secrets with access control and encryption controls. This step belongs to ConfigMap and Secret boundaries rather than the complementary implementation and evidence pair. The intended approach is: Use kubectl get, describe and logs as complementary views of object state, events and container output before changing resources. Validate with: Inspect resource status, conditions, events, generation, owner references and logs from the relevant container. Workload context: A Pod remains Pending and the operator reads only logs even though no container ever started.

Question 1159

A multi-container Pod has a proxy sidecar and teams inspect the wrong container because they omit the container name. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads.
  2. Use kubectl exec with least privilege for approved diagnostics in running containers, avoiding permanent production mutations.
  3. Use ephemeral containers to inspect a running Pod when its application image lacks debug tools, with approved access to sensitive process namespaces.
  4. Gate rollout progression on suitable error, latency and business metrics with explicit thresholds and rollback authorization.

Explanation

Correct Answer

A:

Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads. This response implements the controlling Kubernetes or cloud native principle. kubectl logs streams container stdout/stderr, and --previous selects the prior terminated instance if available. Check its effect by: Inspect pod/container name, restartCount, lastState, previous log output and log collector availability. Workload context: A multi-container Pod has a proxy sidecar and teams inspect the wrong container because they omit the container name.

Incorrect Answers

B:

Use kubectl exec with least privilege for approved diagnostics in running containers, avoiding permanent production mutations. This action addresses kubectl exec diagnostic boundaries instead of the controlling requirement. kubectl exec runs a process in an existing container; it does not persist edits across new image-based replacements. For this scenario prefer: Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads. Workload context: A multi-container Pod has a proxy sidecar and teams inspect the wrong container because they omit the container name.

C:

Use ephemeral containers to inspect a running Pod when its application image lacks debug tools, with approved access to sensitive process namespaces. This action addresses Ephemeral debug containers for minimal images instead of the controlling requirement. Ephemeral containers are for diagnostics and cannot be treated as permanent workload replicas or restarted like ordinary containers. For this scenario prefer: Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads. Workload context: A multi-container Pod has a proxy sidecar and teams inspect the wrong container because they omit the container name.

D:

Gate rollout progression on suitable error, latency and business metrics with explicit thresholds and rollback authorization. This action addresses Progressive delivery and release metrics instead of the controlling requirement. Automated analysis requires representative telemetry and guardrails; an unchanged rollout status does not prove user experience is healthy. For this scenario prefer: Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads. Workload context: A multi-container Pod has a proxy sidecar and teams inspect the wrong container because they omit the container name.

Question 1160

A support account authenticates to a cluster yet sees empty resources because its current context points at another namespace. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Inspect local-versus-server manifest diff, field ownership, admission rejection and resulting resource generation.
  2. Inspect kubectl config current-context, cluster server, user identity and namespace field.
  3. Unschedulable unhealthy nodes are excluded until they meet documented readiness checks, preserving healthy placement.
  4. Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis.
  5. Confirm the active kubeconfig context and namespace before using kubectl on production clusters.

Explanation

Correct Answers

B:

Inspect kubectl config current-context, cluster server, user identity and namespace field. This is the most discriminating evidence for the described failure or requirement. A context combines cluster, user and namespace settings; the current shell directory alone does not select a cluster. The corresponding implementation is: Confirm the active kubeconfig context and namespace before using kubectl on production clusters. This is the diagnostic evidence part of the paired answer. Workload context: A support account authenticates to a cluster yet sees empty resources because its current context points at another namespace.

E:

Confirm the active kubeconfig context and namespace before using kubectl on production clusters. This response implements the controlling Kubernetes or cloud native principle. A context combines cluster, user and namespace settings; the current shell directory alone does not select a cluster. Check its effect by: Inspect kubectl config current-context, cluster server, user identity and namespace field. This is the implementation part of the required paired answer. Workload context: A support account authenticates to a cluster yet sees empty resources because its current context points at another namespace.

Incorrect Answers

A:

Inspect local-versus-server manifest diff, field ownership, admission rejection and resulting resource generation. This step belongs to kubectl apply and declarative updates rather than the complementary implementation and evidence pair. The intended approach is: Confirm the active kubeconfig context and namespace before using kubectl on production clusters. Validate with: Inspect kubectl config current-context, cluster server, user identity and namespace field. Workload context: A support account authenticates to a cluster yet sees empty resources because its current context points at another namespace.

C:

Unschedulable unhealthy nodes are excluded until they meet documented readiness checks, preserving healthy placement. This step belongs to Node readiness and scheduling exclusion rather than the complementary implementation and evidence pair. The intended approach is: Confirm the active kubeconfig context and namespace before using kubectl on production clusters. Validate with: Inspect kubectl config current-context, cluster server, user identity and namespace field. Workload context: A support account authenticates to a cluster yet sees empty resources because its current context points at another namespace.

D:

Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis. This step belongs to Node labels and allocatable inventory rather than the complementary implementation and evidence pair. The intended approach is: Confirm the active kubeconfig context and namespace before using kubectl on production clusters. Validate with: Inspect kubectl config current-context, cluster server, user identity and namespace field. Workload context: A support account authenticates to a cluster yet sees empty resources because its current context points at another namespace.

Kubernetes and Cloud Native Associate (KCNA) Practice Tests