Linux Foundation KCNA Practice Test 29
Question 280
A namespace lacks the correct registry pull Secret and otherwise healthy Pods remain in ImagePullBackOff. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope.
- Deleted claims follow the intended deletion or retention policy without unexpectedly destroying important data.
- Inspect Pod pull events, image tag existence, registry TLS, imagePullSecrets and service-account references.
- Inspect probe paths, thresholds, failure conditions, Service endpoints and container restart events.
- Trace requests through Service DNS, selector, EndpointSlice and targetPort before attributing all timeouts to network latency.
Explanation
Correct Answers
A:Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope. This response implements the controlling Kubernetes or cloud native principle. ImagePullBackOff is a retrieval or authorization problem; changing app readiness probes cannot fix a missing image. Check its effect by: Inspect Pod pull events, image tag existence, registry TLS, imagePullSecrets and service-account references. This is the implementation part of the required paired answer. Workload context: A namespace lacks the correct registry pull Secret and otherwise healthy Pods remain in ImagePullBackOff.
C: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. This is the diagnostic evidence part of the paired answer. Workload context: A namespace lacks the correct registry pull Secret and otherwise healthy Pods remain in ImagePullBackOff.
Incorrect Answers
B:Deleted claims follow the intended deletion or retention policy without unexpectedly destroying important data. This step belongs to PV reclaim policy Retain versus Delete rather than the complementary implementation and evidence pair. The intended approach is: Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope. Validate with: Inspect Pod pull events, image tag existence, registry TLS, imagePullSecrets and service-account references. Workload context: A namespace lacks the correct registry pull Secret and otherwise healthy Pods remain in ImagePullBackOff.
D:Inspect probe paths, thresholds, failure conditions, Service endpoints and container restart events. This step belongs to Readiness liveness and startup probe behavior rather than the complementary implementation and evidence pair. The intended approach is: Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope. Validate with: Inspect Pod pull events, image tag existence, registry TLS, imagePullSecrets and service-account references. Workload context: A namespace lacks the correct registry pull Secret and otherwise healthy Pods remain in ImagePullBackOff.
E:Trace requests through Service DNS, selector, EndpointSlice and targetPort before attributing all timeouts to network latency. This step belongs to Service selector and port mismatch diagnostics rather than the complementary implementation and evidence pair. The intended approach is: Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope. Validate with: Inspect Pod pull events, image tag existence, registry TLS, imagePullSecrets and service-account references. Workload context: A namespace lacks the correct registry pull Secret and otherwise healthy Pods remain in ImagePullBackOff.
Question 281
A supply-chain pipeline promotes a scanned image but cannot prove which CI builder generated the deployed digest. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Review image references, signing identities, attestations, admission decisions and deployed imageIDs.
- External HTTP clients reach the correct application by hostname and route rules while unrelated paths stay rejected.
- Require approved registry artifacts and verifiable signatures or digests before admitting production workloads.
- Inspect probe paths, thresholds, failure conditions, Service endpoints and container restart events.
- Assign dedicated Kubernetes service accounts and least-privilege RBAC for workloads accessing the API.
Explanation
Correct Answers
A:Review image references, signing identities, attestations, admission decisions and deployed imageIDs. This is the most discriminating evidence for the described failure or requirement. An image scanner alone does not prove publisher identity; signed provenance and admission enforcement address different guarantees. The corresponding implementation is: Require approved registry artifacts and verifiable signatures or digests before admitting production workloads. This is the diagnostic evidence part of the paired answer. Workload context: A supply-chain pipeline promotes a scanned image but cannot prove which CI builder generated the deployed digest.
C:Require approved registry artifacts and verifiable signatures or digests before admitting production workloads. This response implements the controlling Kubernetes or cloud native principle. An image scanner alone does not prove publisher identity; signed provenance and admission enforcement address different guarantees. Check its effect by: Review image references, signing identities, attestations, admission decisions and deployed imageIDs. This is the implementation part of the required paired answer. Workload context: A supply-chain pipeline promotes a scanned image but cannot prove which CI builder generated the deployed digest.
Incorrect Answers
B:External HTTP clients reach the correct application by hostname and route rules while unrelated paths stay rejected. This step belongs to Ingress and Gateway API routing rather than the complementary implementation and evidence pair. The intended approach is: Require approved registry artifacts and verifiable signatures or digests before admitting production workloads. Validate with: Review image references, signing identities, attestations, admission decisions and deployed imageIDs. Workload context: A supply-chain pipeline promotes a scanned image but cannot prove which CI builder generated the deployed digest.
D:Inspect probe paths, thresholds, failure conditions, Service endpoints and container restart events. This step belongs to Readiness liveness and startup probe behavior rather than the complementary implementation and evidence pair. The intended approach is: Require approved registry artifacts and verifiable signatures or digests before admitting production workloads. Validate with: Review image references, signing identities, attestations, admission decisions and deployed imageIDs. Workload context: A supply-chain pipeline promotes a scanned image but cannot prove which CI builder generated the deployed digest.
E:Assign dedicated Kubernetes service accounts and least-privilege RBAC for workloads accessing the API. This step belongs to ServiceAccount and workload RBAC boundaries rather than the complementary implementation and evidence pair. The intended approach is: Require approved registry artifacts and verifiable signatures or digests before admitting production workloads. Validate with: Review image references, signing identities, attestations, admission decisions and deployed imageIDs. Workload context: A supply-chain pipeline promotes a scanned image but cannot prove which CI builder generated the deployed digest.
Question 282
An engineer treats a base-image CVE as automatically reachable despite a distribution backport and no vulnerable code path. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?
- Inspect SBOM package inventory, CVE applicability, signature validation and approved exception decisions.
- Check Pod priority, preemptionPolicy, scheduling events, available alternatives and victim selection.
- Inspect ConfigMap/Secret references, RBAC, API audit records, encryption-at-rest settings and mount or environment behavior.
- Inspect kubelet runtime endpoint, CRI protocol support, containerd service status and runtime errors.
Explanation
Correct Answer
A:Inspect SBOM package inventory, CVE applicability, signature validation and approved exception decisions. This is the most discriminating evidence for the described failure or requirement. A scanner's package detection is evidence of inventory, not automatically proof of exploitation or complete image trust. The corresponding implementation is: Evaluate image SBOMs, signed provenance and vulnerability reports before production promotion, separating detected packages from reachable risk. Workload context: An engineer treats a base-image CVE as automatically reachable despite a distribution backport and no vulnerable code path.
Incorrect Answers
B:Check Pod priority, preemptionPolicy, scheduling events, available alternatives and victim selection. These observations are more relevant to PriorityClass and preemption, not this case. The distinguishing check is: Inspect SBOM package inventory, CVE applicability, signature validation and approved exception decisions. Workload context: An engineer treats a base-image CVE as automatically reachable despite a distribution backport and no vulnerable code path.
C:Inspect ConfigMap/Secret references, RBAC, API audit records, encryption-at-rest settings and mount or environment behavior. These observations are more relevant to ConfigMap and Secret boundaries, not this case. The distinguishing check is: Inspect SBOM package inventory, CVE applicability, signature validation and approved exception decisions. Workload context: An engineer treats a base-image CVE as automatically reachable despite a distribution backport and no vulnerable code path.
D:Inspect kubelet runtime endpoint, CRI protocol support, containerd service status and runtime errors. These observations are more relevant to Container runtime and CRI, not this case. The distinguishing check is: Inspect SBOM package inventory, CVE applicability, signature validation and approved exception decisions. Workload context: An engineer treats a base-image CVE as automatically reachable despite a distribution backport and no vulnerable code path.
Question 283
A team adds a LoadBalancer public IP to fix a timeout between two Pods that already communicate through internal DNS. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Inspect Service metadata, selected Pod labels, EndpointSlice readiness, containerPort and actual listening sockets.
- New claims provision compatible storage without requiring manual static PV creation for each request.
- Trace requests through Service DNS, selector, EndpointSlice and targetPort before attributing all timeouts to network latency.
- Use Pod events and scheduler reasons to diagnose Pending workloads before changing application images or reading nonexistent logs.
- Review namespace pod-security labels, admission warnings, violations and workload securityContext.
Explanation
Correct Answers
A:Inspect Service metadata, selected Pod labels, EndpointSlice readiness, containerPort and actual listening sockets. This is the most discriminating evidence for the described failure or requirement. A Service can resolve in DNS yet have zero endpoints or forward to an incorrect port. The corresponding implementation is: Trace requests through Service DNS, selector, EndpointSlice and targetPort before attributing all timeouts to network latency. This is the diagnostic evidence part of the paired answer. Workload context: A team adds a LoadBalancer public IP to fix a timeout between two Pods that already communicate through internal DNS.
C:Trace requests through Service DNS, selector, EndpointSlice and targetPort before attributing all timeouts to network latency. This response implements the controlling Kubernetes or cloud native principle. A Service can resolve in DNS yet have zero endpoints or forward to an incorrect port. Check its effect by: Inspect Service metadata, selected Pod labels, EndpointSlice readiness, containerPort and actual listening sockets. This is the implementation part of the required paired answer. Workload context: A team adds a LoadBalancer public IP to fix a timeout between two Pods that already communicate through internal DNS.
Incorrect Answers
B:New claims provision compatible storage without requiring manual static PV creation for each request. This step belongs to StorageClass dynamic provisioning rather than the complementary implementation and evidence pair. The intended approach is: Trace requests through Service DNS, selector, EndpointSlice and targetPort before attributing all timeouts to network latency. Validate with: Inspect Service metadata, selected Pod labels, EndpointSlice readiness, containerPort and actual listening sockets. Workload context: A team adds a LoadBalancer public IP to fix a timeout between two Pods that already communicate through internal DNS.
D:Use Pod events and scheduler reasons to diagnose Pending workloads before changing application images or reading nonexistent logs. This step belongs to Pending pod FailedScheduling events rather than the complementary implementation and evidence pair. The intended approach is: Trace requests through Service DNS, selector, EndpointSlice and targetPort before attributing all timeouts to network latency. Validate with: Inspect Service metadata, selected Pod labels, EndpointSlice readiness, containerPort and actual listening sockets. Workload context: A team adds a LoadBalancer public IP to fix a timeout between two Pods that already communicate through internal DNS.
E:Review namespace pod-security labels, admission warnings, violations and workload securityContext. This step belongs to Pod Security Admission and namespaces rather than the complementary implementation and evidence pair. The intended approach is: Trace requests through Service DNS, selector, EndpointSlice and targetPort before attributing all timeouts to network latency. Validate with: Inspect Service metadata, selected Pod labels, EndpointSlice readiness, containerPort and actual listening sockets. Workload context: A team adds a LoadBalancer public IP to fix a timeout between two Pods that already communicate through internal DNS.
Question 284
A startup chooses a graduated project without testing whether it supports required protocols and maintenance staffing. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?
- Identify each project role, integration point, maintainer documentation and whether it belongs to Kubernetes core.
- Inspect metric labels and samples, log fields, trace/span correlation and sampling rates.
- Inspect service ownership, API contract, timeout/retry behavior, communication coupling and failure domains.
- Review CNCF landscape category, project governance, release cadence, support ecosystem and security disclosures.
Explanation
Correct Answer
D:Review CNCF landscape category, project governance, release cadence, support ecosystem and security disclosures. This is the most discriminating evidence for the described failure or requirement. CNCF maturity levels indicate aspects of governance and adoption, not a guarantee of security or perfect product fit. The corresponding implementation is: Evaluate CNCF sandbox, incubating and graduated projects in context of maintenance, community adoption and technical fit. Workload context: A startup chooses a graduated project without testing whether it supports required protocols and maintenance staffing.
Incorrect Answers
A:Identify each project role, integration point, maintainer documentation and whether it belongs to Kubernetes core. These observations are more relevant to CNCF ecosystem and Kubernetes roles, not this case. The distinguishing check is: Review CNCF landscape category, project governance, release cadence, support ecosystem and security disclosures. Workload context: A startup chooses a graduated project without testing whether it supports required protocols and maintenance staffing.
B:Inspect metric labels and samples, log fields, trace/span correlation and sampling rates. These observations are more relevant to Metrics logs and traces distinctions, not this case. The distinguishing check is: Review CNCF landscape category, project governance, release cadence, support ecosystem and security disclosures. Workload context: A startup chooses a graduated project without testing whether it supports required protocols and maintenance staffing.
C:Inspect service ownership, API contract, timeout/retry behavior, communication coupling and failure domains. These observations are more relevant to Microservices contracts and failure isolation, not this case. The distinguishing check is: Review CNCF landscape category, project governance, release cadence, support ecosystem and security disclosures. Workload context: A startup chooses a graduated project without testing whether it supports required protocols and maintenance staffing.
Question 285
A researcher discovers a critical authentication bypass in an ecosystem controller and posts a working exploit in a public issue first. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?
- Review SIG charter, KEP status, community meeting records and maintainer review responsibilities.
- Inspect LICENSE files, contribution guidelines, DCO or CLA requirements and third-party dependency notices.
- Review security policy, affected version, maintainer contact, severity evidence and coordinated disclosure plan.
- Inspect ServiceMonitor or scrape config, /metrics endpoint, target health, scrape interval and sample labels.
Explanation
Correct Answer
C:Review security policy, affected version, maintainer contact, severity evidence and coordinated disclosure plan. This is the most discriminating evidence for the described failure or requirement. Public bug trackers are not always the right venue for undisclosed security issues; project security policies define channels. The corresponding implementation is: Report suspected project security vulnerabilities through the designated private security channel before public reproduction details or exploit examples. Workload context: A researcher discovers a critical authentication bypass in an ecosystem controller and posts a working exploit in a public issue first.
Incorrect Answers
A:Review SIG charter, KEP status, community meeting records and maintainer review responsibilities. These observations are more relevant to Kubernetes SIG and community governance, not this case. The distinguishing check is: Review security policy, affected version, maintainer contact, severity evidence and coordinated disclosure plan. Workload context: A researcher discovers a critical authentication bypass in an ecosystem controller and posts a working exploit in a public issue first.
B:Inspect LICENSE files, contribution guidelines, DCO or CLA requirements and third-party dependency notices. These observations are more relevant to Open source licensing and contribution basics, not this case. The distinguishing check is: Review security policy, affected version, maintainer contact, severity evidence and coordinated disclosure plan. Workload context: A researcher discovers a critical authentication bypass in an ecosystem controller and posts a working exploit in a public issue first.
D:Inspect ServiceMonitor or scrape config, /metrics endpoint, target health, scrape interval and sample labels. These observations are more relevant to Prometheus pull scraping and metrics endpoints, not this case. The distinguishing check is: Review security policy, affected version, maintainer contact, severity evidence and coordinated disclosure plan. Workload context: A researcher discovers a critical authentication bypass in an ecosystem controller and posts a working exploit in a public issue first.
Question 286
Pods are Ready and endpoint slices contain valid addresses but traffic drops after a node's service proxy configuration fails. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Diagnose memory limit terminations using lastState and observed working-set growth rather than assuming every restart is application logic.
- Check Service selectors and EndpointSlices to distinguish backend discovery from kube-proxy or data-plane forwarding faults.
- Use a Service type LoadBalancer with a supported cloud or in-cluster load-balancer controller to provide an approved external endpoint.
- Require approved registry artifacts and verifiable signatures or digests before admitting production workloads.
Explanation
Correct Answer
B:Check Service selectors and EndpointSlices to distinguish backend discovery from kube-proxy or data-plane forwarding faults. This response implements the controlling Kubernetes or cloud native principle. Service routing depends on endpoints and the cluster's Service dataplane; some clusters replace kube-proxy with an alternate implementation. Check its effect by: Inspect Service selector, Pod readiness, EndpointSlice addresses, kube-proxy or eBPF service programming and target ports. Workload context: Pods are Ready and endpoint slices contain valid addresses but traffic drops after a node's service proxy configuration fails.
Incorrect Answers
A:Diagnose memory limit terminations using lastState and observed working-set growth rather than assuming every restart is application logic. This action addresses Container OOMKilled and resource pressure instead of the controlling requirement. Container memory exceeding its cgroup limit can trigger OOMKilled even when node aggregate memory seems available. For this scenario prefer: Check Service selectors and EndpointSlices to distinguish backend discovery from kube-proxy or data-plane forwarding faults. Workload context: Pods are Ready and endpoint slices contain valid addresses but traffic drops after a node's service proxy configuration fails.
C: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: Check Service selectors and EndpointSlices to distinguish backend discovery from kube-proxy or data-plane forwarding faults. Workload context: Pods are Ready and endpoint slices contain valid addresses but traffic drops after a node's service proxy configuration fails.
D:Require approved registry artifacts and verifiable signatures or digests before admitting production workloads. This action addresses Image provenance and admission policies instead of the controlling requirement. An image scanner alone does not prove publisher identity; signed provenance and admission enforcement address different guarantees. For this scenario prefer: Check Service selectors and EndpointSlices to distinguish backend discovery from kube-proxy or data-plane forwarding faults. Workload context: Pods are Ready and endpoint slices contain valid addresses but traffic drops after a node's service proxy configuration fails.
Question 287
An operator hand-edits a Deployment in production and Argo CD later restores the Git-declared image tag. 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 container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads.
- Use a versioned Git repository as declarative desired state and a reconciler to detect and correct drift with approved change controls.
Explanation
Correct Answer
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. Workload context: An operator hand-edits a Deployment in production and Argo CD later restores the Git-declared image tag.
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: Use a versioned Git repository as declarative desired state and a reconciler to detect and correct drift with approved change controls. Workload context: An operator hand-edits a Deployment in production and Argo CD later restores the Git-declared image tag.
B: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 a versioned Git repository as declarative desired state and a reconciler to detect and correct drift with approved change controls. Workload context: An operator hand-edits a Deployment in production and Argo CD later restores the Git-declared image tag.
C:Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads. This action addresses kubectl logs current versus previous instance instead of the controlling requirement. kubectl logs streams container stdout/stderr, and --previous selects the prior terminated instance if available. For this scenario prefer: Use a versioned Git repository as declarative desired state and a reconciler to detect and correct drift with approved change controls. Workload context: An operator hand-edits a Deployment in production and Argo CD later restores the Git-declared image tag.
Question 288
A platform designer assumes CNCF staff directly merge every pull request without maintainer review from the relevant project community. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Review SIG charter, KEP status, community meeting records and maintainer review responsibilities.
- Follow Kubernetes Special Interest Group ownership and enhancement processes when proposing changes to core functionality.
- Check a project's license, contributor requirements and redistribution obligations before copying or shipping components.
- Workloads can be redeployed between supported clusters with explicitly identified environment-specific adaptations.
- Inspect SLI queries, SLO target/window, request populations, error budgets and alert rule outcomes.
Explanation
Correct Answers
A:Review SIG charter, KEP status, community meeting records and maintainer review responsibilities. This is the most discriminating evidence for the described failure or requirement. Kubernetes development is governed through open community processes rather than a single cloud vendor's private roadmap. The corresponding implementation is: Follow Kubernetes Special Interest Group ownership and enhancement processes when proposing changes to core functionality. This is the diagnostic evidence part of the paired answer. Workload context: A platform designer assumes CNCF staff directly merge every pull request without maintainer review from the relevant project community.
B:Follow Kubernetes Special Interest Group ownership and enhancement processes when proposing changes to core functionality. This response implements the controlling Kubernetes or cloud native principle. Kubernetes development is governed through open community processes rather than a single cloud vendor's private roadmap. Check its effect by: Review SIG charter, KEP status, community meeting records and maintainer review responsibilities. This is the implementation part of the required paired answer. Workload context: A platform designer assumes CNCF staff directly merge every pull request without maintainer review from the relevant project community.
Incorrect Answers
C:Check a project's license, contributor requirements and redistribution obligations before copying or shipping components. This step belongs to Open source licensing and contribution basics rather than the complementary implementation and evidence pair. The intended approach is: Follow Kubernetes Special Interest Group ownership and enhancement processes when proposing changes to core functionality. Validate with: Review SIG charter, KEP status, community meeting records and maintainer review responsibilities. Workload context: A platform designer assumes CNCF staff directly merge every pull request without maintainer review from the relevant project community.
D:Workloads can be redeployed between supported clusters with explicitly identified environment-specific adaptations. This step belongs to Open standards vendor-neutral portability rather than the complementary implementation and evidence pair. The intended approach is: Follow Kubernetes Special Interest Group ownership and enhancement processes when proposing changes to core functionality. Validate with: Review SIG charter, KEP status, community meeting records and maintainer review responsibilities. Workload context: A platform designer assumes CNCF staff directly merge every pull request without maintainer review from the relevant project community.
E:Inspect SLI queries, SLO target/window, request populations, error budgets and alert rule outcomes. This step belongs to SLIs SLOs and golden signals rather than the complementary implementation and evidence pair. The intended approach is: Follow Kubernetes Special Interest Group ownership and enhancement processes when proposing changes to core functionality. Validate with: Review SIG charter, KEP status, community meeting records and maintainer review responsibilities. Workload context: A platform designer assumes CNCF staff directly merge every pull request without maintainer review from the relevant project community.
Question 289
An engineer disables scheduling constraints and assumes this is the only way to trigger a scale-up for large jobs. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Teams see only permitted namespaced resources and network access is constrained by explicit policies.
- Choose requiredDuringSchedulingIgnoredDuringExecution for a hard node preference and preferred rules for soft placement choices.
- Review Pod scheduling reasons, node group templates, provisioning limits and autoscaler scale-up decisions.
- Inspect FailedScheduling events, Pod requests, node allocatable and scheduler filter outcomes.
- Use the scheduler to select feasible nodes and the cluster autoscaler to adjust node capacity when unschedulable Pods can fit a supported node group.
Explanation
Correct Answers
C:Review Pod scheduling reasons, node group templates, provisioning limits and autoscaler scale-up decisions. This is the most discriminating evidence for the described failure or requirement. The autoscaler provisions nodes; it does not assign Pod nodeName or fix impossible affinity or quota constraints by itself. The corresponding implementation is: 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 is the diagnostic evidence part of the paired answer. Workload context: An engineer disables scheduling constraints and assumes this is the only way to trigger a scale-up for large jobs.
E: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. This is the implementation part of the required paired answer. 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:Teams see only permitted namespaced resources and network access is constrained by explicit policies. This step belongs to Namespace scope and limits rather than the complementary implementation and evidence pair. The intended approach is: Use the scheduler to select feasible nodes and the cluster autoscaler to adjust node capacity when unschedulable Pods can fit a supported node group. Validate with: 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.
B:Choose requiredDuringSchedulingIgnoredDuringExecution for a hard node preference and preferred rules for soft placement choices. This step belongs to Node affinity required vs preferred rather than the complementary implementation and evidence pair. The intended approach is: Use the scheduler to select feasible nodes and the cluster autoscaler to adjust node capacity when unschedulable Pods can fit a supported node group. Validate with: 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.
D:Inspect FailedScheduling events, Pod requests, node allocatable and scheduler filter outcomes. This step belongs to Pending Pods and resource-fit checks rather than the complementary implementation and evidence pair. The intended approach is: Use the scheduler to select feasible nodes and the cluster autoscaler to adjust node capacity when unschedulable Pods can fit a supported node group. Validate with: 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.
Question 290
A cloud load balancer receives an address but internet requests fail because the provider firewall denies the listener port. 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 a Service type LoadBalancer with a supported cloud or in-cluster load-balancer controller to provide an approved external endpoint.
- Configure Pod Security Admission policy levels for namespaces to restrict unsafe Pod settings while documenting exceptions.
- Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope.
Explanation
Correct Answer
B:Use a Service type LoadBalancer with a supported cloud or in-cluster load-balancer controller to provide an approved external endpoint. This response implements the controlling Kubernetes or cloud native principle. A LoadBalancer Service depends on an implementation or provider controller; creating it does not guarantee an external address. Check its effect by: Inspect external IP status, controller events, security groups, health checks and upstream target availability. Workload context: A cloud load balancer receives an address but internet requests fail because the provider firewall denies the listener port.
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 a Service type LoadBalancer with a supported cloud or in-cluster load-balancer controller to provide an approved external endpoint. Workload context: A cloud load balancer receives an address but internet requests fail because the provider firewall denies the listener port.
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 a Service type LoadBalancer with a supported cloud or in-cluster load-balancer controller to provide an approved external endpoint. Workload context: A cloud load balancer receives an address but internet requests fail because the provider firewall denies the listener port.
D: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: Use a Service type LoadBalancer with a supported cloud or in-cluster load-balancer controller to provide an approved external endpoint. Workload context: A cloud load balancer receives an address but internet requests fail because the provider firewall denies the listener port.