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 91

Question 900

A deployment pipeline creates duplicate resources by regenerating names and calling create on every release. 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. Store non-sensitive configuration in ConfigMaps and sensitive values in Secrets with access control and encryption controls.
  3. Check registry path, pull Secret, tag or digest, IAM grant, TLS trust and registry audit logs.
  4. Planned node drains respect application availability requirements without confusing voluntary and involuntary disruptions.
  5. Use kubectl apply or a governed reconciliation workflow for repeatable desired-state changes, reviewing diffs before high-impact updates.

Explanation

Correct Answers

A:

Inspect local-versus-server manifest diff, field ownership, admission rejection and resulting resource generation. This is the most discriminating evidence for the described failure or requirement. Declarative apply merges intended fields but conflicts and imperative edits require field ownership review. The corresponding implementation is: Use kubectl apply or a governed reconciliation workflow for repeatable desired-state changes, reviewing diffs before high-impact updates. This is the diagnostic evidence part of the paired answer. Workload context: A deployment pipeline creates duplicate resources by regenerating names and calling create on every release.

E:

Use kubectl apply or a governed reconciliation workflow for repeatable desired-state changes, reviewing diffs before high-impact updates. This response implements the controlling Kubernetes or cloud native principle. Declarative apply merges intended fields but conflicts and imperative edits require field ownership review. Check its effect by: Inspect local-versus-server manifest diff, field ownership, admission rejection and resulting resource generation. This is the implementation part of the required paired answer. Workload context: A deployment pipeline creates duplicate resources by regenerating names and calling create on every release.

Incorrect Answers

B:

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 apply or a governed reconciliation workflow for repeatable desired-state changes, reviewing diffs before high-impact updates. Validate with: Inspect local-versus-server manifest diff, field ownership, admission rejection and resulting resource generation. Workload context: A deployment pipeline creates duplicate resources by regenerating names and calling create on every release.

C:

Check registry path, pull Secret, tag or digest, IAM grant, TLS trust and registry audit logs. This step belongs to OCI registries and image distribution rather than the complementary implementation and evidence pair. The intended approach is: Use kubectl apply or a governed reconciliation workflow for repeatable desired-state changes, reviewing diffs before high-impact updates. Validate with: Inspect local-versus-server manifest diff, field ownership, admission rejection and resulting resource generation. Workload context: A deployment pipeline creates duplicate resources by regenerating names and calling create on every release.

D:

Planned node drains respect application availability requirements without confusing voluntary and involuntary disruptions. This step belongs to PodDisruptionBudget during voluntary eviction rather than the complementary implementation and evidence pair. The intended approach is: Use kubectl apply or a governed reconciliation workflow for repeatable desired-state changes, reviewing diffs before high-impact updates. Validate with: Inspect local-versus-server manifest diff, field ownership, admission rejection and resulting resource generation. Workload context: A deployment pipeline creates duplicate resources by regenerating names and calling create on every release.

Question 901

A team sets a CPU request in Kubernetes and assumes it creates a new Linux network namespace for each process. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Explain how namespaces isolate process/network views and cgroups control CPU and memory resource accounting and enforcement.
  2. Choose requiredDuringSchedulingIgnoredDuringExecution for a hard node preference and preferred rules for soft placement choices.
  3. Build minimal images with reproducible layers and protect against secrets embedded in historical image layers.
  4. Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis.

Explanation

Correct Answer

A:

Explain how namespaces isolate process/network views and cgroups control CPU and memory resource accounting and enforcement. This response implements the controlling Kubernetes or cloud native principle. Namespaces and cgroups provide different Linux primitives; neither independently creates Kubernetes scheduling. Check its effect by: Inspect process namespace, container cgroup limits, OOM events and host resource metrics. Workload context: A team sets a CPU request in Kubernetes and assumes it creates a new Linux network namespace for each process.

Incorrect Answers

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: 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.

C:

Build minimal images with reproducible layers and protect against secrets embedded in historical image layers. This action addresses Image layers and build cache instead of the controlling requirement. Deleting a file in a later image layer does not erase secrets committed into an earlier layer. For this scenario prefer: 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.

D:

Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis. This action addresses Node labels and allocatable inventory instead of the controlling requirement. Node allocatable excludes reservations from raw capacity; labels must reflect real node capabilities and administration. For this scenario prefer: Explain how namespaces isolate process/network views and cgroups control CPU and memory resource accounting and enforcement. Workload context: A team sets a CPU request in Kubernetes and assumes it creates a new Linux network namespace for each process.

Question 902

