Linux Foundation KCNA Practice Test 86
Question 850
A pipeline rebuilds from the same source commit for each environment and receives newer transitive dependencies in production. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Check registry digest, image signatures, deployment Pod imageID and provenance attestations across stages.
- Gate rollout progression on suitable error, latency and business metrics with explicit thresholds and rollback authorization.
- Promote the same reviewed container image digest between environments instead of rebuilding mutable tags at each stage.
- Inspect traffic split, Service selectors or routing weights, version identity and representative user metrics.
- Root-cause hypotheses align with recorded warning events and targeted corrective actions.
Explanation
Correct Answers
A:Check registry digest, image signatures, deployment Pod imageID and provenance attestations across stages. This is the most discriminating evidence for the described failure or requirement. An image digest identifies the immutable artifact; matching labels or Git SHAs alone do not prove identical layers. The corresponding implementation is: Promote the same reviewed container image digest between environments instead of rebuilding mutable tags at each stage. This is the diagnostic evidence part of the paired answer. Workload context: A pipeline rebuilds from the same source commit for each environment and receives newer transitive dependencies in production.
C:Promote the same reviewed container image digest between environments instead of rebuilding mutable tags at each stage. This response implements the controlling Kubernetes or cloud native principle. An image digest identifies the immutable artifact; matching labels or Git SHAs alone do not prove identical layers. Check its effect by: Check registry digest, image signatures, deployment Pod imageID and provenance attestations across stages. This is the implementation part of the required paired answer. Workload context: A pipeline rebuilds from the same source commit for each environment and receives newer transitive dependencies in production.
Incorrect Answers
B:Gate rollout progression on suitable error, latency and business metrics with explicit thresholds and rollback authorization. This step belongs to Progressive delivery and release metrics rather than the complementary implementation and evidence pair. The intended approach is: Promote the same reviewed container image digest between environments instead of rebuilding mutable tags at each stage. Validate with: Check registry digest, image signatures, deployment Pod imageID and provenance attestations across stages. Workload context: A pipeline rebuilds from the same source commit for each environment and receives newer transitive dependencies in production.
D: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: Promote the same reviewed container image digest between environments instead of rebuilding mutable tags at each stage. Validate with: Check registry digest, image signatures, deployment Pod imageID and provenance attestations across stages. Workload context: A pipeline rebuilds from the same source commit for each environment and receives newer transitive dependencies in production.
E:Root-cause hypotheses align with recorded warning events and targeted corrective actions. This step belongs to kubectl describe and event chronology rather than the complementary implementation and evidence pair. The intended approach is: Promote the same reviewed container image digest between environments instead of rebuilding mutable tags at each stage. Validate with: Check registry digest, image signatures, deployment Pod imageID and provenance attestations across stages. Workload context: A pipeline rebuilds from the same source commit for each environment and receives newer transitive dependencies in production.
Question 851
A team deletes a Service after seeing a timeout without inspecting endpoints, selector or targetPort details. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?
- Pods schedule based on requests and stay within resource policy without avoidable throttling or memory termination.
- Pods assigned to a healthy node start and report status with failed containers surfaced for diagnosis.
- Pending eligible Pods receive appropriate node bindings when capacity and constraints allow scheduling.
- Operators identify the failing object and use evidence before editing controllers or escalating access.
Explanation
Correct Answer
D:Operators identify the failing object and use evidence before editing controllers or escalating access. This is an observable service outcome, not just evidence that a configuration file was saved. kubectl get summarizes objects; describe reveals events and details; logs reveals container stdout/stderr, not complete API diagnostics. Workload context: A team deletes a Service after seeing a timeout without inspecting endpoints, selector or targetPort details.
Incorrect Answers
A:Pods schedule based on requests and stay within resource policy without avoidable throttling or memory termination. That result validates CPU requests and memory limits rather than the requirement here. Verify instead: Operators identify the failing object and use evidence before editing controllers or escalating access. Workload context: A team deletes a Service after seeing a timeout without inspecting endpoints, selector or targetPort details.
B:Pods assigned to a healthy node start and report status with failed containers surfaced for diagnosis. That result validates Kubelet node agent responsibilities rather than the requirement here. Verify instead: Operators identify the failing object and use evidence before editing controllers or escalating access. Workload context: A team deletes a Service after seeing a timeout without inspecting endpoints, selector or targetPort details.
C:Pending eligible Pods receive appropriate node bindings when capacity and constraints allow scheduling. That result validates Scheduler responsibility and binding rather than the requirement here. Verify instead: Operators identify the failing object and use evidence before editing controllers or escalating access. Workload context: A team deletes a Service after seeing a timeout without inspecting endpoints, selector or targetPort details.
Question 852
A project sets an audit Pod Security label and assumes this alone prevents privileged workloads from starting. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Configure Pod Security Admission policy levels for namespaces to restrict unsafe Pod settings while documenting exceptions.
- Use a Service type LoadBalancer with a supported cloud or in-cluster load-balancer controller to provide an approved external endpoint.
- 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
A:Configure Pod Security Admission policy levels for namespaces to restrict unsafe Pod settings while documenting exceptions. This response implements the controlling Kubernetes or cloud native principle. Pod Security Admission evaluates security standards at admission; it does not continuously sandbox existing containers after admission. Check its effect by: 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.
Incorrect Answers
B:Use a Service type LoadBalancer with a supported cloud or in-cluster load-balancer controller to provide an approved external endpoint. This action addresses LoadBalancer Service provisioning instead of the controlling requirement. A LoadBalancer Service depends on an implementation or provider controller; creating it does not guarantee an external address. For this scenario prefer: Configure 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.
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: 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.
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: 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.
Question 853
A Deployment references a removed private-registry tag and the kubelet repeatedly reports manifest unknown. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?
- Inspect kubectl describe Pod events, requests, node taints, PVC claims and node affinity.
- Inspect Pod pull events, image tag existence, registry TLS, imagePullSecrets and service-account references.
- Inspect external IP status, controller events, security groups, health checks and upstream target availability.
- Examine authentication identity, RBAC decision, admission webhook result and API response status.
Explanation
Correct Answer
B:Inspect Pod pull events, image tag existence, registry TLS, imagePullSecrets and service-account references. This is the most discriminating evidence for the described failure or requirement. ImagePullBackOff is a retrieval or authorization problem; changing app readiness probes cannot fix a missing image. The corresponding implementation is: Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope. Workload context: A Deployment references a removed private-registry tag and the kubelet repeatedly reports manifest unknown.
Incorrect Answers
A: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: Inspect Pod pull events, image tag existence, registry TLS, imagePullSecrets and service-account references. Workload context: A Deployment references a removed private-registry tag and the kubelet repeatedly reports manifest unknown.
C:Inspect external IP status, controller events, security groups, health checks and upstream target availability. These observations are more relevant to LoadBalancer Service provisioning, not this case. The distinguishing check is: Inspect Pod pull events, image tag existence, registry TLS, imagePullSecrets and service-account references. Workload context: A Deployment references a removed private-registry tag and the kubelet repeatedly reports manifest unknown.
D:Examine authentication identity, RBAC decision, admission webhook result and API response status. These observations are more relevant to Authentication authorization and admission order, not this case. The distinguishing check is: Inspect Pod pull events, image tag existence, registry TLS, imagePullSecrets and service-account references. Workload context: A Deployment references a removed private-registry tag and the kubelet repeatedly reports manifest unknown.
Question 854
A three-replica app lands entirely in one zone because topology spread was configured for hostname rather than zone. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Inspect allowedDisruptions, healthy replicas, minAvailable/maxUnavailable and drain eviction results.
- Use the scheduler to select feasible nodes and the cluster autoscaler to adjust node capacity when unschedulable Pods can fit a supported node group.
- Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway.
- Pending eligible Pods receive appropriate node bindings when capacity and constraints allow scheduling.
- Set topologySpreadConstraints to balance replicated Pods across zones or nodes with an explicit maxSkew and unsatisfiable action.
Explanation
Correct Answers
C:Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway. This is the most discriminating evidence for the described failure or requirement. Spread constraints balance matching Pods across topology domains; missing topology labels and strict maxSkew can prevent placement. The corresponding implementation is: Set topologySpreadConstraints to balance replicated Pods across zones or nodes with an explicit maxSkew and unsatisfiable action. This is the diagnostic evidence part of the paired answer. Workload context: A three-replica app lands entirely in one zone because topology spread was configured for hostname rather than zone.
E:Set topologySpreadConstraints to balance replicated Pods across zones or nodes with an explicit maxSkew and unsatisfiable action. This response implements the controlling Kubernetes or cloud native principle. Spread constraints balance matching Pods across topology domains; missing topology labels and strict maxSkew can prevent placement. Check its effect by: Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway. This is the implementation part of the required paired answer. Workload context: A three-replica app lands entirely in one zone because topology spread was configured for hostname rather than zone.
Incorrect Answers
A:Inspect allowedDisruptions, healthy replicas, minAvailable/maxUnavailable and drain eviction results. This step belongs to PodDisruptionBudget during voluntary eviction rather than the complementary implementation and evidence pair. The intended approach is: Set topologySpreadConstraints to balance replicated Pods across zones or nodes with an explicit maxSkew and unsatisfiable action. Validate with: Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway. Workload context: A three-replica app lands entirely in one zone because topology spread was configured for hostname rather than zone.
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 step belongs to Scheduler versus autoscaler responsibility rather than the complementary implementation and evidence pair. The intended approach is: Set topologySpreadConstraints to balance replicated Pods across zones or nodes with an explicit maxSkew and unsatisfiable action. Validate with: Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway. Workload context: A three-replica app lands entirely in one zone because topology spread was configured for hostname rather than zone.
D:Pending eligible Pods receive appropriate node bindings when capacity and constraints allow scheduling. This step belongs to Scheduler responsibility and binding rather than the complementary implementation and evidence pair. The intended approach is: Set topologySpreadConstraints to balance replicated Pods across zones or nodes with an explicit maxSkew and unsatisfiable action. Validate with: Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway. Workload context: A three-replica app lands entirely in one zone because topology spread was configured for hostname rather than zone.
Question 855
A team assumes ReadWriteMany is always supported by block storage without verifying the CSI backend. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Distinguish authenticating a Kubernetes API caller from authorizing verbs and validating or mutating admission behavior.
- Select and operate a Kubernetes-compatible CNI implementation to provide Pod IP connectivity and required network capabilities.
- Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability.
- Use emptyDir for temporary Pod-scoped data and PVC-backed volumes when data must survive Pod replacement.
Explanation
Correct Answer
C: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: A team assumes ReadWriteMany is always supported by block storage without verifying the CSI backend.
Incorrect Answers
A: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: A team assumes ReadWriteMany is always supported by block storage without verifying the CSI backend.
B:Select and operate a Kubernetes-compatible CNI implementation to provide Pod IP connectivity and required network capabilities. This action addresses CNI Pod networking implementation instead of the controlling requirement. The CNI plugin supplies Pod networking; a Kubernetes Service alone cannot correct a broken Pod network implementation. For this scenario prefer: Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability. Workload context: A team assumes ReadWriteMany is always supported by block storage without verifying the CSI backend.
D:Use emptyDir for temporary Pod-scoped data and PVC-backed volumes when data must survive Pod replacement. This action addresses Ephemeral emptyDir versus persistent volumes instead of the controlling requirement. emptyDir exists for the lifetime of a Pod on a node and is lost when the Pod is removed. For this scenario prefer: Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability. Workload context: A team assumes ReadWriteMany is always supported by block storage without verifying the CSI backend.
Question 856
A team assumes ReadWriteMany is always supported by block storage without verifying the CSI backend. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability.
- Inspect external IP status, controller events, security groups, health checks and upstream target availability.
- Select PV reclaim policies according to retention requirements and verify storage cleanup or recovery steps after PVC deletion.
- Workloads function under least privilege and operations needing prohibited capabilities are rejected or explicitly reviewed.
- Inspect PV/PVC accessModes, actual mount failures, driver support and multi-node workload placement.
Explanation
Correct Answers
A: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. This is the implementation part of the required paired answer. Workload context: A team assumes ReadWriteMany is always supported by block storage without verifying the CSI backend.
E:Inspect PV/PVC accessModes, actual mount failures, driver support and multi-node workload placement. This is the most discriminating evidence for the described failure or requirement. ReadWriteOnce normally limits read-write mounting to one node, not necessarily exactly one Pod; driver behavior matters. The corresponding implementation is: Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability. This is the diagnostic evidence part of the paired answer. Workload context: A team assumes ReadWriteMany is always supported by block storage without verifying the CSI backend.
Incorrect Answers
B:Inspect external IP status, controller events, security groups, health checks and upstream target availability. This step belongs to LoadBalancer Service provisioning rather than the complementary implementation and evidence pair. The intended approach is: Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability. Validate with: Inspect PV/PVC accessModes, actual mount failures, driver support and multi-node workload placement. Workload context: A team assumes ReadWriteMany is always supported by block storage without verifying the CSI backend.
C: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: Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability. Validate with: Inspect PV/PVC accessModes, actual mount failures, driver support and multi-node workload placement. Workload context: A team assumes ReadWriteMany is always supported by block storage without verifying the CSI backend.
D:Workloads function under least privilege and operations needing prohibited capabilities are rejected or explicitly reviewed. This step belongs to Linux securityContext and seccomp basics rather than the complementary implementation and evidence pair. The intended approach is: Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability. Validate with: Inspect PV/PVC accessModes, actual mount failures, driver support and multi-node workload placement. Workload context: A team assumes ReadWriteMany is always supported by block storage without verifying the CSI backend.
Question 857
A release team merges an invalid manifest and the GitOps controller repeatedly reports out-of-sync rather than deploying it successfully. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Inspect maxSurge, maxUnavailable, rollout conditions, ReplicaSets, readiness and prior image revisions.
- Compare Git revision, application sync status, live resource diff and reconciliation events.
- An incident timeline pinpoints the failing dependency rather than relying on one generic readiness or CPU signal.
- Use a versioned Git repository as declarative desired state and a reconciler to detect and correct drift with approved change controls.
- Package related Kubernetes resources as a Helm chart and manage per-environment configuration with reviewed values and release history.
Explanation
Correct Answers
B: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: A release team merges an invalid manifest and the GitOps controller repeatedly reports out-of-sync rather than deploying it successfully.
D: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: A release team merges an invalid manifest and the GitOps controller repeatedly reports out-of-sync rather than deploying it successfully.
Incorrect Answers
A: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: 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: A release team merges an invalid manifest and the GitOps controller repeatedly reports out-of-sync rather than deploying it successfully.
C:An incident timeline pinpoints the failing dependency rather than relying on one generic readiness or CPU signal. This step belongs to Correlating metrics logs and traces 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: A release team merges an invalid manifest and the GitOps controller repeatedly reports out-of-sync rather than deploying it successfully.
E:Package related Kubernetes resources as a Helm chart and manage per-environment configuration with reviewed values and release history. This step belongs to Helm charts templates and values 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: A release team merges an invalid manifest and the GitOps controller repeatedly reports out-of-sync rather than deploying it successfully.
Question 858
A Service lookup from a second namespace fails because the caller uses an unqualified name and resolves its local namespace. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Use namespaces to group namespaced resources and policies, and add explicit RBAC and network controls for isolation.
- Assign PriorityClasses carefully and understand when the scheduler may preempt lower-priority Pods to place urgent workloads.
- Let kubelet on each node reconcile assigned Pod specifications with the container runtime and report node and Pod status.
- Declare Kubernetes resource kind, apiVersion, metadata and spec using a supported schema and reconcile changes through the API.
Explanation
Correct Answer
A:Use namespaces to group namespaced resources and policies, and add explicit RBAC and network controls for isolation. This response implements the controlling Kubernetes or cloud native principle. Namespaces organize resource names but are not automatically strong security boundaries or separate clusters. Check its effect by: Check resource namespace, role bindings, quotas and effective network enforcement across namespaces. Workload context: A Service lookup from a second namespace fails because the caller uses an unqualified name and resolves its local namespace.
Incorrect Answers
B: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: Use namespaces to group namespaced resources and policies, and add explicit RBAC and network controls for isolation. Workload context: A Service lookup from a second namespace fails because the caller uses an unqualified name and resolves its local namespace.
C:Let kubelet on each node reconcile assigned Pod specifications with the container runtime and report node and Pod status. This action addresses Kubelet node agent responsibilities instead of the controlling requirement. kubelet manages Pod execution on a node; it does not serve the central Kubernetes API or select new nodes. For this scenario prefer: Use namespaces to group namespaced resources and policies, and add explicit RBAC and network controls for isolation. Workload context: A Service lookup from a second namespace fails because the caller uses an unqualified name and resolves its local namespace.
D:Declare Kubernetes resource kind, apiVersion, metadata and spec using a supported schema and reconcile changes through the API. This action addresses Declarative resource manifests and API versions instead of the controlling requirement. Kubernetes API versions are resource-specific and evolve; a valid YAML file does not guarantee the API accepts its kind or schema. For this scenario prefer: Use namespaces to group namespaced resources and policies, and add explicit RBAC and network controls for isolation. Workload context: A Service lookup from a second namespace fails because the caller uses an unqualified name and resolves its local namespace.
Question 859
A PVC-backed workload remains unscheduled and engineers inspect application logs instead of waiting for binding prerequisites. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Inspect kubectl describe Pod events, requests, node taints, PVC claims and node affinity.
- Use Pod events and scheduler reasons to diagnose Pending workloads before changing application images or reading nonexistent logs.
- Noncompliant Pod specifications are rejected under enforcement without unexpectedly blocking approved workloads.
- Investigate node disk, memory and PID pressure conditions and distinguish eviction from application-probe restarts.
- Inspect Secret read permissions, encryption configuration, encoded manifest values and audit trails.
Explanation
Correct Answers
A:Inspect kubectl describe Pod events, requests, node taints, PVC claims and node affinity. This is the most discriminating evidence for the described failure or requirement. Pending may mean unschedulable or image preparation; distinguish whether node assignment occurred before choosing next checks. The corresponding implementation is: Use Pod events and scheduler reasons to diagnose Pending workloads before changing application images or reading nonexistent logs. This is the diagnostic evidence part of the paired answer. Workload context: A PVC-backed workload remains unscheduled and engineers inspect application logs instead of waiting for binding prerequisites.
B:Use Pod events and scheduler reasons to diagnose Pending workloads before changing application images or reading nonexistent logs. This response implements the controlling Kubernetes or cloud native principle. Pending may mean unschedulable or image preparation; distinguish whether node assignment occurred before choosing next checks. Check its effect by: Inspect kubectl describe Pod events, requests, node taints, PVC claims and node affinity. This is the implementation part of the required paired answer. Workload context: A PVC-backed workload remains unscheduled and engineers inspect application logs instead of waiting for binding prerequisites.
Incorrect Answers
C:Noncompliant Pod specifications are rejected under enforcement without unexpectedly blocking approved workloads. This step belongs to Pod Security Admission and namespaces rather than the complementary implementation and evidence pair. The intended approach is: Use Pod events and scheduler reasons to diagnose Pending workloads before changing application images or reading nonexistent logs. Validate with: Inspect kubectl describe Pod events, requests, node taints, PVC claims and node affinity. Workload context: A PVC-backed workload remains unscheduled and engineers inspect application logs instead of waiting for binding prerequisites.
D:Investigate node disk, memory and PID pressure conditions and distinguish eviction from application-probe restarts. This step belongs to Node pressure and Pod eviction analysis rather than the complementary implementation and evidence pair. The intended approach is: Use Pod events and scheduler reasons to diagnose Pending workloads before changing application images or reading nonexistent logs. Validate with: Inspect kubectl describe Pod events, requests, node taints, PVC claims and node affinity. Workload context: A PVC-backed workload remains unscheduled and engineers inspect application logs instead of waiting for binding prerequisites.
E:Inspect Secret read permissions, encryption configuration, encoded manifest values and audit trails. This step belongs to Secret base64 encoding versus encryption rather than the complementary implementation and evidence pair. The intended approach is: Use Pod events and scheduler reasons to diagnose Pending workloads before changing application images or reading nonexistent logs. Validate with: Inspect kubectl describe Pod events, requests, node taints, PVC claims and node affinity. Workload context: A PVC-backed workload remains unscheduled and engineers inspect application logs instead of waiting for binding prerequisites.
Question 860
Two full application stacks run in parallel and the team switches the primary Service selector after validating the idle green stack. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Record artifact provenance, dependency inventories and signed attestations so deployment policy can trace a build to authorized source.
- Choose blue-green for switching between full environments and canary for gradually exposing a small percentage of users to a new version.
- Use kubectl exec with least privilege for approved diagnostics in running containers, avoiding permanent production mutations.
- Gate rollout progression on suitable error, latency and business metrics with explicit thresholds and rollback authorization.
Explanation
Correct Answer
B: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. 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:Record artifact provenance, dependency inventories and signed attestations so deployment policy can trace a build to authorized source. This action addresses Software supply chain attestations instead of the controlling requirement. SBOM inventory and signed provenance provide different evidence; neither replaces vulnerability and security-policy review. For this scenario prefer: Choose blue-green for switching between full environments and canary for gradually exposing a small percentage of users to a new version. Workload context: Two full application stacks run in parallel and the team switches the primary Service selector after validating the idle green stack.
C:Use kubectl exec with least privilege for approved diagnostics in running containers, avoiding permanent production mutations. This action addresses kubectl exec diagnostic boundaries instead of the controlling requirement. kubectl exec runs a process in an existing container; it does not persist edits across new image-based replacements. For this scenario prefer: Choose blue-green for switching between full environments and canary for gradually exposing a small percentage of users to a new version. Workload context: Two full application stacks run in parallel and the team switches the primary Service selector after validating the idle green stack.
D:Gate rollout progression on suitable error, latency and business metrics with explicit thresholds and rollback authorization. This action addresses Progressive delivery and release metrics instead of the controlling requirement. Automated analysis requires representative telemetry and guardrails; an unchanged rollout status does not prove user experience is healthy. For this scenario prefer: Choose blue-green for switching between full environments and canary for gradually exposing a small percentage of users to a new version. Workload context: Two full application stacks run in parallel and the team switches the primary Service selector after validating the idle green stack.