Linux Foundation KCNA Practice Test 38
Question 370
An operator deploys an ephemeral debug container without a target process namespace and cannot observe the expected application process. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?
- A failing candidate build halts or rolls back before reaching full audience while healthy versions progress safely.
- Troubleshooters inspect network and process behavior without bloating or rebuilding the immutable production image.
- Root-cause hypotheses align with recorded warning events and targeted corrective actions.
- Diagnostics are reproducible, scoped and do not leave unreviewed configuration changes inside containers.
Explanation
Correct Answer
B:Troubleshooters inspect network and process behavior without bloating or rebuilding the immutable production image. This is an observable service outcome, not just evidence that a configuration file was saved. Ephemeral containers are for diagnostics and cannot be treated as permanent workload replicas or restarted like ordinary containers. Workload context: An operator deploys an ephemeral debug container without a target process namespace and cannot observe the expected application process.
Incorrect Answers
A:A failing candidate build halts or rolls back before reaching full audience while healthy versions progress safely. That result validates Progressive delivery and release metrics rather than the requirement here. Verify instead: Troubleshooters inspect network and process behavior without bloating or rebuilding the immutable production image. Workload context: An operator deploys an ephemeral debug container without a target process namespace and cannot observe the expected application process.
C:Root-cause hypotheses align with recorded warning events and targeted corrective actions. That result validates kubectl describe and event chronology rather than the requirement here. Verify instead: Troubleshooters inspect network and process behavior without bloating or rebuilding the immutable production image. Workload context: An operator deploys an ephemeral debug container without a target process namespace and cannot observe the expected application process.
D:Diagnostics are reproducible, scoped and do not leave unreviewed configuration changes inside containers. That result validates kubectl exec diagnostic boundaries rather than the requirement here. Verify instead: Troubleshooters inspect network and process behavior without bloating or rebuilding the immutable production image. Workload context: An operator deploys an ephemeral debug container without a target process namespace and cannot observe the expected application process.
Question 371
Developers believe storing YAML in Git is sufficient GitOps despite having no automated pull reconciliation or drift detection. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Diagnostics are reproducible, scoped and do not leave unreviewed configuration changes inside containers.
- Inspect traffic split, Service selectors or routing weights, version identity and representative user metrics.
- Configure Deployment rollout strategy with availability bounds and use rollout history when an update requires controlled rollback.
- Compare Git revision, application sync status, live resource diff and reconciliation events.
- Use a versioned Git repository as declarative desired state and a reconciler to detect and correct drift with approved change controls.
Explanation
Correct Answers
D:Compare Git revision, application sync status, live resource diff and reconciliation events. This is the most discriminating evidence for the described failure or requirement. GitOps is a pull/reconciliation operating model rather than merely running kubectl from a CI server. The corresponding implementation is: Use a versioned Git repository as declarative desired state and a reconciler to detect and correct drift with approved change controls. This is the diagnostic evidence part of the paired answer. Workload context: Developers believe storing YAML in Git is sufficient GitOps despite having no automated pull reconciliation or drift detection.
E:Use a versioned Git repository as declarative desired state and a reconciler to detect and correct drift with approved change controls. This response implements the controlling Kubernetes or cloud native principle. GitOps is a pull/reconciliation operating model rather than merely running kubectl from a CI server. Check its effect by: Compare Git revision, application sync status, live resource diff and reconciliation events. This is the implementation part of the required paired answer. Workload context: Developers believe storing YAML in Git is sufficient GitOps despite having no automated pull reconciliation or drift detection.
Incorrect Answers
A:Diagnostics are reproducible, scoped and do not leave unreviewed configuration changes inside containers. This step belongs to kubectl exec diagnostic boundaries rather than the complementary implementation and evidence pair. The intended approach is: Use a versioned Git repository as declarative desired state and a reconciler to detect and correct drift with approved change controls. Validate with: Compare Git revision, application sync status, live resource diff and reconciliation events. Workload context: Developers believe storing YAML in Git is sufficient GitOps despite having no automated pull reconciliation or drift detection.
B:Inspect traffic split, Service selectors or routing weights, version identity and representative user metrics. This step belongs to Blue-green versus canary release patterns rather than the complementary implementation and evidence pair. The intended approach is: Use a versioned Git repository as declarative desired state and a reconciler to detect and correct drift with approved change controls. Validate with: Compare Git revision, application sync status, live resource diff and reconciliation events. Workload context: Developers believe storing YAML in Git is sufficient GitOps despite having no automated pull reconciliation or drift detection.
C:Configure Deployment rollout strategy with availability bounds and use rollout history when an update requires controlled rollback. This step belongs to Deployment rolling updates and rollback rather than the complementary implementation and evidence pair. The intended approach is: Use a versioned Git repository as declarative desired state and a reconciler to detect and correct drift with approved change controls. Validate with: Compare Git revision, application sync status, live resource diff and reconciliation events. Workload context: Developers believe storing YAML in Git is sufficient GitOps despite having no automated pull reconciliation or drift detection.
Question 372
An engineer exposes database Pods using a NodePort solely because an in-cluster client needs a stable private name. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Place a Kubernetes Service in front of ephemeral Pods when callers need stable discovery independent of individual Pod IP changes.
- Inspect affinity terms, matchExpressions, node labels, scheduler feasibility and fallback placement.
- Scheduling constraints match verified node attributes without exhausting reserved system resources.
- Inspect Service type, selector, EndpointSlices, DNS name and backend Pod readiness.
- Use kube-apiserver as the authenticated front end for Kubernetes API objects, rather than connecting clients directly to etcd.
Explanation
Correct Answers
A:Place a Kubernetes Service in front of ephemeral Pods when callers need stable discovery independent of individual Pod IP changes. This response implements the controlling Kubernetes or cloud native principle. A Service abstracts changing Pod endpoints; exposing a ClusterIP does not automatically create public Internet access. Check its effect by: Inspect Service type, selector, EndpointSlices, DNS name and backend Pod readiness. This is the implementation part of the required paired answer. Workload context: An engineer exposes database Pods using a NodePort solely because an in-cluster client needs a stable private name.
D:Inspect Service type, selector, EndpointSlices, DNS name and backend Pod readiness. This is the most discriminating evidence for the described failure or requirement. A Service abstracts changing Pod endpoints; exposing a ClusterIP does not automatically create public Internet access. The corresponding implementation is: Place a Kubernetes Service in front of ephemeral Pods when callers need stable discovery independent of individual Pod IP changes. This is the diagnostic evidence part of the paired answer. Workload context: An engineer exposes database Pods using a NodePort solely because an in-cluster client needs a stable private name.
Incorrect Answers
B:Inspect affinity terms, matchExpressions, node labels, scheduler feasibility and fallback placement. This step belongs to Node affinity required vs preferred rather than the complementary implementation and evidence pair. The intended approach is: Place a Kubernetes Service in front of ephemeral Pods when callers need stable discovery independent of individual Pod IP changes. Validate with: Inspect Service type, selector, EndpointSlices, DNS name and backend Pod readiness. Workload context: An engineer exposes database Pods using a NodePort solely because an in-cluster client needs a stable private name.
C:Scheduling constraints match verified node attributes without exhausting reserved system resources. This step belongs to Node labels and allocatable inventory rather than the complementary implementation and evidence pair. The intended approach is: Place a Kubernetes Service in front of ephemeral Pods when callers need stable discovery independent of individual Pod IP changes. Validate with: Inspect Service type, selector, EndpointSlices, DNS name and backend Pod readiness. Workload context: An engineer exposes database Pods using a NodePort solely because an in-cluster client needs a stable private name.
E:Use kube-apiserver as the authenticated front end for Kubernetes API objects, rather than connecting clients directly to etcd. This step belongs to Kubernetes API server and API requests rather than the complementary implementation and evidence pair. The intended approach is: Place a Kubernetes Service in front of ephemeral Pods when callers need stable discovery independent of individual Pod IP changes. Validate with: Inspect Service type, selector, EndpointSlices, DNS name and backend Pod readiness. Workload context: An engineer exposes database Pods using a NodePort solely because an in-cluster client needs a stable private name.
Question 373
Two replicas must not share a host but the Deployment uses podAffinity and places both beside each other. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Pin production images to verified digests or governed immutable tags so every node runs a known artifact.
- Use the scheduler to select feasible nodes and the cluster autoscaler to adjust node capacity when unschedulable Pods can fit a supported node group.
- Define podAffinity for desired co-location and podAntiAffinity to separate replicas across appropriate topology domains.
- Configure PodDisruptionBudgets for voluntary disruptions while distinguishing eviction safety from normal scheduling decisions.
Explanation
Correct Answer
C:Define podAffinity for desired co-location and podAntiAffinity to separate replicas across appropriate topology domains. This response implements the controlling Kubernetes or cloud native principle. Pod affinity references other Pods by labels, not node resource attributes, and required rules can make replicas Pending. Check its effect by: Inspect Pod label selectors, namespaces, topologyKey and actual placement of matching peer Pods. Workload context: Two replicas must not share a host but the Deployment uses podAffinity and places both beside each other.
Incorrect Answers
A:Pin production images to verified digests or governed immutable tags so every node runs a known artifact. This action addresses Immutable container images and digests instead of the controlling requirement. Mutable image tags can resolve to different builds over time; digests identify immutable content. For this scenario prefer: Define podAffinity for desired co-location and podAntiAffinity to separate replicas across appropriate topology domains. Workload context: Two replicas must not share a host but the Deployment uses podAffinity and places both beside each other.
B:Use the scheduler to select feasible nodes and the cluster autoscaler to adjust node capacity when unschedulable Pods can fit a supported node group. This action addresses Scheduler versus autoscaler responsibility instead of the controlling requirement. The autoscaler provisions nodes; it does not assign Pod nodeName or fix impossible affinity or quota constraints by itself. For this scenario prefer: Define podAffinity for desired co-location and podAntiAffinity to separate replicas across appropriate topology domains. Workload context: Two replicas must not share a host but the Deployment uses podAffinity and places both beside each other.
D: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: Define podAffinity for desired co-location and podAntiAffinity to separate replicas across appropriate topology domains. Workload context: Two replicas must not share a host but the Deployment uses podAffinity and places both beside each other.
Question 374
A project sets an audit Pod Security label and assumes this alone prevents privileged workloads from starting. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?
- Inspect securityContext, runAsUser, allowPrivilegeEscalation, capabilities, seccompProfile and startup errors.
- Review namespace pod-security labels, admission warnings, violations and workload securityContext.
- Inspect kubectl describe Pod events, requests, node taints, PVC claims and node affinity.
- Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests.
Explanation
Correct Answer
B:Review namespace pod-security labels, admission warnings, violations and workload securityContext. This is the most discriminating evidence for the described failure or requirement. Pod Security Admission evaluates security standards at admission; it does not continuously sandbox existing containers after admission. The corresponding implementation is: Configure Pod Security Admission policy levels for namespaces to restrict unsafe Pod settings while documenting exceptions. Workload context: A project sets an audit Pod Security label and assumes this alone prevents privileged workloads from starting.
Incorrect Answers
A:Inspect securityContext, runAsUser, allowPrivilegeEscalation, capabilities, seccompProfile and startup errors. These observations are more relevant to Linux securityContext and seccomp basics, not this case. The distinguishing check is: Review namespace pod-security labels, admission warnings, violations and workload securityContext. Workload context: A project sets an audit Pod Security label and assumes this alone prevents privileged workloads from starting.
C:Inspect kubectl describe Pod events, requests, node taints, PVC claims and node affinity. These observations are more relevant to Pending pod FailedScheduling events, not this case. The distinguishing check is: Review namespace pod-security labels, admission warnings, violations and workload securityContext. Workload context: A project sets an audit Pod Security label and assumes this alone prevents privileged workloads from starting.
D:Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests. These observations are more relevant to Namespace segmentation with NetworkPolicies, not this case. The distinguishing check is: Review namespace pod-security labels, admission warnings, violations and workload securityContext. Workload context: A project sets an audit Pod Security label and assumes this alone prevents privileged workloads from starting.
Question 375
A log forwarder in a separate Pod tries to reach localhost:9000 on the application Pod and fails. 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.
- An operator investigates a running Pod without modifying its immutable application image or replacing production workload containers.
- The helper supports the main app and its lifecycle is correctly coordinated during start and shutdown.
- Cluster state can be recovered from a tested snapshot with quorum intact and application volumes handled separately.
Explanation
Correct Answer
C:The helper supports the main app and its lifecycle is correctly coordinated during start and shutdown. This is an observable service outcome, not just evidence that a configuration file was saved. Sidecars share a Pod network context; careless start or termination ordering can block a workload. Workload context: A log forwarder in a separate Pod tries to reach localhost:9000 on the application Pod and fails.
Incorrect Answers
A:Kubelet can start Pod sandboxes and containers through the configured CRI without incompatible shim failures. That result validates Container runtime and CRI rather than the requirement here. Verify instead: The helper supports the main app and its lifecycle is correctly coordinated during start and shutdown. Workload context: A log forwarder in a separate Pod tries to reach localhost:9000 on the application Pod and fails.
B:An operator investigates a running Pod without modifying its immutable application image or replacing production workload containers. That result validates Ephemeral debugging containers rather than the requirement here. Verify instead: The helper supports the main app and its lifecycle is correctly coordinated during start and shutdown. Workload context: A log forwarder in a separate Pod tries to reach localhost:9000 on the application Pod and fails.
D:Cluster state can be recovered from a tested snapshot with quorum intact and application volumes handled separately. That result validates etcd consistency and cluster state rather than the requirement here. Verify instead: The helper supports the main app and its lifecycle is correctly coordinated during start and shutdown. Workload context: A log forwarder in a separate Pod tries to reach localhost:9000 on the application Pod and fails.
Question 376
An app restarted twice and the current logs show only successful initialization while the failure trace is in previous logs. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Inspect pod/container name, restartCount, lastState, previous log output and log collector availability.
- Inspect Deployment observedGeneration, rollout status, revision annotations, ReplicaSet ownership and release events.
- Examine object conditions and timestamped Events to understand image, scheduling, mount and admission failures before applying speculative fixes.
- Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads.
- Live cluster configurations converge to reviewed Git commits and unauthorized drift is flagged or corrected.
Explanation
Correct Answers
A:Inspect pod/container name, restartCount, lastState, previous log output and log collector availability. This is the most discriminating evidence for the described failure or requirement. kubectl logs streams container stdout/stderr, and --previous selects the prior terminated instance if available. The corresponding implementation is: Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads. This is the diagnostic evidence part of the paired answer. Workload context: An app restarted twice and the current logs show only successful initialization while the failure trace is in previous logs.
D:Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads. This response implements the controlling Kubernetes or cloud native principle. kubectl logs streams container stdout/stderr, and --previous selects the prior terminated instance if available. Check its effect by: Inspect pod/container name, restartCount, lastState, previous log output and log collector availability. This is the implementation part of the required paired answer. Workload context: An app restarted twice and the current logs show only successful initialization while the failure trace is in previous logs.
Incorrect Answers
B:Inspect Deployment observedGeneration, rollout status, revision annotations, ReplicaSet ownership and release events. This step belongs to Rollout history status and change correlation rather than the complementary implementation and evidence pair. The intended approach is: Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads. Validate with: Inspect pod/container name, restartCount, lastState, previous log output and log collector availability. Workload context: An app restarted twice and the current logs show only successful initialization while the failure trace is in previous logs.
C:Examine object conditions and timestamped Events to understand image, scheduling, mount and admission failures before applying speculative fixes. This step belongs to kubectl describe and event chronology rather than the complementary implementation and evidence pair. The intended approach is: Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads. Validate with: Inspect pod/container name, restartCount, lastState, previous log output and log collector availability. Workload context: An app restarted twice and the current logs show only successful initialization while the failure trace is in previous logs.
E:Live cluster configurations converge to reviewed Git commits and unauthorized drift is flagged or corrected. This step belongs to GitOps reconciliation and source of truth rather than the complementary implementation and evidence pair. The intended approach is: Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads. Validate with: Inspect pod/container name, restartCount, lastState, previous log output and log collector availability. Workload context: An app restarted twice and the current logs show only successful initialization while the failure trace is in previous logs.
Question 377
An operator assumes a strict PDB will keep an application online even when every worker suffers a power outage. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Principals can perform only intended operations at the correct scope while denied actions remain inaccessible.
- Inspect allowedDisruptions, healthy replicas, minAvailable/maxUnavailable and drain eviction results.
- Apply taints to repel unauthorized scheduling and give only intended workloads matching tolerations.
- Check resource namespace, role bindings, quotas and effective network enforcement across namespaces.
- Configure PodDisruptionBudgets for voluntary disruptions while distinguishing eviction safety from normal scheduling decisions.
Explanation
Correct Answers
B:Inspect allowedDisruptions, healthy replicas, minAvailable/maxUnavailable and drain eviction results. This is the most discriminating evidence for the described failure or requirement. A PodDisruptionBudget governs voluntary eviction; it does not guarantee protection against hardware failure or create new replicas. The corresponding implementation is: Configure PodDisruptionBudgets for voluntary disruptions while distinguishing eviction safety from normal scheduling decisions. This is the diagnostic evidence part of the paired answer. Workload context: An operator assumes a strict PDB will keep an application online even when every worker suffers a power outage.
E:Configure PodDisruptionBudgets for voluntary disruptions while distinguishing eviction safety from normal scheduling decisions. This response implements the controlling Kubernetes or cloud native principle. A PodDisruptionBudget governs voluntary eviction; it does not guarantee protection against hardware failure or create new replicas. Check its effect by: Inspect allowedDisruptions, healthy replicas, minAvailable/maxUnavailable and drain eviction results. This is the implementation part of the required paired answer. Workload context: An operator assumes a strict PDB will keep an application online even when every worker suffers a power outage.
Incorrect Answers
A:Principals can perform only intended operations at the correct scope while denied actions remain inaccessible. This step belongs to Role and ClusterRole authorization rather than the complementary implementation and evidence pair. The intended approach is: Configure PodDisruptionBudgets for voluntary disruptions while distinguishing eviction safety from normal scheduling decisions. Validate with: Inspect allowedDisruptions, healthy replicas, minAvailable/maxUnavailable and drain eviction results. Workload context: An operator assumes a strict PDB will keep an application online even when every worker suffers a power outage.
C:Apply taints to repel unauthorized scheduling and give only intended workloads matching tolerations. This step belongs to Taints tolerations and node protection rather than the complementary implementation and evidence pair. The intended approach is: Configure PodDisruptionBudgets for voluntary disruptions while distinguishing eviction safety from normal scheduling decisions. Validate with: Inspect allowedDisruptions, healthy replicas, minAvailable/maxUnavailable and drain eviction results. Workload context: An operator assumes a strict PDB will keep an application online even when every worker suffers a power outage.
D:Check resource namespace, role bindings, quotas and effective network enforcement across namespaces. This step belongs to Namespace scope and limits rather than the complementary implementation and evidence pair. The intended approach is: Configure PodDisruptionBudgets for voluntary disruptions while distinguishing eviction safety from normal scheduling decisions. Validate with: Inspect allowedDisruptions, healthy replicas, minAvailable/maxUnavailable and drain eviction results. Workload context: An operator assumes a strict PDB will keep an application online even when every worker suffers a power outage.
Question 378
A cost-sensitive workload uses required affinity for spot nodes and becomes Pending when only on-demand capacity exists. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Use the scheduler to select feasible nodes and the cluster autoscaler to adjust node capacity when unschedulable Pods can fit a supported node group.
- Apply namespace ResourceQuota and LimitRange policies to govern aggregate consumption and default/request bounds.
- Align volume topology with Pod scheduling, using StorageClass binding behavior appropriate for zonal storage.
- Choose requiredDuringSchedulingIgnoredDuringExecution for a hard node preference and preferred rules for soft placement choices.
Explanation
Correct Answer
D:Choose requiredDuringSchedulingIgnoredDuringExecution for a hard node preference and preferred rules for soft placement choices. This response implements the controlling Kubernetes or cloud native principle. Preferred affinity can be ignored to schedule a Pod; required affinity must be satisfied at scheduling time. Check its effect by: Inspect affinity terms, matchExpressions, node labels, scheduler feasibility and fallback placement. Workload context: A cost-sensitive workload uses required affinity for spot nodes and becomes Pending when only on-demand capacity exists.
Incorrect Answers
A:Use the scheduler to select feasible nodes and the cluster autoscaler to adjust node capacity when unschedulable Pods can fit a supported node group. This action addresses Scheduler versus autoscaler responsibility instead of the controlling requirement. The autoscaler provisions nodes; it does not assign Pod nodeName or fix impossible affinity or quota constraints by itself. For this scenario prefer: Choose requiredDuringSchedulingIgnoredDuringExecution for a hard node preference and preferred rules for soft placement choices. Workload context: A cost-sensitive workload uses required affinity for spot nodes and becomes Pending when only on-demand capacity exists.
B: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: Choose requiredDuringSchedulingIgnoredDuringExecution for a hard node preference and preferred rules for soft placement choices. Workload context: A cost-sensitive workload uses required affinity for spot nodes and becomes Pending when only on-demand capacity exists.
C:Align volume topology with Pod scheduling, using StorageClass binding behavior appropriate for zonal storage. This action addresses PersistentVolume zone binding and placement instead of the controlling requirement. Immediate volume binding can constrain later Pod placement, while WaitForFirstConsumer accounts for scheduling topology. For this scenario prefer: Choose requiredDuringSchedulingIgnoredDuringExecution for a hard node preference and preferred rules for soft placement choices. Workload context: A cost-sensitive workload uses required affinity for spot nodes and becomes Pending when only on-demand capacity exists.
Question 379
Two full application stacks run in parallel and the team switches the primary Service selector after validating the idle green stack. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Examine trusted builder identity, attestation payload, artifact digest, SBOM and admission verification result.
- Healthy Pods enter ready endpoints only after application dependencies function, without restarting healthy processes unnecessarily.
- Choose blue-green for switching between full environments and canary for gradually exposing a small percentage of users to a new version.
- Inspect traffic split, Service selectors or routing weights, version identity and representative user metrics.
- Use continuous integration to build and test changes and controlled delivery or deployment to promote validated artifacts to target environments.
Explanation
Correct Answers
C:Choose blue-green for switching between full environments and canary for gradually exposing a small percentage of users to a new version. This response implements the controlling Kubernetes or cloud native principle. Blue-green switches environments, whereas canary ramps exposure; a basic Deployment alone may not provide precise traffic percentages. Check its effect by: Inspect traffic split, Service selectors or routing weights, version identity and representative user metrics. This is the implementation part of the required paired answer. Workload context: Two full application stacks run in parallel and the team switches the primary Service selector after validating the idle green stack.
D:Inspect traffic split, Service selectors or routing weights, version identity and representative user metrics. This is the most discriminating evidence for the described failure or requirement. Blue-green switches environments, whereas canary ramps exposure; a basic Deployment alone may not provide precise traffic percentages. The corresponding implementation is: Choose blue-green for switching between full environments and canary for gradually exposing a small percentage of users to a new version. This is the diagnostic evidence part of the paired answer. Workload context: Two full application stacks run in parallel and the team switches the primary Service selector after validating the idle green stack.
Incorrect Answers
A:Examine trusted builder identity, attestation payload, artifact digest, SBOM and admission verification result. This step belongs to Software supply chain attestations rather than the complementary implementation and evidence pair. The intended approach is: Choose blue-green for switching between full environments and canary for gradually exposing a small percentage of users to a new version. Validate with: Inspect traffic split, Service selectors or routing weights, version identity and representative user metrics. Workload context: Two full application stacks run in parallel and the team switches the primary Service selector after validating the idle green stack.
B:Healthy Pods enter ready endpoints only after application dependencies function, without restarting healthy processes unnecessarily. This step belongs to Readiness-probe failure versus process crash rather than the complementary implementation and evidence pair. The intended approach is: Choose blue-green for switching between full environments and canary for gradually exposing a small percentage of users to a new version. Validate with: Inspect traffic split, Service selectors or routing weights, version identity and representative user metrics. Workload context: Two full application stacks run in parallel and the team switches the primary Service selector after validating the idle green stack.
E:Use continuous integration to build and test changes and controlled delivery or deployment to promote validated artifacts to target environments. This step belongs to CI versus CD pipeline separation rather than the complementary implementation and evidence pair. The intended approach is: Choose blue-green for switching between full environments and canary for gradually exposing a small percentage of users to a new version. Validate with: Inspect traffic split, Service selectors or routing weights, version identity and representative user metrics. Workload context: Two full application stacks run in parallel and the team switches the primary Service selector after validating the idle green stack.
Question 380
An admin deletes a StatefulSet and assumes all its PVCs and underlying disks must be deleted by default. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?
- External clients reach only the intended healthy Service backends and the allocated endpoint matches network policy.
- The PVC binds to a suitable volume and survives recreation of the application Pod as designed.
- Applications mount volumes with the requested access pattern without unsupported simultaneous access assumptions.
- Each stateful replica retains its expected identity and corresponding durable storage through controlled replacement.
Explanation
Correct Answer
D:Each stateful replica retains its expected identity and corresponding durable storage through controlled replacement. This is an observable service outcome, not just evidence that a configuration file was saved. StatefulSets manage stable identities and can provision distinct PVCs; they do not automatically provide database replication correctness. Workload context: An admin deletes a StatefulSet and assumes all its PVCs and underlying disks must be deleted by default.
Incorrect Answers
A:External clients reach only the intended healthy Service backends and the allocated endpoint matches network policy. That result validates LoadBalancer Service provisioning rather than the requirement here. Verify instead: Each stateful replica retains its expected identity and corresponding durable storage through controlled replacement. Workload context: An admin deletes a StatefulSet and assumes all its PVCs and underlying disks must be deleted by default.
B:The PVC binds to a suitable volume and survives recreation of the application Pod as designed. That result validates PersistentVolume and claim bindings rather than the requirement here. Verify instead: Each stateful replica retains its expected identity and corresponding durable storage through controlled replacement. Workload context: An admin deletes a StatefulSet and assumes all its PVCs and underlying disks must be deleted by default.
C:Applications mount volumes with the requested access pattern without unsupported simultaneous access assumptions. That result validates ReadWriteOnce and ReadWriteMany semantics rather than the requirement here. Verify instead: Each stateful replica retains its expected identity and corresponding durable storage through controlled replacement. Workload context: An admin deletes a StatefulSet and assumes all its PVCs and underlying disks must be deleted by default.