An authorized manifest is rejected by a validating webhook because it requests a forbidden hostPath mount. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Trace requests through Service DNS, selector, EndpointSlice and targetPort before attributing all timeouts to network latency.
  2. Configure Pod Security Admission policy levels for namespaces to restrict unsafe Pod settings while documenting exceptions.
  3. Distinguish authenticating a Kubernetes API caller from authorizing verbs and validating or mutating admission behavior.
  4. Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope.

Explanation

Correct Answer

C:

Distinguish authenticating a Kubernetes API caller from authorizing verbs and validating or mutating admission behavior. This response implements the controlling Kubernetes or cloud native principle. Authentication answers who called, authorization answers what may be done, and admission can apply policy to allowed requests. Check its effect by: Examine authentication identity, RBAC decision, admission webhook result and API response status. Workload context: An authorized manifest is rejected by a validating webhook because it requests a forbidden hostPath mount.

Incorrect Answers

A:

Trace requests through Service DNS, selector, EndpointSlice and targetPort before attributing all timeouts to network latency. This action addresses Service selector and port mismatch diagnostics instead of the controlling requirement. A Service can resolve in DNS yet have zero endpoints or forward to an incorrect port. For this scenario prefer: Distinguish authenticating a Kubernetes API caller from authorizing verbs and validating or mutating admission behavior. Workload context: An authorized manifest is rejected by a validating webhook because it requests a forbidden hostPath mount.

B:

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: Distinguish authenticating a Kubernetes API caller from authorizing verbs and validating or mutating admission behavior. Workload context: An authorized manifest is rejected by a validating webhook because it requests a forbidden hostPath mount.

D:

Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope. This action addresses ImagePullBackOff registry and auth errors instead of the controlling requirement. ImagePullBackOff is a retrieval or authorization problem; changing app readiness probes cannot fix a missing image. For this scenario prefer: Distinguish authenticating a Kubernetes API caller from authorizing verbs and validating or mutating admission behavior. Workload context: An authorized manifest is rejected by a validating webhook because it requests a forbidden hostPath mount.

Question 903

An app can receive requests from its frontend but cannot resolve DNS after egress is denied without allowing DNS traffic. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Use ClusterIP for private service access and NodePort only when node-level external ports are intentionally needed.
  2. Apply supported Kubernetes NetworkPolicies to restrict traffic using Pod/namespace selectors and explicit ingress/egress rules.
  3. Use CoreDNS or the configured cluster DNS service to resolve Service and Pod naming in their correct namespaces.
  4. Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability.

Explanation

Correct Answer

B:

Apply supported Kubernetes NetworkPolicies to restrict traffic using Pod/namespace selectors and explicit ingress/egress rules. This response implements the controlling Kubernetes or cloud native principle. Without policies a standard namespace usually permits traffic; NetworkPolicy enforcement requires a compatible networking implementation. Check its effect by: Inspect NetworkPolicy podSelector, namespaces, allowed ports, CNI enforcement support and packet test results. Workload context: An app can receive requests from its frontend but cannot resolve DNS after egress is denied without allowing DNS traffic.

Incorrect Answers

A:

Use ClusterIP for private service access and NodePort only when node-level external ports are intentionally needed. This action addresses ClusterIP and NodePort Service exposure instead of the controlling requirement. ClusterIP does not automatically provide an external endpoint; NodePort opens a port on eligible nodes with network policy constraints. For this scenario prefer: Apply supported Kubernetes NetworkPolicies to restrict traffic using Pod/namespace selectors and explicit ingress/egress rules. Workload context: An app can receive requests from its frontend but cannot resolve DNS after egress is denied without allowing DNS traffic.

C:

Use CoreDNS or the configured cluster DNS service to resolve Service and Pod naming in their correct namespaces. This action addresses Cluster DNS and service discovery instead of the controlling requirement. Kubernetes DNS uses namespace-aware search paths; a fully qualified Service name avoids ambiguity across namespaces. For this scenario prefer: Apply supported Kubernetes NetworkPolicies to restrict traffic using Pod/namespace selectors and explicit ingress/egress rules. Workload context: An app can receive requests from its frontend but cannot resolve DNS after egress is denied without allowing DNS traffic.

D:

Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability. This action addresses ReadWriteOnce and ReadWriteMany semantics instead of the controlling requirement. ReadWriteOnce normally limits read-write mounting to one node, not necessarily exactly one Pod; driver behavior matters. For this scenario prefer: Apply supported Kubernetes NetworkPolicies to restrict traffic using Pod/namespace selectors and explicit ingress/egress rules. Workload context: An app can receive requests from its frontend but cannot resolve DNS after egress is denied without allowing DNS traffic.

