Linux Foundation KCNA Practice Test 66
Question 650
A monitoring DaemonSet runs on control-plane nodes unexpectedly because it tolerates taints intended to exclude application Pods. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Inspect DaemonSet desired/current/ready counts, node eligibility, tolerations and per-node Pod placement.
- Assign a Role to namespaced permissions and a ClusterRole where appropriate for cluster-scoped or reusable rules, binding least privilege.
- Use a DaemonSet to run a supported node agent across eligible nodes, respecting taints and selectors.
- Inspect process namespace, container cgroup limits, OOM events and host resource metrics.
- The selected isolation model meets workload portability and security needs without claiming that containers include separate guest kernels.
Explanation
Correct Answers
A:Inspect DaemonSet desired/current/ready counts, node eligibility, tolerations and per-node Pod placement. This is the most discriminating evidence for the described failure or requirement. A DaemonSet creates node-level replicas automatically rather than a fixed overall replica count like a Deployment. The corresponding implementation is: Use a DaemonSet to run a supported node agent across eligible nodes, respecting taints and selectors. This is the diagnostic evidence part of the paired answer. Workload context: A monitoring DaemonSet runs on control-plane nodes unexpectedly because it tolerates taints intended to exclude application Pods.
C:Use a DaemonSet to run a supported node agent across eligible nodes, respecting taints and selectors. This response implements the controlling Kubernetes or cloud native principle. A DaemonSet creates node-level replicas automatically rather than a fixed overall replica count like a Deployment. Check its effect by: Inspect DaemonSet desired/current/ready counts, node eligibility, tolerations and per-node Pod placement. This is the implementation part of the required paired answer. Workload context: A monitoring DaemonSet runs on control-plane nodes unexpectedly because it tolerates taints intended to exclude application Pods.
Incorrect Answers
B:Assign a Role to namespaced permissions and a ClusterRole where appropriate for cluster-scoped or reusable rules, binding least privilege. This step belongs to Role and ClusterRole authorization rather than the complementary implementation and evidence pair. The intended approach is: Use a DaemonSet to run a supported node agent across eligible nodes, respecting taints and selectors. Validate with: Inspect DaemonSet desired/current/ready counts, node eligibility, tolerations and per-node Pod placement. Workload context: A monitoring DaemonSet runs on control-plane nodes unexpectedly because it tolerates taints intended to exclude application Pods.
D:Inspect process namespace, container cgroup limits, OOM events and host resource metrics. This step belongs to Linux namespaces and cgroups rather than the complementary implementation and evidence pair. The intended approach is: Use a DaemonSet to run a supported node agent across eligible nodes, respecting taints and selectors. Validate with: Inspect DaemonSet desired/current/ready counts, node eligibility, tolerations and per-node Pod placement. Workload context: A monitoring DaemonSet runs on control-plane nodes unexpectedly because it tolerates taints intended to exclude application Pods.
E:The selected isolation model meets workload portability and security needs without claiming that containers include separate guest kernels. This step belongs to Container versus virtual machine isolation rather than the complementary implementation and evidence pair. The intended approach is: Use a DaemonSet to run a supported node agent across eligible nodes, respecting taints and selectors. Validate with: Inspect DaemonSet desired/current/ready counts, node eligibility, tolerations and per-node Pod placement. Workload context: A monitoring DaemonSet runs on control-plane nodes unexpectedly because it tolerates taints intended to exclude application Pods.
Question 651
A runtime upgrade changes socket permissions so kubelet cannot communicate with its configured CRI endpoint. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?
- Review initContainers/sidecar restart behavior, shared volumes, localhost traffic and termination events.
- Inspect kubelet runtime endpoint, CRI protocol support, containerd service status and runtime errors.
- Inspect PVC status, volume nodeAffinity, StorageClass volumeBindingMode and node/zone eligibility.
- Compare imagePullPolicy, local image cache, registry digest, pull events and Pod imageID.
Explanation
Correct Answer
B:Inspect kubelet runtime endpoint, CRI protocol support, containerd service status and runtime errors. This is the most discriminating evidence for the described failure or requirement. A runtime executes containers; the CRI is its API integration with kubelet rather than the Kubernetes API server. The corresponding implementation is: Use a compatible container runtime via the Kubernetes Container Runtime Interface to create and manage containers on nodes. Workload context: A runtime upgrade changes socket permissions so kubelet cannot communicate with its configured CRI endpoint.
Incorrect Answers
A:Review initContainers/sidecar restart behavior, shared volumes, localhost traffic and termination events. These observations are more relevant to Sidecar containers and shared Pod lifecycle, not this case. The distinguishing check is: Inspect kubelet runtime endpoint, CRI protocol support, containerd service status and runtime errors. Workload context: A runtime upgrade changes socket permissions so kubelet cannot communicate with its configured CRI endpoint.
C:Inspect PVC status, volume nodeAffinity, StorageClass volumeBindingMode and node/zone eligibility. These observations are more relevant to PersistentVolume zone binding and placement, not this case. The distinguishing check is: Inspect kubelet runtime endpoint, CRI protocol support, containerd service status and runtime errors. Workload context: A runtime upgrade changes socket permissions so kubelet cannot communicate with its configured CRI endpoint.
D:Compare imagePullPolicy, local image cache, registry digest, pull events and Pod imageID. These observations are more relevant to Image pull policy and cached images, not this case. The distinguishing check is: Inspect kubelet runtime endpoint, CRI protocol support, containerd service status and runtime errors. Workload context: A runtime upgrade changes socket permissions so kubelet cannot communicate with its configured CRI endpoint.
Question 652
A test environment uses Retain policies on every disposable PVC and leaks expensive unattached cloud disks. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Select PV reclaim policies according to retention requirements and verify storage cleanup or recovery steps after PVC deletion.
- Configure a supported StorageClass and CSI provisioner to dynamically create backing volumes for PVCs.
- Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope.
- Use StatefulSets for workloads needing stable ordinal identity and per-replica persistent claims rather than one shared ephemeral Deployment.
Explanation
Correct Answer
A:Select PV reclaim policies according to retention requirements and verify storage cleanup or recovery steps after PVC deletion. This response implements the controlling Kubernetes or cloud native principle. Retain leaves storage for deliberate recovery; Delete usually removes underlying dynamically provisioned storage when supported. Check its effect by: Inspect PV persistentVolumeReclaimPolicy, underlying disk state, claim release and storage provisioner behavior. Workload context: A test environment uses Retain policies on every disposable PVC and leaks expensive unattached cloud disks.
Incorrect Answers
B:Configure a supported StorageClass and CSI provisioner to dynamically create backing volumes for PVCs. This action addresses StorageClass dynamic provisioning instead of the controlling requirement. StorageClass names provisioning behavior; a controller and backend must support dynamic provisioning. For this scenario prefer: Select PV reclaim policies according to retention requirements and verify storage cleanup or recovery steps after PVC deletion. Workload context: A test environment uses Retain policies on every disposable PVC and leaks expensive unattached cloud disks.
C:Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope. This action addresses ImagePullBackOff registry and auth errors instead of the controlling requirement. ImagePullBackOff is a retrieval or authorization problem; changing app readiness probes cannot fix a missing image. For this scenario prefer: Select PV reclaim policies according to retention requirements and verify storage cleanup or recovery steps after PVC deletion. Workload context: A test environment uses Retain policies on every disposable PVC and leaks expensive unattached cloud disks.
D:Use StatefulSets for workloads needing stable ordinal identity and per-replica persistent claims rather than one shared ephemeral Deployment. This action addresses StatefulSet identity and volume templates instead of the controlling requirement. StatefulSets manage stable identities and can provision distinct PVCs; they do not automatically provide database replication correctness. For this scenario prefer: Select PV reclaim policies according to retention requirements and verify storage cleanup or recovery steps after PVC deletion. Workload context: A test environment uses Retain policies on every disposable PVC and leaks expensive unattached cloud disks.
Question 653
An API's p95 latency doubles while overall CPU stays normal and the team needs request-path traces to identify a slow database call. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?
- Template rendering produces intended resources and upgrades or rollbacks remain tied to specific chart revisions.
- Engineers identify the failing process message associated with the correct container instance and time window.
- An incident timeline pinpoints the failing dependency rather than relying on one generic readiness or CPU signal.
- Production uses a tested traceable artifact only after required promotion and environment gates succeed.
Explanation
Correct Answer
C:An incident timeline pinpoints the failing dependency rather than relying on one generic readiness or CPU signal. This is an observable service outcome, not just evidence that a configuration file was saved. Metrics show trends, logs show event details, and traces show request spans; reliable correlation benefits from consistent identifiers. Workload context: An API's p95 latency doubles while overall CPU stays normal and the team needs request-path traces to identify a slow database call.
Incorrect Answers
A: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: An incident timeline pinpoints the failing dependency rather than relying on one generic readiness or CPU signal. Workload context: An API's p95 latency doubles while overall CPU stays normal and the team needs request-path traces to identify a slow database call.
B:Engineers identify the failing process message associated with the correct container instance and time window. That result validates kubectl logs current versus previous instance rather than the requirement here. Verify instead: An incident timeline pinpoints the failing dependency rather than relying on one generic readiness or CPU signal. Workload context: An API's p95 latency doubles while overall CPU stays normal and the team needs request-path traces to identify a slow database call.
D:Production uses a tested traceable artifact only after required promotion and environment gates succeed. That result validates CI versus CD pipeline separation rather than the requirement here. Verify instead: An incident timeline pinpoints the failing dependency rather than relying on one generic readiness or CPU signal. Workload context: An API's p95 latency doubles while overall CPU stays normal and the team needs request-path traces to identify a slow database call.
Question 654
A team uses a nodeSelector to request a preferred zone but actually makes the zone mandatory and loses redundancy. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?
- Operators identify the failing object and use evidence before editing controllers or escalating access.
- The Pod schedules only onto eligible labeled nodes while other nodes remain untouched.
- Cluster state can be recovered from a tested snapshot with quorum intact and application volumes handled separately.
- Protected nodes accept explicitly tolerated workloads and repel unrelated Pods under intended effects.
Explanation
Correct Answer
B:The Pod schedules only onto eligible labeled nodes while other nodes remain untouched. This is an observable service outcome, not just evidence that a configuration file was saved. nodeSelector requires matching labels; it does not create labels or express weighted preferences by itself. Workload context: A team uses a nodeSelector to request a preferred zone but actually makes the zone mandatory and loses redundancy.
Incorrect Answers
A:Operators identify the failing object and use evidence before editing controllers or escalating access. That result validates kubectl inspect and describe diagnostics rather than the requirement here. Verify instead: The Pod schedules only onto eligible labeled nodes while other nodes remain untouched. Workload context: A team uses a nodeSelector to request a preferred zone but actually makes the zone mandatory and loses redundancy.
C: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 Pod schedules only onto eligible labeled nodes while other nodes remain untouched. Workload context: A team uses a nodeSelector to request a preferred zone but actually makes the zone mandatory and loses redundancy.
D:Protected nodes accept explicitly tolerated workloads and repel unrelated Pods under intended effects. That result validates Taints tolerations and node protection rather than the requirement here. Verify instead: The Pod schedules only onto eligible labeled nodes while other nodes remain untouched. Workload context: A team uses a nodeSelector to request a preferred zone but actually makes the zone mandatory and loses redundancy.
Question 655
A new team dismisses every CNCF sandbox project as unusable despite a well-scoped pilot and maintained code. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?
- Maintainers can reproduce and triage the problem without access to private credentials or customer systems.
- A single downstream failure degrades gracefully without causing an uncontrolled cascade across independent services.
- The team selects a suitable maintained project based on requirements rather than mistaking ecosystem status for a warranty.
- Platform selections fit the actual problem without expecting one component to implement the whole cloud native stack.
Explanation
Correct Answer
C:The team selects a suitable maintained project based on requirements rather than mistaking ecosystem status for a warranty. This is an observable service outcome, not just evidence that a configuration file was saved. CNCF maturity levels indicate aspects of governance and adoption, not a guarantee of security or perfect product fit. Workload context: A new team dismisses every CNCF sandbox project as unusable despite a well-scoped pilot and maintained code.
Incorrect Answers
A:Maintainers can reproduce and triage the problem without access to private credentials or customer systems. That result validates Upstream issue reporting and review collaboration rather than the requirement here. Verify instead: The team selects a suitable maintained project based on requirements rather than mistaking ecosystem status for a warranty. Workload context: A new team dismisses every CNCF sandbox project as unusable despite a well-scoped pilot and maintained code.
B:A single downstream failure degrades gracefully without causing an uncontrolled cascade across independent services. That result validates Microservices contracts and failure isolation rather than the requirement here. Verify instead: The team selects a suitable maintained project based on requirements rather than mistaking ecosystem status for a warranty. Workload context: A new team dismisses every CNCF sandbox project as unusable despite a well-scoped pilot and maintained code.
D:Platform selections fit the actual problem without expecting one component to implement the whole cloud native stack. That result validates CNCF ecosystem and Kubernetes roles rather than the requirement here. Verify instead: The team selects a suitable maintained project based on requirements rather than mistaking ecosystem status for a warranty. Workload context: A new team dismisses every CNCF sandbox project as unusable despite a well-scoped pilot and maintained code.
Question 656
Developers believe storing YAML in Git is sufficient GitOps despite having no automated pull reconciliation or drift detection. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?
- Live cluster configurations converge to reviewed Git commits and unauthorized drift is flagged or corrected.
- Template rendering produces intended resources and upgrades or rollbacks remain tied to specific chart revisions.
- Production uses a tested traceable artifact only after required promotion and environment gates succeed.
- Engineers identify the failing process message associated with the correct container instance and time window.
Explanation
Correct Answer
A:Live cluster configurations converge to reviewed Git commits and unauthorized drift is flagged or corrected. This is an observable service outcome, not just evidence that a configuration file was saved. GitOps is a pull/reconciliation operating model rather than merely running kubectl from a CI server. Workload context: Developers believe storing YAML in Git is sufficient GitOps despite having no automated pull reconciliation or drift detection.
Incorrect Answers
B: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: Live cluster configurations converge to reviewed Git commits and unauthorized drift is flagged or corrected. Workload context: Developers believe storing YAML in Git is sufficient GitOps despite having no automated pull reconciliation or drift detection.
C:Production uses a tested traceable artifact only after required promotion and environment gates succeed. That result validates CI versus CD pipeline separation rather than the requirement here. Verify instead: Live cluster configurations converge to reviewed Git commits and unauthorized drift is flagged or corrected. Workload context: Developers believe storing YAML in Git is sufficient GitOps despite having no automated pull reconciliation or drift detection.
D:Engineers identify the failing process message associated with the correct container instance and time window. That result validates kubectl logs current versus previous instance rather than the requirement here. Verify instead: Live cluster configurations converge to reviewed Git commits and unauthorized drift is flagged or corrected. Workload context: Developers believe storing YAML in Git is sufficient GitOps despite having no automated pull reconciliation or drift detection.
Question 657
An operator deploys an ephemeral debug container without a target process namespace and cannot observe the expected application process. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Live cluster configurations converge to reviewed Git commits and unauthorized drift is flagged or corrected.
- Use time-aligned metrics, structured logs and distributed traces to isolate root causes across Kubernetes components and services.
- Use ephemeral containers to inspect a running Pod when its application image lacks debug tools, with approved access to sensitive process namespaces.
- Review ephemeralContainers spec, target container namespace, attach status and host-level privileges requested.
- Check registry digest, image signatures, deployment Pod imageID and provenance attestations across stages.
Explanation
Correct Answers
C:Use ephemeral containers to inspect a running Pod when its application image lacks debug tools, with approved access to sensitive process namespaces. This response implements the controlling Kubernetes or cloud native principle. Ephemeral containers are for diagnostics and cannot be treated as permanent workload replicas or restarted like ordinary containers. Check its effect by: Review ephemeralContainers spec, target container namespace, attach status and host-level privileges requested. This is the implementation part of the required paired answer. Workload context: An operator deploys an ephemeral debug container without a target process namespace and cannot observe the expected application process.
D:Review ephemeralContainers spec, target container namespace, attach status and host-level privileges requested. This is the most discriminating evidence for the described failure or requirement. Ephemeral containers are for diagnostics and cannot be treated as permanent workload replicas or restarted like ordinary containers. The corresponding implementation is: Use ephemeral containers to inspect a running Pod when its application image lacks debug tools, with approved access to sensitive process namespaces. This is the diagnostic evidence part of the paired answer. Workload context: An operator deploys an ephemeral debug container without a target process namespace and cannot observe the expected application process.
Incorrect Answers
A: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 ephemeral containers to inspect a running Pod when its application image lacks debug tools, with approved access to sensitive process namespaces. Validate with: Review ephemeralContainers spec, target container namespace, attach status and host-level privileges requested. Workload context: An operator deploys an ephemeral debug container without a target process namespace and cannot observe the expected application process.
B:Use time-aligned metrics, structured logs and distributed traces to isolate root causes across Kubernetes components and services. This step belongs to Correlating metrics logs and traces rather than the complementary implementation and evidence pair. The intended approach is: Use ephemeral containers to inspect a running Pod when its application image lacks debug tools, with approved access to sensitive process namespaces. Validate with: Review ephemeralContainers spec, target container namespace, attach status and host-level privileges requested. Workload context: An operator deploys an ephemeral debug container without a target process namespace and cannot observe the expected application process.
E:Check registry digest, image signatures, deployment Pod imageID and provenance attestations across stages. This step belongs to Artifact promotion by digest rather than the complementary implementation and evidence pair. The intended approach is: Use ephemeral containers to inspect a running Pod when its application image lacks debug tools, with approved access to sensitive process namespaces. Validate with: Review ephemeralContainers spec, target container namespace, attach status and host-level privileges requested. Workload context: An operator deploys an ephemeral debug container without a target process namespace and cannot observe the expected application process.
Question 658
A worker has available RAM but a Pod with a 128Mi limit repeatedly exits OOMKilled during image processing. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?
- Inspect OOMKilled exit reason, memory limit, heap behavior, node pressure and container metrics.
- Inspect CNI configuration, Pod CIDRs, node route tables, overlay/underlay links and CNI daemon logs.
- Inspect probe paths, thresholds, failure conditions, Service endpoints and container restart events.
- Review image references, signing identities, attestations, admission decisions and deployed imageIDs.
Explanation
Correct Answer
A:Inspect OOMKilled exit reason, memory limit, heap behavior, node pressure and container metrics. This is the most discriminating evidence for the described failure or requirement. Container memory exceeding its cgroup limit can trigger OOMKilled even when node aggregate memory seems available. The corresponding implementation is: Diagnose memory limit terminations using lastState and observed working-set growth rather than assuming every restart is application logic. Workload context: A worker has available RAM but a Pod with a 128Mi limit repeatedly exits OOMKilled during image processing.
Incorrect Answers
B:Inspect CNI configuration, Pod CIDRs, node route tables, overlay/underlay links and CNI daemon logs. These observations are more relevant to CNI Pod networking implementation, not this case. The distinguishing check is: Inspect OOMKilled exit reason, memory limit, heap behavior, node pressure and container metrics. Workload context: A worker has available RAM but a Pod with a 128Mi limit repeatedly exits OOMKilled during image processing.
C:Inspect probe paths, thresholds, failure conditions, Service endpoints and container restart events. These observations are more relevant to Readiness liveness and startup probe behavior, not this case. The distinguishing check is: Inspect OOMKilled exit reason, memory limit, heap behavior, node pressure and container metrics. Workload context: A worker has available RAM but a Pod with a 128Mi limit repeatedly exits OOMKilled during image processing.
D:Review image references, signing identities, attestations, admission decisions and deployed imageIDs. These observations are more relevant to Image provenance and admission policies, not this case. The distinguishing check is: Inspect OOMKilled exit reason, memory limit, heap behavior, node pressure and container metrics. Workload context: A worker has available RAM but a Pod with a 128Mi limit repeatedly exits OOMKilled during image processing.
Question 659
A client hardcodes a Pod IP and its connection fails each time the Deployment restarts a replica. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?
- Each eligible node runs the intended agent and newly added eligible nodes receive it automatically.
- Eligible nodes retrieve authorized images while unrelated namespaces and identities cannot pull private artifacts.
- Clients reach the intended healthy backends through a stable Service name despite Pod replacement.
- Pending eligible Pods receive appropriate node bindings when capacity and constraints allow scheduling.
Explanation
Correct Answer
C:Clients reach the intended healthy backends through a stable Service name despite Pod replacement. This is an observable service outcome, not just evidence that a configuration file was saved. A Service abstracts changing Pod endpoints; exposing a ClusterIP does not automatically create public Internet access. Workload context: A client hardcodes a Pod IP and its connection fails each time the Deployment restarts a replica.
Incorrect Answers
A:Each eligible node runs the intended agent and newly added eligible nodes receive it automatically. That result validates DaemonSet node-local workloads rather than the requirement here. Verify instead: Clients reach the intended healthy backends through a stable Service name despite Pod replacement. Workload context: A client hardcodes a Pod IP and its connection fails each time the Deployment restarts a replica.
B:Eligible nodes retrieve authorized images while unrelated namespaces and identities cannot pull private artifacts. That result validates OCI registries and image distribution rather than the requirement here. Verify instead: Clients reach the intended healthy backends through a stable Service name despite Pod replacement. Workload context: A client hardcodes a Pod IP and its connection fails each time the Deployment restarts a replica.
D: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: Clients reach the intended healthy backends through a stable Service name despite Pod replacement. Workload context: A client hardcodes a Pod IP and its connection fails each time the Deployment restarts a replica.
Question 660
A remote test client tries to contact the private ClusterIP address from an external workstation without any permitted route. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Use supported Ingress or Gateway API resources together with a running controller to route HTTP traffic by host and path.
- Use ClusterIP for private service access and NodePort only when node-level external ports are intentionally needed.
- Configure Pod Security Admission policy levels for namespaces to restrict unsafe Pod settings while documenting exceptions.
- Use StatefulSets for workloads needing stable ordinal identity and per-replica persistent claims rather than one shared ephemeral Deployment.
Explanation
Correct Answer
B:Use ClusterIP for private service access and NodePort only when node-level external ports are intentionally needed. This response implements the controlling Kubernetes or cloud native principle. ClusterIP does not automatically provide an external endpoint; NodePort opens a port on eligible nodes with network policy constraints. Check its effect by: Compare Service type, clusterIP, nodePort, targetPort, node addresses and backend EndpointSlices. Workload context: A remote test client tries to contact the private ClusterIP address from an external workstation without any permitted route.
Incorrect Answers
A:Use supported Ingress or Gateway API resources together with a running controller to route HTTP traffic by host and path. This action addresses Ingress and Gateway API routing instead of the controlling requirement. Ingress and Gateway API resources describe routing intent; a controller implements data-plane forwarding. For this scenario prefer: Use ClusterIP for private service access and NodePort only when node-level external ports are intentionally needed. Workload context: A remote test client tries to contact the private ClusterIP address from an external workstation without any permitted route.
C:Configure Pod Security Admission policy levels for namespaces to restrict unsafe Pod settings while documenting exceptions. This action addresses Pod Security Admission and namespaces instead of the controlling requirement. Pod Security Admission evaluates security standards at admission; it does not continuously sandbox existing containers after admission. For this scenario prefer: Use ClusterIP for private service access and NodePort only when node-level external ports are intentionally needed. Workload context: A remote test client tries to contact the private ClusterIP address from an external workstation without any permitted route.
D:Use StatefulSets for workloads needing stable ordinal identity and per-replica persistent claims rather than one shared ephemeral Deployment. This action addresses StatefulSet identity and volume templates instead of the controlling requirement. StatefulSets manage stable identities and can provision distinct PVCs; they do not automatically provide database replication correctness. For this scenario prefer: Use ClusterIP for private service access and NodePort only when node-level external ports are intentionally needed. Workload context: A remote test client tries to contact the private ClusterIP address from an external workstation without any permitted route.