Linux Foundation KCNA Practice Test 41
Question 400
A registry migration changes its host name and worker nodes report image pull failures despite healthy deployment manifests. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?
- All intended replicas run the approved digest and upgrades trace back to a reviewed artifact.
- Controllers and Services select exactly the intended Pods while audit annotations retain descriptive notes.
- Containers launch the intended process with arguments preserved and failures remain visible through status.
- Eligible nodes retrieve authorized images while unrelated namespaces and identities cannot pull private artifacts.
Explanation
Correct Answer
D:Eligible nodes retrieve authorized images while unrelated namespaces and identities cannot pull private artifacts. This is an observable service outcome, not just evidence that a configuration file was saved. OCI registries store/distribute image artifacts; they do not orchestrate Pods or apply cluster networking. Workload context: A registry migration changes its host name and worker nodes report image pull failures despite healthy deployment manifests.
Incorrect Answers
A:All intended replicas run the approved digest and upgrades trace back to a reviewed artifact. That result validates Immutable container images and digests rather than the requirement here. Verify instead: Eligible nodes retrieve authorized images while unrelated namespaces and identities cannot pull private artifacts. Workload context: A registry migration changes its host name and worker nodes report image pull failures despite healthy deployment manifests.
B: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: Eligible nodes retrieve authorized images while unrelated namespaces and identities cannot pull private artifacts. Workload context: A registry migration changes its host name and worker nodes report image pull failures despite healthy deployment manifests.
C:Containers launch the intended process with arguments preserved and failures remain visible through status. That result validates Container command entrypoint and arguments rather than the requirement here. Verify instead: Eligible nodes retrieve authorized images while unrelated namespaces and identities cannot pull private artifacts. Workload context: A registry migration changes its host name and worker nodes report image pull failures despite healthy deployment manifests.
Question 401
A pipeline marks a change released because unit tests passed but no deployment job ever updated the Kubernetes cluster. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Use continuous integration to build and test changes and controlled delivery or deployment to promote validated artifacts to target environments.
- Distinguish readiness endpoint failures from application process exits before deciding whether to restart or change service routing.
- Configure Deployment rollout strategy with availability bounds and use rollout history when an update requires controlled rollback.
- Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads.
Explanation
Correct Answer
A:Use continuous integration to build and test changes and controlled delivery or deployment to promote validated artifacts to target environments. This response implements the controlling Kubernetes or cloud native principle. CI validates and packages changes while CD handles delivery or deployment; a successful build is not proof of production rollout. Check its effect by: Inspect commit identity, build/test results, artifact digest, promotion approval and deployment events. Workload context: A pipeline marks a change released because unit tests passed but no deployment job ever updated the Kubernetes cluster.
Incorrect Answers
B:Distinguish readiness endpoint failures from application process exits before deciding whether to restart or change service routing. This action addresses Readiness-probe failure versus process crash instead of the controlling requirement. Readiness-probe failure normally removes endpoint traffic without killing the container; liveness changes restart behavior. For this scenario prefer: Use continuous integration to build and test changes and controlled delivery or deployment to promote validated artifacts to target environments. Workload context: A pipeline marks a change released because unit tests passed but no deployment job ever updated the Kubernetes cluster.
C:Configure Deployment rollout strategy with availability bounds and use rollout history when an update requires controlled rollback. This action addresses Deployment rolling updates and rollback instead of the controlling requirement. A rolling update controls replacement pacing but application correctness still requires probes and release validation. For this scenario prefer: Use continuous integration to build and test changes and controlled delivery or deployment to promote validated artifacts to target environments. Workload context: A pipeline marks a change released because unit tests passed but no deployment job ever updated the Kubernetes cluster.
D:Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads. This action addresses kubectl logs current versus previous instance instead of the controlling requirement. kubectl logs streams container stdout/stderr, and --previous selects the prior terminated instance if available. For this scenario prefer: Use continuous integration to build and test changes and controlled delivery or deployment to promote validated artifacts to target environments. Workload context: A pipeline marks a change released because unit tests passed but no deployment job ever updated the Kubernetes cluster.
Question 402
A service returns 503 from its readiness endpoint but the process remains Running with restartCount zero. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads.
- Traffic shifts as planned with clear rollback triggers and both versions behaving under their measured loads.
- Distinguish readiness endpoint failures from application process exits before deciding whether to restart or change service routing.
- Inspect Pod Ready condition, container restart count, probe event, endpoint membership and HTTP response details.
- Inspect maxSurge, maxUnavailable, rollout conditions, ReplicaSets, readiness and prior image revisions.
Explanation
Correct Answers
C:Distinguish readiness endpoint failures from application process exits before deciding whether to restart or change service routing. This response implements the controlling Kubernetes or cloud native principle. Readiness-probe failure normally removes endpoint traffic without killing the container; liveness changes restart behavior. Check its effect by: Inspect Pod Ready condition, container restart count, probe event, endpoint membership and HTTP response details. This is the implementation part of the required paired answer. Workload context: A service returns 503 from its readiness endpoint but the process remains Running with restartCount zero.
D:Inspect Pod Ready condition, container restart count, probe event, endpoint membership and HTTP response details. This is the most discriminating evidence for the described failure or requirement. Readiness-probe failure normally removes endpoint traffic without killing the container; liveness changes restart behavior. The corresponding implementation is: Distinguish readiness endpoint failures from application process exits before deciding whether to restart or change service routing. This is the diagnostic evidence part of the paired answer. Workload context: A service returns 503 from its readiness endpoint but the process remains Running with restartCount zero.
Incorrect Answers
A:Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads. This step belongs to kubectl logs current versus previous instance rather than the complementary implementation and evidence pair. The intended approach is: Distinguish readiness endpoint failures from application process exits before deciding whether to restart or change service routing. Validate with: Inspect Pod Ready condition, container restart count, probe event, endpoint membership and HTTP response details. Workload context: A service returns 503 from its readiness endpoint but the process remains Running with restartCount zero.
B:Traffic shifts as planned with clear rollback triggers and both versions behaving under their measured loads. This step belongs to Blue-green versus canary release patterns rather than the complementary implementation and evidence pair. The intended approach is: Distinguish readiness endpoint failures from application process exits before deciding whether to restart or change service routing. Validate with: Inspect Pod Ready condition, container restart count, probe event, endpoint membership and HTTP response details. Workload context: A service returns 503 from its readiness endpoint but the process remains Running with restartCount zero.
E:Inspect maxSurge, maxUnavailable, rollout conditions, ReplicaSets, readiness and prior image revisions. This step belongs to Deployment rolling updates and rollback rather than the complementary implementation and evidence pair. The intended approach is: Distinguish readiness endpoint failures from application process exits before deciding whether to restart or change service routing. Validate with: Inspect Pod Ready condition, container restart count, probe event, endpoint membership and HTTP response details. Workload context: A service returns 503 from its readiness endpoint but the process remains Running with restartCount zero.
Question 403
Two workloads share the default service account and one unexpectedly gains permissions intended for the other. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- The container remains running or completes as intended without repeated backoff cycles after a targeted correction.
- Inspect serviceAccountName, RoleBindings, projected tokens, audience and kubectl auth can-i permissions.
- Assign dedicated Kubernetes service accounts and least-privilege RBAC for workloads accessing the API.
- Combine RBAC with NetworkPolicy to control both Kubernetes API permissions and east-west workload traffic.
- Inspect StatefulSet ordinal Pod names, headless Service, volumeClaimTemplates and update strategy.
Explanation
Correct Answers
B: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. This is the diagnostic evidence part of the paired answer. Workload context: Two workloads share the default service account and one unexpectedly gains permissions intended for the other.
C: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. This is the implementation part of the required paired answer. Workload context: Two workloads share the default service account and one unexpectedly gains permissions intended for the other.
Incorrect Answers
A:The container remains running or completes as intended without repeated backoff cycles after a targeted correction. This step belongs to CrashLoopBackOff and previous logs rather than the complementary implementation and evidence pair. The intended approach is: Assign dedicated Kubernetes service accounts and least-privilege RBAC for workloads accessing the API. Validate with: Inspect serviceAccountName, RoleBindings, projected tokens, audience and kubectl auth can-i permissions. Workload context: Two workloads share the default service account and one unexpectedly gains permissions intended for the other.
D:Combine RBAC with NetworkPolicy to control both Kubernetes API permissions and east-west workload traffic. This step belongs to Namespace segmentation with NetworkPolicies rather than the complementary implementation and evidence pair. The intended approach is: Assign dedicated Kubernetes service accounts and least-privilege RBAC for workloads accessing the API. Validate with: Inspect serviceAccountName, RoleBindings, projected tokens, audience and kubectl auth can-i permissions. Workload context: Two workloads share the default service account and one unexpectedly gains permissions intended for the other.
E:Inspect StatefulSet ordinal Pod names, headless Service, volumeClaimTemplates and update strategy. This step belongs to StatefulSet identity and volume templates rather than the complementary implementation and evidence pair. The intended approach is: Assign dedicated Kubernetes service accounts and least-privilege RBAC for workloads accessing the API. Validate with: Inspect serviceAccountName, RoleBindings, projected tokens, audience and kubectl auth can-i permissions. Workload context: Two workloads share the default service account and one unexpectedly gains permissions intended for the other.
Question 404
A Deployment has a PDB that permits one disruption and maintenance engineers try to drain several nodes simultaneously. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?
- Control-plane and node upgrades complete within supported skew with workload compatibility checks passing.
- Missing workload replicas are recreated from their controllers and desired counts converge after disruptions.
- Planned node drains respect application availability requirements without confusing voluntary and involuntary disruptions.
- Unschedulable unhealthy nodes are excluded until they meet documented readiness checks, preserving healthy placement.
Explanation
Correct Answer
C:Planned node drains respect application availability requirements without confusing voluntary and involuntary disruptions. This is an observable service outcome, not just evidence that a configuration file was saved. A PodDisruptionBudget governs voluntary eviction; it does not guarantee protection against hardware failure or create new replicas. Workload context: A Deployment has a PDB that permits one disruption and maintenance engineers try to drain several nodes simultaneously.
Incorrect Answers
A:Control-plane and node upgrades complete within supported skew with workload compatibility checks passing. That result validates Kubernetes upgrades and version skew rather than the requirement here. Verify instead: Planned node drains respect application availability requirements without confusing voluntary and involuntary disruptions. Workload context: A Deployment has a PDB that permits one disruption and maintenance engineers try to drain several nodes simultaneously.
B:Missing workload replicas are recreated from their controllers and desired counts converge after disruptions. That result validates Controller manager reconciliation loops rather than the requirement here. Verify instead: Planned node drains respect application availability requirements without confusing voluntary and involuntary disruptions. Workload context: A Deployment has a PDB that permits one disruption and maintenance engineers try to drain several nodes simultaneously.
D:Unschedulable unhealthy nodes are excluded until they meet documented readiness checks, preserving healthy placement. That result validates Node readiness and scheduling exclusion rather than the requirement here. Verify instead: Planned node drains respect application availability requirements without confusing voluntary and involuntary disruptions. Workload context: A Deployment has a PDB that permits one disruption and maintenance engineers try to drain several nodes simultaneously.
Question 405
An app places raw user IDs in metric labels and monitoring costs explode as the number of active accounts grows. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Define user-relevant service-level indicators and objectives for availability, error rate or latency with practical alert thresholds.
- Inspect metric labels and samples, log fields, trace/span correlation and sampling rates.
- Platform selections fit the actual problem without expecting one component to implement the whole cloud native stack.
- Inspect ServiceMonitor or scrape config, /metrics endpoint, target health, scrape interval and sample labels.
- Expose application metrics in supported Prometheus format and configure authorized scrape targets and label cardinality.
Explanation
Correct Answers
D:Inspect ServiceMonitor or scrape config, /metrics endpoint, target health, scrape interval and sample labels. This is the most discriminating evidence for the described failure or requirement. Prometheus primarily scrapes targets on an interval; instrumentation must expose values and high-cardinality labels can overload storage. The corresponding implementation is: Expose application metrics in supported Prometheus format and configure authorized scrape targets and label cardinality. This is the diagnostic evidence part of the paired answer. Workload context: An app places raw user IDs in metric labels and monitoring costs explode as the number of active accounts grows.
E:Expose application metrics in supported Prometheus format and configure authorized scrape targets and label cardinality. This response implements the controlling Kubernetes or cloud native principle. Prometheus primarily scrapes targets on an interval; instrumentation must expose values and high-cardinality labels can overload storage. Check its effect by: Inspect ServiceMonitor or scrape config, /metrics endpoint, target health, scrape interval and sample labels. This is the implementation part of the required paired answer. Workload context: An app places raw user IDs in metric labels and monitoring costs explode as the number of active accounts grows.
Incorrect Answers
A:Define user-relevant service-level indicators and objectives for availability, error rate or latency with practical alert thresholds. This step belongs to SLIs SLOs and golden signals rather than the complementary implementation and evidence pair. The intended approach is: Expose application metrics in supported Prometheus format and configure authorized scrape targets and label cardinality. Validate with: Inspect ServiceMonitor or scrape config, /metrics endpoint, target health, scrape interval and sample labels. Workload context: An app places raw user IDs in metric labels and monitoring costs explode as the number of active accounts grows.
B:Inspect metric labels and samples, log fields, trace/span correlation and sampling rates. This step belongs to Metrics logs and traces distinctions rather than the complementary implementation and evidence pair. The intended approach is: Expose application metrics in supported Prometheus format and configure authorized scrape targets and label cardinality. Validate with: Inspect ServiceMonitor or scrape config, /metrics endpoint, target health, scrape interval and sample labels. Workload context: An app places raw user IDs in metric labels and monitoring costs explode as the number of active accounts grows.
C:Platform selections fit the actual problem without expecting one component to implement the whole cloud native stack. This step belongs to CNCF ecosystem and Kubernetes roles rather than the complementary implementation and evidence pair. The intended approach is: Expose application metrics in supported Prometheus format and configure authorized scrape targets and label cardinality. Validate with: Inspect ServiceMonitor or scrape config, /metrics endpoint, target health, scrape interval and sample labels. Workload context: An app places raw user IDs in metric labels and monitoring costs explode as the number of active accounts grows.
Question 406
A startup chooses a graduated project without testing whether it supports required protocols and maintenance staffing. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?
- Distributed requests produce correlated spans and approved telemetry reaches its configured backend without leaking secrets.
- The team selects a suitable maintained project based on requirements rather than mistaking ecosystem status for a warranty.
- Workloads can be redeployed between supported clusters with explicitly identified environment-specific adaptations.
- Platform selections fit the actual problem without expecting one component to implement the whole cloud native stack.
Explanation
Correct Answer
B:The team selects a suitable maintained project based on requirements rather than mistaking ecosystem status for a warranty. This is an observable service outcome, not just evidence that a configuration file was saved. CNCF maturity levels indicate aspects of governance and adoption, not a guarantee of security or perfect product fit. Workload context: A startup chooses a graduated project without testing whether it supports required protocols and maintenance staffing.
Incorrect Answers
A: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: The team selects a suitable maintained project based on requirements rather than mistaking ecosystem status for a warranty. Workload context: A startup chooses a graduated project without testing whether it supports required protocols and maintenance staffing.
C:Workloads can be redeployed between supported clusters with explicitly identified environment-specific adaptations. That result validates Open standards vendor-neutral portability rather than the requirement here. Verify instead: The team selects a suitable maintained project based on requirements rather than mistaking ecosystem status for a warranty. Workload context: A startup chooses a graduated project without testing whether it supports required protocols and maintenance staffing.
D:Platform selections fit the actual problem without expecting one component to implement the whole cloud native stack. That result validates CNCF ecosystem and Kubernetes roles rather than the requirement here. Verify instead: The team selects a suitable maintained project based on requirements rather than mistaking ecosystem status for a warranty. Workload context: A startup chooses a graduated project without testing whether it supports required protocols and maintenance staffing.
Question 407
A distroless application container lacks a shell and engineers propose rebuilding production solely to install ping and curl. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?
- Inspect Pod ephemeralContainers entries, RBAC privileges, target process namespace and active diagnostic sessions.
- Inspect Dockerfile layer history, build context, cache usage, image size and scanner findings.
- Inspect kubelet runtime endpoint, CRI protocol support, containerd service status and runtime errors.
- Validate manifest API group/version, field schema, kind, namespace, admission responses and managed-field conflicts.
Explanation
Correct Answer
A:Inspect Pod ephemeralContainers entries, RBAC privileges, target process namespace and active diagnostic sessions. This is the most discriminating evidence for the described failure or requirement. Ephemeral containers are intended for debugging and do not behave like ordinary replicated application containers. The corresponding implementation is: Use an authorized ephemeral container for live Pod diagnostics when the original image lacks troubleshooting tools. Workload context: A distroless application container lacks a shell and engineers propose rebuilding production solely to install ping and curl.
Incorrect Answers
B:Inspect Dockerfile layer history, build context, cache usage, image size and scanner findings. These observations are more relevant to Image layers and build cache, not this case. The distinguishing check is: Inspect Pod ephemeralContainers entries, RBAC privileges, target process namespace and active diagnostic sessions. Workload context: A distroless application container lacks a shell and engineers propose rebuilding production solely to install ping and curl.
C:Inspect kubelet runtime endpoint, CRI protocol support, containerd service status and runtime errors. These observations are more relevant to Container runtime and CRI, not this case. The distinguishing check is: Inspect Pod ephemeralContainers entries, RBAC privileges, target process namespace and active diagnostic sessions. Workload context: A distroless application container lacks a shell and engineers propose rebuilding production solely to install ping and curl.
D:Validate manifest API group/version, field schema, kind, namespace, admission responses and managed-field conflicts. These observations are more relevant to Declarative resource manifests and API versions, not this case. The distinguishing check is: Inspect Pod ephemeralContainers entries, RBAC privileges, target process namespace and active diagnostic sessions. Workload context: A distroless application container lacks a shell and engineers propose rebuilding production solely to install ping and curl.
Question 408
An operations team copies a manifest from an old tutorial and receives no matches for the requested resource version. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?
- Control-plane and node upgrades complete within supported skew with workload compatibility checks passing.
- Unschedulable unhealthy nodes are excluded until they meet documented readiness checks, preserving healthy placement.
- Teams see only permitted namespaced resources and network access is constrained by explicit policies.
- A supported resource can be applied predictably and unknown fields or removed API versions are identified before rollout.
Explanation
Correct Answer
D:A supported resource can be applied predictably and unknown fields or removed API versions are identified before rollout. This is an observable service outcome, not just evidence that a configuration file was saved. Kubernetes API versions are resource-specific and evolve; a valid YAML file does not guarantee the API accepts its kind or schema. Workload context: An operations team copies a manifest from an old tutorial and receives no matches for the requested resource version.
Incorrect Answers
A:Control-plane and node upgrades complete within supported skew with workload compatibility checks passing. That result validates Kubernetes upgrades and version skew rather than the requirement here. Verify instead: A supported resource can be applied predictably and unknown fields or removed API versions are identified before rollout. Workload context: An operations team copies a manifest from an old tutorial and receives no matches for the requested resource version.
B:Unschedulable unhealthy nodes are excluded until they meet documented readiness checks, preserving healthy placement. That result validates Node readiness and scheduling exclusion rather than the requirement here. Verify instead: A supported resource can be applied predictably and unknown fields or removed API versions are identified before rollout. Workload context: An operations team copies a manifest from an old tutorial and receives no matches for the requested resource version.
C: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: A supported resource can be applied predictably and unknown fields or removed API versions are identified before rollout. Workload context: An operations team copies a manifest from an old tutorial and receives no matches for the requested resource version.
Question 409
A Deployment appears Available but one pod has recurring restarts and administrators need to correlate describe events with app logs. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Use kubectl get, describe and logs as complementary views of object state, events and container output before changing resources.
- Assign stable labels for matching workload membership, and use annotations for nonselecting descriptive metadata.
- Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily.
- Cordon a node before planned maintenance, then use drain with workload safety checks and restore scheduling after validation.
Explanation
Correct Answer
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. Workload context: A Deployment appears Available but one pod has recurring restarts and administrators need to correlate describe events with app logs.
Incorrect Answers
B:Assign stable labels for matching workload membership, and use annotations for nonselecting descriptive metadata. This action addresses Labels selectors and annotations instead of the controlling requirement. Labels support equality and set-based selectors; annotations do not become Service selectors automatically. For this scenario prefer: Use kubectl get, describe and logs as complementary views of object state, events and container output before changing resources. Workload context: A Deployment appears Available but one pod has recurring restarts and administrators need to correlate describe events with app logs.
C:Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily. This action addresses Kubernetes upgrades and version skew instead of the controlling requirement. API compatibility and supported component skew determine upgrade sequencing; not every Kubernetes version jump is supported. For this scenario prefer: Use kubectl get, describe and logs as complementary views of object state, events and container output before changing resources. Workload context: A Deployment appears Available but one pod has recurring restarts and administrators need to correlate describe events with app logs.
D:Cordon a node before planned maintenance, then use drain with workload safety checks and restore scheduling after validation. This action addresses Node cordon drain maintenance instead of the controlling requirement. cordon prevents new scheduling while drain attempts safe evictions; existing Pods are not deleted by cordon alone. For this scenario prefer: Use kubectl get, describe and logs as complementary views of object state, events and container output before changing resources. Workload context: A Deployment appears Available but one pod has recurring restarts and administrators need to correlate describe events with app logs.
Question 410
Multiple Pods on the same node mount one ReadWriteOnce volume and an engineer mistakes the mode for a strict single-Pod guarantee. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Configure StorageClass WaitForFirstConsumer when scheduling topology must influence dynamic volume provisioning.
- Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability.
- Apply RBAC and encryption-at-rest controls to Kubernetes Secrets and avoid exposing decoded values in logs or public manifests.
- Distinguish authenticating a Kubernetes API caller from authorizing verbs and validating or mutating admission behavior.
Explanation
Correct Answer
B:Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability. This response implements the controlling Kubernetes or cloud native principle. ReadWriteOnce normally limits read-write mounting to one node, not necessarily exactly one Pod; driver behavior matters. Check its effect by: Inspect PV/PVC accessModes, actual mount failures, driver support and multi-node workload placement. Workload context: Multiple Pods on the same node mount one ReadWriteOnce volume and an engineer mistakes the mode for a strict single-Pod guarantee.
Incorrect Answers
A: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: Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability. Workload context: Multiple Pods on the same node mount one ReadWriteOnce volume and an engineer mistakes the mode for a strict single-Pod guarantee.
C:Apply RBAC and encryption-at-rest controls to Kubernetes Secrets and avoid exposing decoded values in logs or public manifests. This action addresses Secret base64 encoding versus encryption instead of the controlling requirement. Base64 is a reversible encoding, not encryption; Secret storage and access policies require separate protection. For this scenario prefer: Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability. Workload context: Multiple Pods on the same node mount one ReadWriteOnce volume and an engineer mistakes the mode for a strict single-Pod guarantee.
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: Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability. Workload context: Multiple Pods on the same node mount one ReadWriteOnce volume and an engineer mistakes the mode for a strict single-Pod guarantee.