Question 904

A platform team restarts CoreDNS for a Service request timeout even though DNS resolves and the selected endpoint port is wrong. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Compare Service type, clusterIP, nodePort, targetPort, node addresses and backend EndpointSlices.
  2. Inspect Service selector, Pod readiness, EndpointSlice addresses, kube-proxy or eBPF service programming and target ports.
  3. Inspect CNI configuration, Pod CIDRs, node route tables, overlay/underlay links and CNI daemon logs.
  4. Inspect volume type, mount paths, Pod owner, node placement and data recovery requirements.

Explanation

Correct Answer

B:

Inspect Service selector, Pod readiness, EndpointSlice addresses, kube-proxy or eBPF service programming and target ports. This is the most discriminating evidence for the described failure or requirement. Service routing depends on endpoints and the cluster's Service dataplane; some clusters replace kube-proxy with an alternate implementation. The corresponding implementation is: Check Service selectors and EndpointSlices to distinguish backend discovery from kube-proxy or data-plane forwarding faults. Workload context: A platform team restarts CoreDNS for a Service request timeout even though DNS resolves and the selected endpoint port is wrong.

Incorrect Answers

A:

Compare Service type, clusterIP, nodePort, targetPort, node addresses and backend EndpointSlices. These observations are more relevant to ClusterIP and NodePort Service exposure, not this case. The distinguishing check is: Inspect Service selector, Pod readiness, EndpointSlice addresses, kube-proxy or eBPF service programming and target ports. Workload context: A platform team restarts CoreDNS for a Service request timeout even though DNS resolves and the selected endpoint port is wrong.

C:

Inspect CNI configuration, Pod CIDRs, node route tables, overlay/underlay links and CNI daemon logs. These observations are more relevant to CNI Pod networking implementation, not this case. The distinguishing check is: Inspect Service selector, Pod readiness, EndpointSlice addresses, kube-proxy or eBPF service programming and target ports. Workload context: A platform team restarts CoreDNS for a Service request timeout even though DNS resolves and the selected endpoint port is wrong.

D:

Inspect volume type, mount paths, Pod owner, node placement and data recovery requirements. These observations are more relevant to Ephemeral emptyDir versus persistent volumes, not this case. The distinguishing check is: Inspect Service selector, Pod readiness, EndpointSlice addresses, kube-proxy or eBPF service programming and target ports. Workload context: A platform team restarts CoreDNS for a Service request timeout even though DNS resolves and the selected endpoint port is wrong.

Question 905

An API's p95 latency doubles while overall CPU stays normal and the team needs request-path traces to identify a slow database call. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Inspect commit identity, build/test results, artifact digest, promotion approval and deployment events.
  2. Compare trace IDs, time synchronized log events, resource saturation metrics and span durations.
  3. Compare Git revision, application sync status, live resource diff and reconciliation events.
  4. Review ephemeralContainers spec, target container namespace, attach status and host-level privileges requested.

Explanation

Correct Answer

B:

Compare trace IDs, time synchronized log events, resource saturation metrics and span durations. This is the most discriminating evidence for the described failure or requirement. Metrics show trends, logs show event details, and traces show request spans; reliable correlation benefits from consistent identifiers. The corresponding implementation is: Use time-aligned metrics, structured logs and distributed traces to isolate root causes across Kubernetes components and services. Workload context: An API's p95 latency doubles while overall CPU stays normal and the team needs request-path traces to identify a slow database call.

Incorrect Answers

A:

Inspect commit identity, build/test results, artifact digest, promotion approval and deployment events. These observations are more relevant to CI versus CD pipeline separation, not this case. The distinguishing check is: Compare trace IDs, time synchronized log events, resource saturation metrics and span durations. Workload context: An API's p95 latency doubles while overall CPU stays normal and the team needs request-path traces to identify a slow database call.

C:

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: Compare trace IDs, time synchronized log events, resource saturation metrics and span durations. Workload context: An API's p95 latency doubles while overall CPU stays normal and the team needs request-path traces to identify a slow database call.

D:

Review ephemeralContainers spec, target container namespace, attach status and host-level privileges requested. These observations are more relevant to Ephemeral debug containers for minimal images, not this case. The distinguishing check is: Compare trace IDs, time synchronized log events, resource saturation metrics and span durations. Workload context: An API's p95 latency doubles while overall CPU stays normal and the team needs request-path traces to identify a slow database call.

Question 906

