Linux Foundation KCNA Practice Test 22
Question 210
An engineer adds a ResourceQuota but forgets required request defaults and new Pods fail admission without resource fields. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?
- Inspect container membership, localhost connectivity, Pod IP, restart policies and inter-container volumes.
- Inspect quota hard/used counters, LimitRange defaults and API admission rejection messages.
- Review kubelet service logs, node conditions, CRI connectivity and Pod events for assigned nodes.
- Inspect verbs, apiGroups, resources, RoleBinding/ClusterRoleBinding subjects and kubectl auth can-i results.
Explanation
Correct Answer
B:Inspect quota hard/used counters, LimitRange defaults and API admission rejection messages. This is the most discriminating evidence for the described failure or requirement. ResourceQuota applies aggregate namespace limits while LimitRange sets per-object defaults and constraints; quotas do not make capacity. The corresponding implementation is: Apply namespace ResourceQuota and LimitRange policies to govern aggregate consumption and default/request bounds. Workload context: An engineer adds a ResourceQuota but forgets required request defaults and new Pods fail admission without resource fields.
Incorrect Answers
A: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 quota hard/used counters, LimitRange defaults and API admission rejection messages. Workload context: An engineer adds a ResourceQuota but forgets required request defaults and new Pods fail admission without resource fields.
C:Review kubelet service logs, node conditions, CRI connectivity and Pod events for assigned nodes. These observations are more relevant to Kubelet node agent responsibilities, not this case. The distinguishing check is: Inspect quota hard/used counters, LimitRange defaults and API admission rejection messages. Workload context: An engineer adds a ResourceQuota but forgets required request defaults and new Pods fail admission without resource fields.
D:Inspect verbs, apiGroups, resources, RoleBinding/ClusterRoleBinding subjects and kubectl auth can-i results. These observations are more relevant to Role and ClusterRole authorization, not this case. The distinguishing check is: Inspect quota hard/used counters, LimitRange defaults and API admission rejection messages. Workload context: An engineer adds a ResourceQuota but forgets required request defaults and new Pods fail admission without resource fields.
Question 211
A deployment pipeline creates duplicate resources by regenerating names and calling create on every release. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Configure PodDisruptionBudgets for voluntary disruptions while distinguishing eviction safety from normal scheduling decisions.
- Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis.
- Choose requiredDuringSchedulingIgnoredDuringExecution for a hard node preference and preferred rules for soft placement choices.
- Use kubectl apply or a governed reconciliation workflow for repeatable desired-state changes, reviewing diffs before high-impact updates.
Explanation
Correct Answer
D: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. Workload context: A deployment pipeline creates duplicate resources by regenerating names and calling create on every release.
Incorrect Answers
A:Configure PodDisruptionBudgets for voluntary disruptions while distinguishing eviction safety from normal scheduling decisions. This action addresses PodDisruptionBudget during voluntary eviction instead of the controlling requirement. A PodDisruptionBudget governs voluntary eviction; it does not guarantee protection against hardware failure or create new replicas. For this scenario prefer: Use kubectl apply or a governed reconciliation workflow for repeatable desired-state changes, reviewing diffs before high-impact updates. Workload context: A deployment pipeline creates duplicate resources by regenerating names and calling create on every release.
B: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: Use kubectl apply or a governed reconciliation workflow for repeatable desired-state changes, reviewing diffs before high-impact updates. Workload context: A deployment pipeline creates duplicate resources by regenerating names and calling create on every release.
C: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: Use kubectl apply or a governed reconciliation workflow for repeatable desired-state changes, reviewing diffs before high-impact updates. Workload context: A deployment pipeline creates duplicate resources by regenerating names and calling create on every release.
Question 212
A team backs up container logs and assumes it can recreate lost deployments after all etcd members fail simultaneously. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Assign PriorityClasses carefully and understand when the scheduler may preempt lower-priority Pods to place urgent workloads.
- Keep etcd highly available and maintain secure, tested snapshots of Kubernetes API state rather than treating it as ordinary container storage.
- Pull images from approved OCI-compatible registries with controlled image credentials and documented access boundaries.
- Allow Kubernetes controllers to reconcile declared desired object state instead of manually replacing each Pod after failure.
Explanation
Correct Answer
B:Keep etcd highly available and maintain secure, tested snapshots of Kubernetes API state rather than treating it as ordinary container storage. This response implements the controlling Kubernetes or cloud native principle. etcd is a consistent key-value store for API state; it is not where persistent application volume data lives. Check its effect by: Inspect etcd quorum health, member status, snapshot freshness, certificate validity and restore procedure. Workload context: A team backs up container logs and assumes it can recreate lost deployments after all etcd members fail simultaneously.
Incorrect Answers
A:Assign PriorityClasses carefully and understand when the scheduler may preempt lower-priority Pods to place urgent workloads. This action addresses PriorityClass and preemption instead of the controlling requirement. Priority influences scheduling and potential preemption but does not bypass hard affinity or lack of suitable hardware. For this scenario prefer: Keep etcd highly available and maintain secure, tested snapshots of Kubernetes API state rather than treating it as ordinary container storage. Workload context: A team backs up container logs and assumes it can recreate lost deployments after all etcd members fail simultaneously.
C:Pull images from approved OCI-compatible registries with controlled image credentials and documented access boundaries. This action addresses OCI registries and image distribution instead of the controlling requirement. OCI registries store/distribute image artifacts; they do not orchestrate Pods or apply cluster networking. For this scenario prefer: Keep etcd highly available and maintain secure, tested snapshots of Kubernetes API state rather than treating it as ordinary container storage. Workload context: A team backs up container logs and assumes it can recreate lost deployments after all etcd members fail simultaneously.
D: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: Keep etcd highly available and maintain secure, tested snapshots of Kubernetes API state rather than treating it as ordinary container storage. Workload context: A team backs up container logs and assumes it can recreate lost deployments after all etcd members fail simultaneously.
Question 213
An app exceeds its memory limit and restarts with OOMKilled while its CPU request remains satisfied. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Assign a Role to namespaced permissions and a ClusterRole where appropriate for cluster-scoped or reusable rules, binding least privilege.
- Set workload requests for placement and limits for bounded runtime use based on measured application needs.
- Evaluate image SBOMs, signed provenance and vulnerability reports before production promotion, separating detected packages from reachable risk.
- Apply namespace ResourceQuota and LimitRange policies to govern aggregate consumption and default/request bounds.
Explanation
Correct Answer
B:Set workload requests for placement and limits for bounded runtime use based on measured application needs. This response implements the controlling Kubernetes or cloud native principle. Requests influence scheduling; limits govern enforcement and memory-limit breaches can terminate containers. Check its effect by: Inspect Pod requests/limits, node allocatable capacity, usage history, throttling and OOMKilled events. Workload context: An app exceeds its memory limit and restarts with OOMKilled while its CPU request remains satisfied.
Incorrect Answers
A:Assign a Role to namespaced permissions and a ClusterRole where appropriate for cluster-scoped or reusable rules, binding least privilege. This action addresses Role and ClusterRole authorization instead of the controlling requirement. A RoleBinding can bind a ClusterRole within its namespace; a ClusterRoleBinding grants its rules at cluster scope. For this scenario prefer: Set workload requests for placement and limits for bounded runtime use based on measured application needs. Workload context: An app exceeds its memory limit and restarts with OOMKilled while its CPU request remains satisfied.
C: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: Set workload requests for placement and limits for bounded runtime use based on measured application needs. Workload context: An app exceeds its memory limit and restarts with OOMKilled while its CPU request remains satisfied.
D:Apply namespace ResourceQuota and LimitRange policies to govern aggregate consumption and default/request bounds. This action addresses ResourceQuota and LimitRange policies instead of the controlling requirement. ResourceQuota applies aggregate namespace limits while LimitRange sets per-object defaults and constraints; quotas do not make capacity. For this scenario prefer: Set workload requests for placement and limits for bounded runtime use based on measured application needs. Workload context: An app exceeds its memory limit and restarts with OOMKilled while its CPU request remains satisfied.
Question 214
A PVC stays Pending while no Pod references it and the team calls the CSI provisioner broken despite WaitForFirstConsumer. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Inspect PV/PVC accessModes, actual mount failures, driver support and multi-node workload placement.
- Clients resolve the intended in-cluster Service name and external DNS forwarding operates as designed.
- Configure StorageClass WaitForFirstConsumer when scheduling topology must influence dynamic volume provisioning.
- Review storageClass volumeBindingMode, PVC condition, Pod node constraints and CSI topology events.
- Select PV reclaim policies according to retention requirements and verify storage cleanup or recovery steps after PVC deletion.
Explanation
Correct Answers
C:Configure StorageClass WaitForFirstConsumer when scheduling topology must influence dynamic volume provisioning. This response implements the controlling Kubernetes or cloud native principle. A PVC may legitimately remain unbound until a Pod consumes it under WaitForFirstConsumer. Check its effect by: Review storageClass volumeBindingMode, PVC condition, Pod node constraints and CSI topology events. This is the implementation part of the required paired answer. Workload context: A PVC stays Pending while no Pod references it and the team calls the CSI provisioner broken despite WaitForFirstConsumer.
D:Review storageClass volumeBindingMode, PVC condition, Pod node constraints and CSI topology events. This is the most discriminating evidence for the described failure or requirement. A PVC may legitimately remain unbound until a Pod consumes it under WaitForFirstConsumer. The corresponding implementation is: Configure StorageClass WaitForFirstConsumer when scheduling topology must influence dynamic volume provisioning. This is the diagnostic evidence part of the paired answer. Workload context: A PVC stays Pending while no Pod references it and the team calls the CSI provisioner broken despite WaitForFirstConsumer.
Incorrect Answers
A:Inspect PV/PVC accessModes, actual mount failures, driver support and multi-node workload placement. This step belongs to ReadWriteOnce and ReadWriteMany semantics rather than the complementary implementation and evidence pair. The intended approach is: Configure StorageClass WaitForFirstConsumer when scheduling topology must influence dynamic volume provisioning. Validate with: Review storageClass volumeBindingMode, PVC condition, Pod node constraints and CSI topology events. Workload context: A PVC stays Pending while no Pod references it and the team calls the CSI provisioner broken despite WaitForFirstConsumer.
B:Clients resolve the intended in-cluster Service name and external DNS forwarding operates as designed. This step belongs to Cluster DNS and service discovery rather than the complementary implementation and evidence pair. The intended approach is: Configure StorageClass WaitForFirstConsumer when scheduling topology must influence dynamic volume provisioning. Validate with: Review storageClass volumeBindingMode, PVC condition, Pod node constraints and CSI topology events. Workload context: A PVC stays Pending while no Pod references it and the team calls the CSI provisioner broken despite WaitForFirstConsumer.
E:Select PV reclaim policies according to retention requirements and verify storage cleanup or recovery steps after PVC deletion. This step belongs to PV reclaim policy Retain versus Delete rather than the complementary implementation and evidence pair. The intended approach is: Configure StorageClass WaitForFirstConsumer when scheduling topology must influence dynamic volume provisioning. Validate with: Review storageClass volumeBindingMode, PVC condition, Pod node constraints and CSI topology events. Workload context: A PVC stays Pending while no Pod references it and the team calls the CSI provisioner broken despite WaitForFirstConsumer.
Question 215
An application receives forbidden errors when listing ConfigMaps because its service account lacks get/list permissions. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Assign dedicated Kubernetes service accounts and least-privilege RBAC for workloads accessing the API.
- Run containers with nonroot identities, minimal capabilities and an appropriate seccomp profile for reduced kernel attack surface.
- Distinguish authenticating a Kubernetes API caller from authorizing verbs and validating or mutating admission behavior.
- Use ClusterIP for private service access and NodePort only when node-level external ports are intentionally needed.
Explanation
Correct Answer
A:Assign dedicated Kubernetes service accounts and least-privilege RBAC for workloads accessing the API. This response implements the controlling Kubernetes or cloud native principle. A service account is an API identity; granting Pods a namespace does not automatically limit an overbroad ClusterRoleBinding. Check its effect by: 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.
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: 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.
C: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: 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.
D: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: 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.
Question 216
A workload expects a ConfigMap-mounted configuration file to update after restart yet uses an immutable environment variable without rollout. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Assign a Role to namespaced permissions and a ClusterRole where appropriate for cluster-scoped or reusable rules, binding least privilege.
- Use a DaemonSet to run a supported node agent across eligible nodes, respecting taints and selectors.
- Use kube-scheduler to bind eligible unscheduled Pods to suitable nodes based on resources and scheduling constraints.
- Store non-sensitive configuration in ConfigMaps and sensitive values in Secrets with access control and encryption controls.
Explanation
Correct Answer
D:Store non-sensitive configuration in ConfigMaps and sensitive values in Secrets with access control and encryption controls. This response implements the controlling Kubernetes or cloud native principle. Kubernetes Secret data is base64-encoded by default, not inherently encrypted or a substitute for managed secret governance. Check its effect by: Inspect ConfigMap/Secret references, RBAC, API audit records, encryption-at-rest settings and mount or environment behavior. Workload context: A workload expects a ConfigMap-mounted configuration file to update after restart yet uses an immutable environment variable without rollout.
Incorrect Answers
A:Assign a Role to namespaced permissions and a ClusterRole where appropriate for cluster-scoped or reusable rules, binding least privilege. This action addresses Role and ClusterRole authorization instead of the controlling requirement. A RoleBinding can bind a ClusterRole within its namespace; a ClusterRoleBinding grants its rules at cluster scope. For this scenario prefer: Store non-sensitive configuration in ConfigMaps and sensitive values in Secrets with access control and encryption controls. Workload context: A workload expects a ConfigMap-mounted configuration file to update after restart yet uses an immutable environment variable without rollout.
B:Use a DaemonSet to run a supported node agent across eligible nodes, respecting taints and selectors. This action addresses DaemonSet node-local workloads instead of the controlling requirement. A DaemonSet creates node-level replicas automatically rather than a fixed overall replica count like a Deployment. For this scenario prefer: Store non-sensitive configuration in ConfigMaps and sensitive values in Secrets with access control and encryption controls. Workload context: A workload expects a ConfigMap-mounted configuration file to update after restart yet uses an immutable environment variable without rollout.
C:Use kube-scheduler to bind eligible unscheduled Pods to suitable nodes based on resources and scheduling constraints. This action addresses Scheduler responsibility and binding instead of the controlling requirement. kube-scheduler assigns Pods to nodes; kubelet executes Pods after assignment and the controller manager reconciles controllers. For this scenario prefer: Store non-sensitive configuration in ConfigMaps and sensitive values in Secrets with access control and encryption controls. Workload context: A workload expects a ConfigMap-mounted configuration file to update after restart yet uses an immutable environment variable without rollout.
Question 217
New Pods on one worker have no IP addresses because its CNI daemon cannot initialize the local network interface. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Healthy but initializing Pods avoid traffic and genuinely stuck workloads recover without unnecessary restart loops.
- Select and operate a Kubernetes-compatible CNI implementation to provide Pod IP connectivity and required network capabilities.
- Inspect CNI configuration, Pod CIDRs, node route tables, overlay/underlay links and CNI daemon logs.
- Apply supported Kubernetes NetworkPolicies to restrict traffic using Pod/namespace selectors and explicit ingress/egress rules.
- Compare Service type, clusterIP, nodePort, targetPort, node addresses and backend EndpointSlices.
Explanation
Correct Answers
B:Select and operate a Kubernetes-compatible CNI implementation to provide Pod IP connectivity and required network capabilities. This response implements the controlling Kubernetes or cloud native principle. The CNI plugin supplies Pod networking; a Kubernetes Service alone cannot correct a broken Pod network implementation. Check its effect by: Inspect CNI configuration, Pod CIDRs, node route tables, overlay/underlay links and CNI daemon logs. This is the implementation part of the required paired answer. Workload context: New Pods on one worker have no IP addresses because its CNI daemon cannot initialize the local network interface.
C:Inspect CNI configuration, Pod CIDRs, node route tables, overlay/underlay links and CNI daemon logs. This is the most discriminating evidence for the described failure or requirement. The CNI plugin supplies Pod networking; a Kubernetes Service alone cannot correct a broken Pod network implementation. The corresponding implementation is: Select and operate a Kubernetes-compatible CNI implementation to provide Pod IP connectivity and required network capabilities. This is the diagnostic evidence part of the paired answer. Workload context: New Pods on one worker have no IP addresses because its CNI daemon cannot initialize the local network interface.
Incorrect Answers
A:Healthy but initializing Pods avoid traffic and genuinely stuck workloads recover without unnecessary restart loops. This step belongs to Readiness liveness and startup probe behavior rather than the complementary implementation and evidence pair. The intended approach is: Select and operate a Kubernetes-compatible CNI implementation to provide Pod IP connectivity and required network capabilities. Validate with: Inspect CNI configuration, Pod CIDRs, node route tables, overlay/underlay links and CNI daemon logs. Workload context: New Pods on one worker have no IP addresses because its CNI daemon cannot initialize the local network interface.
D:Apply supported Kubernetes NetworkPolicies to restrict traffic using Pod/namespace selectors and explicit ingress/egress rules. This step belongs to NetworkPolicy ingress egress isolation rather than the complementary implementation and evidence pair. The intended approach is: Select and operate a Kubernetes-compatible CNI implementation to provide Pod IP connectivity and required network capabilities. Validate with: Inspect CNI configuration, Pod CIDRs, node route tables, overlay/underlay links and CNI daemon logs. Workload context: New Pods on one worker have no IP addresses because its CNI daemon cannot initialize the local network interface.
E:Compare Service type, clusterIP, nodePort, targetPort, node addresses and backend EndpointSlices. This step belongs to ClusterIP and NodePort Service exposure rather than the complementary implementation and evidence pair. The intended approach is: Select and operate a Kubernetes-compatible CNI implementation to provide Pod IP connectivity and required network capabilities. Validate with: Inspect CNI configuration, Pod CIDRs, node route tables, overlay/underlay links and CNI daemon logs. Workload context: New Pods on one worker have no IP addresses because its CNI daemon cannot initialize the local network interface.
Question 218
A security review finds unencrypted etcd peer traffic and stale snapshots on a shared administrative workstation. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?
- Controllers and Services select exactly the intended Pods while audit annotations retain descriptive notes.
- Teams see only permitted namespaced resources and network access is constrained by explicit policies.
- The Pod schedules only onto eligible labeled nodes while other nodes remain untouched.
- Cluster state can be recovered from a tested snapshot with quorum intact and application volumes handled separately.
Explanation
Correct Answer
D:Cluster state can be recovered from a tested snapshot with quorum intact and application volumes handled separately. This is an observable service outcome, not just evidence that a configuration file was saved. etcd is a consistent key-value store for API state; it is not where persistent application volume data lives. Workload context: A security review finds unencrypted etcd peer traffic and stale snapshots on a shared administrative workstation.
Incorrect Answers
A:Controllers and Services select exactly the intended Pods while audit annotations retain descriptive notes. That result validates Labels selectors and annotations rather than the requirement here. Verify instead: Cluster state can be recovered from a tested snapshot with quorum intact and application volumes handled separately. Workload context: A security review finds unencrypted etcd peer traffic and stale snapshots on a shared administrative workstation.
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: Cluster state can be recovered from a tested snapshot with quorum intact and application volumes handled separately. Workload context: A security review finds unencrypted etcd peer traffic and stale snapshots on a shared administrative workstation.
C:The Pod schedules only onto eligible labeled nodes while other nodes remain untouched. That result validates nodeSelector equality placement rather than the requirement here. Verify instead: Cluster state can be recovered from a tested snapshot with quorum intact and application volumes handled separately. Workload context: A security review finds unencrypted etcd peer traffic and stale snapshots on a shared administrative workstation.
Question 219
A rollout stalls with old and new ReplicaSets and developers delete the Deployment instead of checking readiness and progress. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Keep etcd highly available and maintain secure, tested snapshots of Kubernetes API state rather than treating it as ordinary container storage.
- Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis.
- Use namespaces to group namespaced resources and policies, and add explicit RBAC and network controls for isolation.
- Use a Deployment to manage stateless replicas, controlled updates and ReplicaSets rather than hand-editing Pod instances.
Explanation
Correct Answer
D:Use a Deployment to manage stateless replicas, controlled updates and ReplicaSets rather than hand-editing Pod instances. This response implements the controlling Kubernetes or cloud native principle. A Deployment manages ReplicaSets and rolling changes; direct edits to controlled Pods are transient. Check its effect by: Compare Deployment spec, ReplicaSet ownership, rollout history and updated/available replica conditions. Workload context: A rollout stalls with old and new ReplicaSets and developers delete the Deployment instead of checking readiness and progress.
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: Use a Deployment to manage stateless replicas, controlled updates and ReplicaSets rather than hand-editing Pod instances. Workload context: A rollout stalls with old and new ReplicaSets and developers delete the Deployment instead of checking readiness and progress.
B: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: Use a Deployment to manage stateless replicas, controlled updates and ReplicaSets rather than hand-editing Pod instances. Workload context: A rollout stalls with old and new ReplicaSets and developers delete the Deployment instead of checking readiness and progress.
C:Use namespaces to group namespaced resources and policies, and add explicit RBAC and network controls for isolation. This action addresses Namespace scope and limits instead of the controlling requirement. Namespaces organize resource names but are not automatically strong security boundaries or separate clusters. For this scenario prefer: Use a Deployment to manage stateless replicas, controlled updates and ReplicaSets rather than hand-editing Pod instances. Workload context: A rollout stalls with old and new ReplicaSets and developers delete the Deployment instead of checking readiness and progress.
Question 220
An administrator installs a Docker CLI and assumes Kubernetes always requires the Docker daemon to schedule Pods. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?
- Kubelet can start Pod sandboxes and containers through the configured CRI without incompatible shim failures.
- Only reviewed images with accepted risk enter production and later findings can be traced to deployed digests.
- Teams receive predictable defaults and cannot consume more namespace resources than policy permits.
- The container sees the intended isolated resources while usage limits are reflected in host accounting.
Explanation
Correct Answer
A: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: An administrator installs a Docker CLI and assumes Kubernetes always requires the Docker daemon to schedule Pods.
Incorrect Answers
B:Only reviewed images with accepted risk enter production and later findings can be traced to deployed digests. That result validates Image scanning and software bills of materials rather than the requirement here. Verify instead: Kubelet can start Pod sandboxes and containers through the configured CRI without incompatible shim failures. Workload context: An administrator installs a Docker CLI and assumes Kubernetes always requires the Docker daemon to schedule Pods.
C:Teams receive predictable defaults and cannot consume more namespace resources than policy permits. That result validates ResourceQuota and LimitRange policies rather than the requirement here. Verify instead: Kubelet can start Pod sandboxes and containers through the configured CRI without incompatible shim failures. Workload context: An administrator installs a Docker CLI and assumes Kubernetes always requires the Docker daemon to schedule Pods.
D:The container sees the intended isolated resources while usage limits are reflected in host accounting. That result validates Linux namespaces and cgroups rather than the requirement here. Verify instead: Kubelet can start Pod sandboxes and containers through the configured CRI without incompatible shim failures. Workload context: An administrator installs a Docker CLI and assumes Kubernetes always requires the Docker daemon to schedule Pods.