Linux Foundation KCNA Practice Test 75
Question 740
An engineer disables scheduling constraints and assumes this is the only way to trigger a scale-up for large jobs. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Use supported sidecar containers for tightly coupled helper functions and verify lifecycle coordination within the Pod.
- Cordon a node before planned maintenance, then use drain with workload safety checks and restore scheduling after validation.
- Use the scheduler to select feasible nodes and the cluster autoscaler to adjust node capacity when unschedulable Pods can fit a supported node group.
- Use nodeSelector for straightforward required label equality and confirm matching nodes exist in the cluster.
Explanation
Correct Answer
C: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 response implements the controlling Kubernetes or cloud native principle. The autoscaler provisions nodes; it does not assign Pod nodeName or fix impossible affinity or quota constraints by itself. Check its effect by: Review Pod scheduling reasons, node group templates, provisioning limits and autoscaler scale-up decisions. Workload context: An engineer disables scheduling constraints and assumes this is the only way to trigger a scale-up for large jobs.
Incorrect Answers
A:Use supported sidecar containers for tightly coupled helper functions and verify lifecycle coordination within the Pod. This action addresses Sidecar containers and shared Pod lifecycle instead of the controlling requirement. Sidecars share a Pod network context; careless start or termination ordering can block a workload. For this scenario prefer: Use the scheduler to select feasible nodes and the cluster autoscaler to adjust node capacity when unschedulable Pods can fit a supported node group. Workload context: An engineer disables scheduling constraints and assumes this is the only way to trigger a scale-up for large jobs.
B: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 the scheduler to select feasible nodes and the cluster autoscaler to adjust node capacity when unschedulable Pods can fit a supported node group. Workload context: An engineer disables scheduling constraints and assumes this is the only way to trigger a scale-up for large jobs.
D:Use nodeSelector for straightforward required label equality and confirm matching nodes exist in the cluster. This action addresses nodeSelector equality placement instead of the controlling requirement. nodeSelector requires matching labels; it does not create labels or express weighted preferences by itself. For this scenario prefer: Use the scheduler to select feasible nodes and the cluster autoscaler to adjust node capacity when unschedulable Pods can fit a supported node group. Workload context: An engineer disables scheduling constraints and assumes this is the only way to trigger a scale-up for large jobs.
Question 741
A cluster operator force-applies an updated manifest and overwrites another controller's managed fields without checking conflicts. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily.
- Evaluate image SBOMs, signed provenance and vulnerability reports before production promotion, separating detected packages from reachable risk.
- Model tightly coupled containers inside a Pod when they must share a network namespace and lifecycle, not as unrelated separate Pods.
- Use kubectl apply or a governed reconciliation workflow for repeatable desired-state changes, reviewing diffs before high-impact updates.
Explanation
Correct Answer
D:Use kubectl apply or a governed reconciliation workflow for repeatable desired-state changes, reviewing diffs before high-impact updates. This response implements the controlling Kubernetes or cloud native principle. Declarative apply merges intended fields but conflicts and imperative edits require field ownership review. Check its effect by: Inspect local-versus-server manifest diff, field ownership, admission rejection and resulting resource generation. Workload context: A cluster operator force-applies an updated manifest and overwrites another controller's managed fields without checking conflicts.
Incorrect Answers
A: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 apply or a governed reconciliation workflow for repeatable desired-state changes, reviewing diffs before high-impact updates. Workload context: A cluster operator force-applies an updated manifest and overwrites another controller's managed fields without checking conflicts.
B:Evaluate image SBOMs, signed provenance and vulnerability reports before production promotion, separating detected packages from reachable risk. This action addresses Image scanning and software bills of materials instead of the controlling requirement. A scanner's package detection is evidence of inventory, not automatically proof of exploitation or complete image trust. For this scenario prefer: Use kubectl apply or a governed reconciliation workflow for repeatable desired-state changes, reviewing diffs before high-impact updates. Workload context: A cluster operator force-applies an updated manifest and overwrites another controller's managed fields without checking conflicts.
C:Model tightly coupled containers inside a Pod when they must share a network namespace and lifecycle, not as unrelated separate Pods. This action addresses Pod shared network namespace and lifecycle instead of the controlling requirement. Containers in one Pod share networking and selected volumes; Kubernetes schedules Pods rather than independent containers. For this scenario prefer: Use kubectl apply or a governed reconciliation workflow for repeatable desired-state changes, reviewing diffs before high-impact updates. Workload context: A cluster operator force-applies an updated manifest and overwrites another controller's managed fields without checking conflicts.
Question 742
An operator sees a base64 Secret in a manifest and assumes its value cannot be recovered by a repository reader. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Assign a Role to namespaced permissions and a ClusterRole where appropriate for cluster-scoped or reusable rules, binding least privilege.
- Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis.
- Store non-sensitive configuration in ConfigMaps and sensitive values in Secrets with access control and encryption controls.
- Diagnose NotReady nodes and distinguish node health from Pod-level readiness before reopening scheduling.
Explanation
Correct Answer
C:Store non-sensitive configuration in ConfigMaps and sensitive values in Secrets with access control and encryption controls. This response implements the controlling Kubernetes or cloud native principle. Kubernetes Secret data is base64-encoded by default, not inherently encrypted or a substitute for managed secret governance. Check its effect by: Inspect ConfigMap/Secret references, RBAC, API audit records, encryption-at-rest settings and mount or environment behavior. Workload context: An operator sees a base64 Secret in a manifest and assumes its value cannot be recovered by a repository reader.
Incorrect Answers
A:Assign a Role to namespaced permissions and a ClusterRole where appropriate for cluster-scoped or reusable rules, binding least privilege. This action addresses Role and ClusterRole authorization instead of the controlling requirement. A RoleBinding can bind a ClusterRole within its namespace; a ClusterRoleBinding grants its rules at cluster scope. For this scenario prefer: Store non-sensitive configuration in ConfigMaps and sensitive values in Secrets with access control and encryption controls. Workload context: An operator sees a base64 Secret in a manifest and assumes its value cannot be recovered by a repository reader.
B:Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis. This action addresses Node labels and allocatable inventory instead of the controlling requirement. Node allocatable excludes reservations from raw capacity; labels must reflect real node capabilities and administration. For this scenario prefer: Store non-sensitive configuration in ConfigMaps and sensitive values in Secrets with access control and encryption controls. Workload context: An operator sees a base64 Secret in a manifest and assumes its value cannot be recovered by a repository reader.
D:Diagnose NotReady nodes and distinguish node health from Pod-level readiness before reopening scheduling. This action addresses Node readiness and scheduling exclusion instead of the controlling requirement. Node readiness affects cluster placement and lifecycle; a single Pod readiness-probe failure does not make the entire node NotReady. For this scenario prefer: Store non-sensitive configuration in ConfigMaps and sensitive values in Secrets with access control and encryption controls. Workload context: An operator sees a base64 Secret in a manifest and assumes its value cannot be recovered by a repository reader.
Question 743
A Kubernetes cluster creates a PVC but no StorageClass or provisioner can satisfy it, leaving the claim Pending. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Configure a supported StorageClass and CSI provisioner to dynamically create backing volumes for PVCs.
- Inspect StorageClass provisioner name, allowed topology, PVC events and CSI controller logs.
- Inspect Pod pull events, image tag existence, registry TLS, imagePullSecrets and service-account references.
- The container remains running or completes as intended without repeated backoff cycles after a targeted correction.
- Select PV reclaim policies according to retention requirements and verify storage cleanup or recovery steps after PVC deletion.
Explanation
Correct Answers
A:Configure a supported StorageClass and CSI provisioner to dynamically create backing volumes for PVCs. This response implements the controlling Kubernetes or cloud native principle. StorageClass names provisioning behavior; a controller and backend must support dynamic provisioning. Check its effect by: Inspect StorageClass provisioner name, allowed topology, PVC events and CSI controller logs. This is the implementation part of the required paired answer. Workload context: A Kubernetes cluster creates a PVC but no StorageClass or provisioner can satisfy it, leaving the claim Pending.
B:Inspect StorageClass provisioner name, allowed topology, PVC events and CSI controller logs. This is the most discriminating evidence for the described failure or requirement. StorageClass names provisioning behavior; a controller and backend must support dynamic provisioning. The corresponding implementation is: Configure a supported StorageClass and CSI provisioner to dynamically create backing volumes for PVCs. This is the diagnostic evidence part of the paired answer. Workload context: A Kubernetes cluster creates a PVC but no StorageClass or provisioner can satisfy it, leaving the claim Pending.
Incorrect Answers
C:Inspect Pod pull events, image tag existence, registry TLS, imagePullSecrets and service-account references. This step belongs to ImagePullBackOff registry and auth errors rather than the complementary implementation and evidence pair. The intended approach is: Configure a supported StorageClass and CSI provisioner to dynamically create backing volumes for PVCs. Validate with: Inspect StorageClass provisioner name, allowed topology, PVC events and CSI controller logs. Workload context: A Kubernetes cluster creates a PVC but no StorageClass or provisioner can satisfy it, leaving the claim Pending.
D: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: Configure a supported StorageClass and CSI provisioner to dynamically create backing volumes for PVCs. Validate with: Inspect StorageClass provisioner name, allowed topology, PVC events and CSI controller logs. Workload context: A Kubernetes cluster creates a PVC but no StorageClass or provisioner can satisfy it, leaving the claim Pending.
E:Select PV reclaim policies according to retention requirements and verify storage cleanup or recovery steps after PVC deletion. This step belongs to PV reclaim policy Retain versus Delete rather than the complementary implementation and evidence pair. The intended approach is: Configure a supported StorageClass and CSI provisioner to dynamically create backing volumes for PVCs. Validate with: Inspect StorageClass provisioner name, allowed topology, PVC events and CSI controller logs. Workload context: A Kubernetes cluster creates a PVC but no StorageClass or provisioner can satisfy it, leaving the claim Pending.
Question 744
An internal image scanner finds no high CVEs but auditors cannot identify which CI workflow produced the image. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?
- An incident timeline pinpoints the failing dependency rather than relying on one generic readiness or CPU signal.
- Release artifacts have verifiable origin and unapproved build paths are rejected before application rollout.
- Template rendering produces intended resources and upgrades or rollbacks remain tied to specific chart revisions.
- The faulty revision is identified and rollback or correction restores the intended application version.
Explanation
Correct Answer
B:Release artifacts have verifiable origin and unapproved build paths are rejected before application rollout. This is an observable service outcome, not just evidence that a configuration file was saved. SBOM inventory and signed provenance provide different evidence; neither replaces vulnerability and security-policy review. Workload context: An internal image scanner finds no high CVEs but auditors cannot identify which CI workflow produced the image.
Incorrect Answers
A:An incident timeline pinpoints the failing dependency rather than relying on one generic readiness or CPU signal. That result validates Correlating metrics logs and traces rather than the requirement here. Verify instead: Release artifacts have verifiable origin and unapproved build paths are rejected before application rollout. Workload context: An internal image scanner finds no high CVEs but auditors cannot identify which CI workflow produced the image.
C:Template rendering produces intended resources and upgrades or rollbacks remain tied to specific chart revisions. That result validates Helm charts templates and values rather than the requirement here. Verify instead: Release artifacts have verifiable origin and unapproved build paths are rejected before application rollout. Workload context: An internal image scanner finds no high CVEs but auditors cannot identify which CI workflow produced the image.
D:The faulty revision is identified and rollback or correction restores the intended application version. That result validates Rollout history status and change correlation rather than the requirement here. Verify instead: Release artifacts have verifiable origin and unapproved build paths are rejected before application rollout. Workload context: An internal image scanner finds no high CVEs but auditors cannot identify which CI workflow produced the image.
Question 745
A capacity spreadsheet uses physical RAM instead of node allocatable and overestimates room for application Pods. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Inspect kubectl config current-context, cluster server, user identity and namespace field.
- Review node labels, conditions, capacity versus allocatable, topology zones and node allocatable metrics.
- Apply namespace ResourceQuota and LimitRange policies to govern aggregate consumption and default/request bounds.
- Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis.
- Replica placement stays within the intended skew or reports clear scheduling limits.
Explanation
Correct Answers
B:Review node labels, conditions, capacity versus allocatable, topology zones and node allocatable metrics. This is the most discriminating evidence for the described failure or requirement. Node allocatable excludes reservations from raw capacity; labels must reflect real node capabilities and administration. The corresponding implementation is: Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis. This is the diagnostic evidence part of the paired answer. Workload context: A capacity spreadsheet uses physical RAM instead of node allocatable and overestimates room for application Pods.
D:Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis. This response implements the controlling Kubernetes or cloud native principle. Node allocatable excludes reservations from raw capacity; labels must reflect real node capabilities and administration. Check its effect by: Review node labels, conditions, capacity versus allocatable, topology zones and node allocatable metrics. This is the implementation part of the required paired answer. Workload context: A capacity spreadsheet uses physical RAM instead of node allocatable and overestimates room for application Pods.
Incorrect Answers
A:Inspect kubectl config current-context, cluster server, user identity and namespace field. This step belongs to kubectl context and cluster selection rather than the complementary implementation and evidence pair. The intended approach is: Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis. Validate with: Review node labels, conditions, capacity versus allocatable, topology zones and node allocatable metrics. Workload context: A capacity spreadsheet uses physical RAM instead of node allocatable and overestimates room for application Pods.
C:Apply namespace ResourceQuota and LimitRange policies to govern aggregate consumption and default/request bounds. This step belongs to ResourceQuota and LimitRange policies rather than the complementary implementation and evidence pair. The intended approach is: Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis. Validate with: Review node labels, conditions, capacity versus allocatable, topology zones and node allocatable metrics. Workload context: A capacity spreadsheet uses physical RAM instead of node allocatable and overestimates room for application Pods.
E:Replica placement stays within the intended skew or reports clear scheduling limits. This step belongs to Topology spread constraints rather than the complementary implementation and evidence pair. The intended approach is: Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis. Validate with: Review node labels, conditions, capacity versus allocatable, topology zones and node allocatable metrics. Workload context: A capacity spreadsheet uses physical RAM instead of node allocatable and overestimates room for application Pods.
Question 746
An app restarted twice and the current logs show only successful initialization while the failure trace is in previous logs. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- 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.
- 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.
Explanation
Correct Answer
B: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. Workload context: An app restarted twice and the current logs show only successful initialization while the failure trace is in previous logs.
Incorrect Answers
A:Examine object conditions and timestamped Events to understand image, scheduling, mount and admission failures before applying speculative fixes. This action addresses kubectl describe and event chronology instead of the controlling requirement. Events describe control-plane and kubelet observations but are not a permanent complete incident log. For this scenario prefer: Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads. Workload context: An app restarted twice and the current logs show only successful initialization while the failure trace is in previous logs.
C:Choose blue-green for switching between full environments and canary for gradually exposing a small percentage of users to a new version. This action addresses Blue-green versus canary release patterns instead of the controlling requirement. Blue-green switches environments, whereas canary ramps exposure; a basic Deployment alone may not provide precise traffic percentages. For this scenario prefer: Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads. Workload context: An app restarted twice and the current logs show only successful initialization while the failure trace is in previous logs.
D: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: Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads. Workload context: An app restarted twice and the current logs show only successful initialization while the failure trace is in previous logs.
Question 747
A change from Service port 80 to 8080 breaks external routing because the Ingress backend still points to the old port. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Promote the same reviewed container image digest between environments instead of rebuilding mutable tags at each stage.
- Distinguish readiness endpoint failures from application process exits before deciding whether to restart or change service routing.
- Trace external HTTP requests through DNS, ingress/Gateway association, TLS configuration, Service and Pod endpoints.
- Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads.
Explanation
Correct Answer
C:Trace external HTTP requests through DNS, ingress/Gateway association, TLS configuration, Service and Pod endpoints. This response implements the controlling Kubernetes or cloud native principle. A healthy Service does not guarantee correct edge routing; ingress controllers and TLS bindings add separate layers. Check its effect by: Inspect host/path rules, route attachment, listener TLS, backend port and controller access logs. Workload context: A change from Service port 80 to 8080 breaks external routing because the Ingress backend still points to the old port.
Incorrect Answers
A:Promote the same reviewed container image digest between environments instead of rebuilding mutable tags at each stage. This action addresses Artifact promotion by digest instead of the controlling requirement. An image digest identifies the immutable artifact; matching labels or Git SHAs alone do not prove identical layers. For this scenario prefer: Trace external HTTP requests through DNS, ingress/Gateway association, TLS configuration, Service and Pod endpoints. Workload context: A change from Service port 80 to 8080 breaks external routing because the Ingress backend still points to the old port.
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: Trace external HTTP requests through DNS, ingress/Gateway association, TLS configuration, Service and Pod endpoints. Workload context: A change from Service port 80 to 8080 breaks external routing because the Ingress backend still points to the old port.
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: Trace external HTTP requests through DNS, ingress/Gateway association, TLS configuration, Service and Pod endpoints. Workload context: A change from Service port 80 to 8080 breaks external routing because the Ingress backend still points to the old port.
Question 748
A developer copies a private signing key into an early build stage and deletes it in the last line of the same image. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Inspect ConfigMap/Secret references, RBAC, API audit records, encryption-at-rest settings and mount or environment behavior.
- Build minimal images with reproducible layers and protect against secrets embedded in historical image layers.
- Critical workloads gain capacity when eligible without uncontrolled eviction of unrelated protected services.
- Inspect Dockerfile layer history, build context, cache usage, image size and scanner findings.
- Use an authorized ephemeral container for live Pod diagnostics when the original image lacks troubleshooting tools.
Explanation
Correct Answers
B:Build minimal images with reproducible layers and protect against secrets embedded in historical image layers. This response implements the controlling Kubernetes or cloud native principle. Deleting a file in a later image layer does not erase secrets committed into an earlier layer. Check its effect by: Inspect Dockerfile layer history, build context, cache usage, image size and scanner findings. This is the implementation part of the required paired answer. Workload context: A developer copies a private signing key into an early build stage and deletes it in the last line of the same image.
D:Inspect Dockerfile layer history, build context, cache usage, image size and scanner findings. This is the most discriminating evidence for the described failure or requirement. Deleting a file in a later image layer does not erase secrets committed into an earlier layer. The corresponding implementation is: Build minimal images with reproducible layers and protect against secrets embedded in historical image layers. This is the diagnostic evidence part of the paired answer. Workload context: A developer copies a private signing key into an early build stage and deletes it in the last line of the same image.
Incorrect Answers
A:Inspect ConfigMap/Secret references, RBAC, API audit records, encryption-at-rest settings and mount or environment behavior. This step belongs to ConfigMap and Secret boundaries rather than the complementary implementation and evidence pair. The intended approach is: Build minimal images with reproducible layers and protect against secrets embedded in historical image layers. Validate with: Inspect Dockerfile layer history, build context, cache usage, image size and scanner findings. Workload context: A developer copies a private signing key into an early build stage and deletes it in the last line of the same image.
C:Critical workloads gain capacity when eligible without uncontrolled eviction of unrelated protected services. This step belongs to PriorityClass and preemption rather than the complementary implementation and evidence pair. The intended approach is: Build minimal images with reproducible layers and protect against secrets embedded in historical image layers. Validate with: Inspect Dockerfile layer history, build context, cache usage, image size and scanner findings. Workload context: A developer copies a private signing key into an early build stage and deletes it in the last line of the same image.
E:Use an authorized ephemeral container for live Pod diagnostics when the original image lacks troubleshooting tools. This step belongs to Ephemeral debugging containers rather than the complementary implementation and evidence pair. The intended approach is: Build minimal images with reproducible layers and protect against secrets embedded in historical image layers. Validate with: Inspect Dockerfile layer history, build context, cache usage, image size and scanner findings. Workload context: A developer copies a private signing key into an early build stage and deletes it in the last line of the same image.
Question 749
An operator scopes anti-affinity to hostname yet expects strict distribution across distinct availability zones. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?
- Inspect process namespace, container cgroup limits, OOM events and host resource metrics.
- Inspect Pod requests/limits, node allocatable capacity, usage history, throttling and OOMKilled events.
- Inspect affinity terms, matchExpressions, node labels, scheduler feasibility and fallback placement.
- Inspect Pod label selectors, namespaces, topologyKey and actual placement of matching peer Pods.
Explanation
Correct Answer
D:Inspect Pod label selectors, namespaces, topologyKey and actual placement of matching peer Pods. This is the most discriminating evidence for the described failure or requirement. Pod affinity references other Pods by labels, not node resource attributes, and required rules can make replicas Pending. The corresponding implementation is: Define podAffinity for desired co-location and podAntiAffinity to separate replicas across appropriate topology domains. Workload context: An operator scopes anti-affinity to hostname yet expects strict distribution across distinct availability zones.
Incorrect Answers
A:Inspect process namespace, container cgroup limits, OOM events and host resource metrics. These observations are more relevant to Linux namespaces and cgroups, not this case. The distinguishing check is: Inspect Pod label selectors, namespaces, topologyKey and actual placement of matching peer Pods. Workload context: An operator scopes anti-affinity to hostname yet expects strict distribution across distinct availability zones.
B:Inspect Pod requests/limits, node allocatable capacity, usage history, throttling and OOMKilled events. These observations are more relevant to CPU requests and memory limits, not this case. The distinguishing check is: Inspect Pod label selectors, namespaces, topologyKey and actual placement of matching peer Pods. Workload context: An operator scopes anti-affinity to hostname yet expects strict distribution across distinct availability zones.
C:Inspect affinity terms, matchExpressions, node labels, scheduler feasibility and fallback placement. These observations are more relevant to Node affinity required vs preferred, not this case. The distinguishing check is: Inspect Pod label selectors, namespaces, topologyKey and actual placement of matching peer Pods. Workload context: An operator scopes anti-affinity to hostname yet expects strict distribution across distinct availability zones.
Question 750
A team creates a default-deny policy but still sees unrestricted traffic because its CNI plugin does not implement NetworkPolicy. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?
- Pods on different eligible nodes communicate according to network design and report working network addresses.
- Only approved Pod flows pass and disallowed lateral or outbound connections fail reproducibly.
- Each stateful replica retains its expected identity and corresponding durable storage through controlled replacement.
- Only authorized artifacts enter the cluster and each workload is traceable to a reviewed build.
Explanation
Correct Answer
B:Only approved Pod flows pass and disallowed lateral or outbound connections fail reproducibly. This is an observable service outcome, not just evidence that a configuration file was saved. Without policies a standard namespace usually permits traffic; NetworkPolicy enforcement requires a compatible networking implementation. Workload context: A team creates a default-deny policy but still sees unrestricted traffic because its CNI plugin does not implement NetworkPolicy.
Incorrect Answers
A:Pods on different eligible nodes communicate according to network design and report working network addresses. That result validates CNI Pod networking implementation rather than the requirement here. Verify instead: Only approved Pod flows pass and disallowed lateral or outbound connections fail reproducibly. Workload context: A team creates a default-deny policy but still sees unrestricted traffic because its CNI plugin does not implement NetworkPolicy.
C:Each stateful replica retains its expected identity and corresponding durable storage through controlled replacement. That result validates StatefulSet identity and volume templates rather than the requirement here. Verify instead: Only approved Pod flows pass and disallowed lateral or outbound connections fail reproducibly. Workload context: A team creates a default-deny policy but still sees unrestricted traffic because its CNI plugin does not implement NetworkPolicy.
D:Only authorized artifacts enter the cluster and each workload is traceable to a reviewed build. That result validates Image provenance and admission policies rather than the requirement here. Verify instead: Only approved Pod flows pass and disallowed lateral or outbound connections fail reproducibly. Workload context: A team creates a default-deny policy but still sees unrestricted traffic because its CNI plugin does not implement NetworkPolicy.