A Pod reports intermittent 502 errors and a nearby network proxy logs upstream timeouts with matching request IDs. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Compare trace IDs, time synchronized log events, resource saturation metrics and span durations.
  2. Inspect pod/container name, restartCount, lastState, previous log output and log collector availability.
  3. Check registry digest, image signatures, deployment Pod imageID and provenance attestations across stages.
  4. Review kubectl describe output, warning reasons, first/last timestamps and relevant controller ownership.

Explanation

Correct Answer

A:

Compare trace IDs, time synchronized log events, resource saturation metrics and span durations. This is the most discriminating evidence for the described failure or requirement. Metrics show trends, logs show event details, and traces show request spans; reliable correlation benefits from consistent identifiers. The corresponding implementation is: Use time-aligned metrics, structured logs and distributed traces to isolate root causes across Kubernetes components and services. Workload context: A Pod reports intermittent 502 errors and a nearby network proxy logs upstream timeouts with matching request IDs.

Incorrect Answers

B:

Inspect pod/container name, restartCount, lastState, previous log output and log collector availability. These observations are more relevant to kubectl logs current versus previous instance, not this case. The distinguishing check is: Compare trace IDs, time synchronized log events, resource saturation metrics and span durations. Workload context: A Pod reports intermittent 502 errors and a nearby network proxy logs upstream timeouts with matching request IDs.

C:

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: Compare trace IDs, time synchronized log events, resource saturation metrics and span durations. Workload context: A Pod reports intermittent 502 errors and a nearby network proxy logs upstream timeouts with matching request IDs.

D:

Review kubectl describe output, warning reasons, first/last timestamps and relevant controller ownership. These observations are more relevant to kubectl describe and event chronology, not this case. The distinguishing check is: Compare trace IDs, time synchronized log events, resource saturation metrics and span durations. Workload context: A Pod reports intermittent 502 errors and a nearby network proxy logs upstream timeouts with matching request IDs.

Question 907

A cluster grants all developers list permission on Secrets, allowing them to read every application's encoded credentials. 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. Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests.
  3. Inspect StorageClass provisioner name, allowed topology, PVC events and CSI controller logs.
  4. Inspect Secret read permissions, encryption configuration, encoded manifest values and audit trails.

Explanation

Correct Answer

D:

Inspect Secret read permissions, encryption configuration, encoded manifest values and audit trails. This is the most discriminating evidence for the described failure or requirement. Base64 is a reversible encoding, not encryption; Secret storage and access policies require separate protection. The corresponding implementation is: 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.

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: 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.

B:

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: 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.

C:

Inspect StorageClass provisioner name, allowed topology, PVC events and CSI controller logs. These observations are more relevant to StorageClass dynamic provisioning, not this case. The distinguishing check is: 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.

Question 908

A Kubernetes cluster creates a PVC but no StorageClass or provisioner can satisfy it, leaving the claim Pending. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Configure a supported StorageClass and CSI provisioner to dynamically create backing volumes for PVCs.
  2. Use a Service type LoadBalancer with a supported cloud or in-cluster load-balancer controller to provide an approved external endpoint.
  3. Configure StorageClass WaitForFirstConsumer when scheduling topology must influence dynamic volume provisioning.
  4. Use emptyDir for temporary Pod-scoped data and PVC-backed volumes when data must survive Pod replacement.

Explanation

Correct Answer

A:

Configure a supported StorageClass and CSI provisioner to dynamically create backing volumes for PVCs. This response implements the controlling Kubernetes or cloud native principle. StorageClass names provisioning behavior; a controller and backend must support dynamic provisioning. Check its effect by: Inspect StorageClass provisioner name, allowed topology, PVC events and CSI controller logs. Workload context: A Kubernetes cluster creates a PVC but no StorageClass or provisioner can satisfy it, leaving the claim Pending.

Incorrect Answers

B:

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: Configure a supported StorageClass and CSI provisioner to dynamically create backing volumes for PVCs. Workload context: A Kubernetes cluster creates a PVC but no StorageClass or provisioner can satisfy it, leaving the claim Pending.

C:

Configure StorageClass WaitForFirstConsumer when scheduling topology must influence dynamic volume provisioning. This action addresses WaitForFirstConsumer volume binding instead of the controlling requirement. A PVC may legitimately remain unbound until a Pod consumes it under WaitForFirstConsumer. For this scenario prefer: Configure a supported StorageClass and CSI provisioner to dynamically create backing volumes for PVCs. Workload context: A Kubernetes cluster creates a PVC but no StorageClass or provisioner can satisfy it, leaving the claim Pending.

D:

Use emptyDir for temporary Pod-scoped data and PVC-backed volumes when data must survive Pod replacement. This action addresses Ephemeral emptyDir versus persistent volumes instead of the controlling requirement. emptyDir exists for the lifetime of a Pod on a node and is lost when the Pod is removed. For this scenario prefer: Configure a supported StorageClass and CSI provisioner to dynamically create backing volumes for PVCs. Workload context: A Kubernetes cluster creates a PVC but no StorageClass or provisioner can satisfy it, leaving the claim Pending.

Question 909

A private image pull returns Unauthorized because the namespace has no correctly scoped imagePullSecret. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Keep etcd highly available and maintain secure, tested snapshots of Kubernetes API state rather than treating it as ordinary container storage.
  2. Pull images from approved OCI-compatible registries with controlled image credentials and documented access boundaries.
  3. Apply taints to repel unauthorized scheduling and give only intended workloads matching tolerations.
  4. Evaluate image SBOMs, signed provenance and vulnerability reports before production promotion, separating detected packages from reachable risk.

Explanation

Correct Answer

B:

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 private image pull returns Unauthorized because the namespace has no correctly scoped imagePullSecret.

Incorrect Answers

A:

Keep etcd highly available and maintain secure, tested snapshots of Kubernetes API state rather than treating it as ordinary container storage. This action addresses etcd consistency and cluster state instead of the controlling requirement. etcd is a consistent key-value store for API state; it is not where persistent application volume data lives. For this scenario prefer: Pull images from approved OCI-compatible registries with controlled image credentials and documented access boundaries. Workload context: A private image pull returns Unauthorized because the namespace has no correctly scoped imagePullSecret.

C:

Apply taints to repel unauthorized scheduling and give only intended workloads matching tolerations. This action addresses Taints tolerations and node protection instead of the controlling requirement. A toleration permits scheduling onto tainted nodes but does not force the scheduler to choose those nodes. For this scenario prefer: Pull images from approved OCI-compatible registries with controlled image credentials and documented access boundaries. Workload context: A private image pull returns Unauthorized because the namespace has no correctly scoped imagePullSecret.

D:

Evaluate image SBOMs, signed provenance and vulnerability reports before production promotion, separating detected packages from reachable risk. This action addresses Image scanning and software bills of materials instead of the controlling requirement. A scanner's package detection is evidence of inventory, not automatically proof of exploitation or complete image trust. For this scenario prefer: Pull images from approved OCI-compatible registries with controlled image credentials and documented access boundaries. Workload context: A private image pull returns Unauthorized because the namespace has no correctly scoped imagePullSecret.

Question 910

An application receives forbidden errors when listing ConfigMaps because its service account lacks get/list permissions. 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. Inspect external IP status, controller events, security groups, health checks and upstream target availability.
  3. Inspect CNI configuration, Pod CIDRs, node route tables, overlay/underlay links and CNI daemon logs.
  4. Inspect serviceAccountName, RoleBindings, projected tokens, audience and kubectl auth can-i permissions.

Explanation

Correct Answer

D:

Inspect serviceAccountName, RoleBindings, projected tokens, audience and kubectl auth can-i permissions. This is the most discriminating evidence for the described failure or requirement. A service account is an API identity; granting Pods a namespace does not automatically limit an overbroad ClusterRoleBinding. The corresponding implementation is: Assign dedicated Kubernetes service accounts and least-privilege RBAC for workloads accessing the API. Workload context: An application receives forbidden errors when listing ConfigMaps because its service account lacks get/list permissions.

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: Inspect serviceAccountName, RoleBindings, projected tokens, audience and kubectl auth can-i permissions. Workload context: An application receives forbidden errors when listing ConfigMaps because its service account lacks get/list permissions.

B:

Inspect external IP status, controller events, security groups, health checks and upstream target availability. These observations are more relevant to LoadBalancer Service provisioning, not this case. The distinguishing check is: Inspect serviceAccountName, RoleBindings, projected tokens, audience and kubectl auth can-i permissions. Workload context: An application receives forbidden errors when listing ConfigMaps because its service account lacks get/list permissions.

C:

Inspect CNI configuration, Pod CIDRs, node route tables, overlay/underlay links and CNI daemon logs. These observations are more relevant to CNI Pod networking implementation, not this case. The distinguishing check is: Inspect serviceAccountName, RoleBindings, projected tokens, audience and kubectl auth can-i permissions. Workload context: An application receives forbidden errors when listing ConfigMaps because its service account lacks get/list permissions.

Kubernetes and Cloud Native Associate (KCNA) Practice Tests