McAfee-Secured Website

Exam Bundle

Exam Code: KCNA

Exam Name Kubernetes and Cloud Native Associate

Certification Provider: Linux Foundation

Corresponding Certification: KCNA

Linux Foundation KCNA Bundle $44.99

100% Linux Foundation KCNA Guaranteed Success With Testking Training Materials

Get Real KCNA Exam Questions & Expert Verified Answers as Experienced on the Real Exam!

  • Questions & Answers

    KCNA Questions & Answers

    333 Questions & Answers

    The ultimate exam preparation tool, Questions & Answers mirrors the actual KCNA exam while allowing you to hone and measure every aspect of your test-taking ability.

  • KCNA Video Course

    KCNA Video Course

    54 Video Lectures

    KCNA Video Course is developed by Linux Foundation Professionals to help you pass the KCNA exam.

    Description

    This course will improve your knowledge and skills required to pass Kubernetes and Cloud Native Associate exam.
  • Study Guide

    KCNA Study Guide

    410 PDF Pages

    Developed by industry experts, this 410-page guide spells out in painstaking detail all of the information you need to ace KCNA exam.

Kubernetes and Cloud Native Associate (KCNA) Practice Tests

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Total Cost: $194.97
Bundle Price: $149.98

Purchase Individually

  • Questions & Answers

    Questions & Answers

    333 Questions

    $124.99
  • KCNA Video Course

    Video Course

    54 Video Lectures

    $39.99
  • Study Guide

    Study Guide

    410 PDF Pages

    $29.99

Linux Foundation KCNA Practice Test 39

Question 380

At Timberline Foods, the supply-chain applications team is managing a factory inventory cluster with requirements for operational resilience and accurate stock changes. The team claims a correction and requests independent validation for: A Service has the correct selector but no healthy endpoints because the matching Pods are not ready. Which observed result BEST confirms the intended correction?

  1. An in-cluster DNS lookup resolves the expected Service while Pod lifecycle remains managed by Kubernetes controllers and kubelet.
  2. The service's EndpointSlices contain only the desired backend addresses and client traffic flows again.
  3. Approved application Pods connect to the database while a disallowed test Pod is blocked by the policy-aware network layer.
  4. Ready Pods appear in the endpoint set and client connections recover without routing to unready replicas.

Explanation

Correct Answer

D:

Ready Pods appear in the endpoint set and client connections recover without routing to unready replicas. This demonstrates that the originally documented problem was resolved: A Service has the correct selector but no healthy endpoints because the matching Pods are not ready. The corresponding corrective approach is: Check selector labels and readiness conditions so the Service advertises only eligible endpoints. For Timberline Foods, this observed outcome is more meaningful than a completed ticket or configuration claim.

Incorrect Answers

A:

An in-cluster DNS lookup resolves the expected Service while Pod lifecycle remains managed by Kubernetes controllers and kubelet. That observed result would support another specific correction: Identify CoreDNS or the configured DNS service as providing service name resolution, not scheduling or container execution. The other scenario concerns: A troubleshooting guide treats CoreDNS as a container runtime that restarts failed Pods instead of a cluster DNS component. The current Timberline Foods problem is: A Service has the correct selector but no healthy endpoints because the matching Pods are not ready. The evidence required here is: Ready Pods appear in the endpoint set and client connections recover without routing to unready replicas.

B:

The service's EndpointSlices contain only the desired backend addresses and client traffic flows again. That observed result would support another specific correction: Restore a valid Service selector or explicitly manage EndpointSlices when a selectorless Service is intentional. The other scenario concerns: A team removes all Service selectors expecting the cluster to automatically discover arbitrary backend Pods anyway. The current Timberline Foods problem is: A Service has the correct selector but no healthy endpoints because the matching Pods are not ready. The evidence required here is: Ready Pods appear in the endpoint set and client connections recover without routing to unready replicas.

C:

Approved application Pods connect to the database while a disallowed test Pod is blocked by the policy-aware network layer. That observed result would support another specific correction: Apply an ingress policy selecting the database Pods with the minimum permitted client sources and ports. The other scenario concerns: A security team intends to limit inbound access to a database but writes only an egress NetworkPolicy for its namespace. The current Timberline Foods problem is: A Service has the correct selector but no healthy endpoints because the matching Pods are not ready. The evidence required here is: Ready Pods appear in the endpoint set and client connections recover without routing to unready replicas.

Question 381

At Juniper Media, the content engineering team is managing a streamed-media microservices application with requirements for peak-demand scalability and deployment safety. A platform check finds: A platform team configures a NetworkPolicy but assumes it automatically denies traffic in a cluster without a policy-aware CNI plugin. Which change BEST resolves the specific issue?

  1. Use a Service DNS name or the correct cross-Pod network address instead of the client's loopback interface.
  2. Route clients through a Service and service discovery name rather than directly depending on replaceable Pod IPs.
  3. Verify that the installed network implementation enforces NetworkPolicy before relying on default-deny rules.
  4. Install or select an appropriate Ingress controller and configure its routing rules with required policies.

Explanation

Correct Answer

C:

Verify that the installed network implementation enforces NetworkPolicy before relying on default-deny rules. This directly addresses the operational issue: A platform team configures a NetworkPolicy but assumes it automatically denies traffic in a cluster without a policy-aware CNI plugin. The Juniper Media team should verify its effectiveness rather than assume that an updated manifest or command proves success. The strongest acceptance evidence is: A controlled blocked-flow test proves the policy is enforced by the configured network plugin.

Incorrect Answers

A:

Use a Service DNS name or the correct cross-Pod network address instead of the client's loopback interface. That choice addresses a different foundational issue: A developer uses localhost to contact a database Pod running separately from the client Pod. The issue at Juniper Media is instead: A platform team configures a NetworkPolicy but assumes it automatically denies traffic in a cluster without a policy-aware CNI plugin. It does not establish the required correction; the decisive verification would be: A controlled blocked-flow test proves the policy is enforced by the configured network plugin.

B:

Route clients through a Service and service discovery name rather than directly depending on replaceable Pod IPs. That choice addresses a different foundational issue: A Kubernetes beginner expects Pod IP addresses to remain stable across rescheduling and hard-codes one into a client configuration. The issue at Juniper Media is instead: A platform team configures a NetworkPolicy but assumes it automatically denies traffic in a cluster without a policy-aware CNI plugin. It does not establish the required correction; the decisive verification would be: A controlled blocked-flow test proves the policy is enforced by the configured network plugin.

D:

Install or select an appropriate Ingress controller and configure its routing rules with required policies. That choice addresses a different foundational issue: A developer creates an Ingress object and assumes it processes HTTP traffic even though the cluster has no Ingress controller. The issue at Juniper Media is instead: A platform team configures a NetworkPolicy but assumes it automatically denies traffic in a cluster without a policy-aware CNI plugin. It does not establish the required correction; the decisive verification would be: A controlled blocked-flow test proves the policy is enforced by the configured network plugin.

Question 382

At Juniper Media, the content engineering team is managing a streamed-media microservices application with requirements for peak-demand scalability and deployment safety. An acceptance check is required after fixing: A platform team configures a NetworkPolicy but assumes it automatically denies traffic in a cluster without a policy-aware CNI plugin. Which observed result BEST confirms the intended correction?

  1. The client resolves and reaches the Service in the target namespace without relying on an ambiguous short name.
  2. The provider assigns or exposes the intended frontend and authorized external requests reach ready backend Pods.
  3. The DNS response provides records for the relevant endpoints rather than one normal Service virtual IP.
  4. A controlled blocked-flow test proves the policy is enforced by the configured network plugin.

Explanation

Correct Answer

D:

A controlled blocked-flow test proves the policy is enforced by the configured network plugin. This demonstrates that the originally documented problem was resolved: A platform team configures a NetworkPolicy but assumes it automatically denies traffic in a cluster without a policy-aware CNI plugin. The corresponding corrective approach is: Verify that the installed network implementation enforces NetworkPolicy before relying on default-deny rules. For Juniper Media, this observed outcome is more meaningful than a completed ticket or configuration claim.

Incorrect Answers

A:

The client resolves and reaches the Service in the target namespace without relying on an ambiguous short name. That observed result would support another specific correction: Use the appropriate namespace-qualified Service DNS name or configure the intended discovery context. The other scenario concerns: An application in one namespace queries a short Service name that exists only in a different namespace and gets a lookup failure. The current Juniper Media problem is: A platform team configures a NetworkPolicy but assumes it automatically denies traffic in a cluster without a policy-aware CNI plugin. The evidence required here is: A controlled blocked-flow test proves the policy is enforced by the configured network plugin.

B:

The provider assigns or exposes the intended frontend and authorized external requests reach ready backend Pods. That observed result would support another specific correction: Use a LoadBalancer Service in a compatible environment and confirm the external address and access policy. The other scenario concerns: A cloud deployment requires a provider-managed external frontend but the service manifest still uses ClusterIP. The current Juniper Media problem is: A platform team configures a NetworkPolicy but assumes it automatically denies traffic in a cluster without a policy-aware CNI plugin. The evidence required here is: A controlled blocked-flow test proves the policy is enforced by the configured network plugin.

C:

The DNS response provides records for the relevant endpoints rather than one normal Service virtual IP. That observed result would support another specific correction: Explain that a headless Service omits the virtual ClusterIP and exposes endpoint-oriented DNS discovery behavior. The other scenario concerns: A cluster operator expects a headless Service to allocate a stable virtual ClusterIP and load-balance traffic across all endpoints. The current Juniper Media problem is: A platform team configures a NetworkPolicy but assumes it automatically denies traffic in a cluster without a policy-aware CNI plugin. The evidence required here is: A controlled blocked-flow test proves the policy is enforced by the configured network plugin.

Question 383

At Meadowbrook Finance, the banking platform team is managing a payment application delivery pipeline with requirements for traceable changes and controlled release risk. An implementation review identifies the following problem: A platform team configures a NetworkPolicy but assumes it automatically denies traffic in a cluster without a policy-aware CNI plugin. Which change BEST resolves the specific issue?

  1. Use localhost for communication between containers that share a Pod network namespace.
  2. Verify that the installed network implementation enforces NetworkPolicy before relying on default-deny rules.
  3. Use a Service DNS name or the correct cross-Pod network address instead of the client's loopback interface.
  4. Install or select an appropriate Ingress controller and configure its routing rules with required policies.

Explanation

Correct Answer

B:

Verify that the installed network implementation enforces NetworkPolicy before relying on default-deny rules. This directly addresses the operational issue: A platform team configures a NetworkPolicy but assumes it automatically denies traffic in a cluster without a policy-aware CNI plugin. The Meadowbrook Finance team should verify its effectiveness rather than assume that an updated manifest or command proves success. The strongest acceptance evidence is: A controlled blocked-flow test proves the policy is enforced by the configured network plugin.

Incorrect Answers

A:

Use localhost for communication between containers that share a Pod network namespace. That choice addresses a different foundational issue: Two containers in the same Pod use each other's Pod IP as though they live on separate network namespaces. The issue at Meadowbrook Finance is instead: A platform team configures a NetworkPolicy but assumes it automatically denies traffic in a cluster without a policy-aware CNI plugin. It does not establish the required correction; the decisive verification would be: A controlled blocked-flow test proves the policy is enforced by the configured network plugin.

C:

Use a Service DNS name or the correct cross-Pod network address instead of the client's loopback interface. That choice addresses a different foundational issue: A developer uses localhost to contact a database Pod running separately from the client Pod. The issue at Meadowbrook Finance is instead: A platform team configures a NetworkPolicy but assumes it automatically denies traffic in a cluster without a policy-aware CNI plugin. It does not establish the required correction; the decisive verification would be: A controlled blocked-flow test proves the policy is enforced by the configured network plugin.

D:

Install or select an appropriate Ingress controller and configure its routing rules with required policies. That choice addresses a different foundational issue: A developer creates an Ingress object and assumes it processes HTTP traffic even though the cluster has no Ingress controller. The issue at Meadowbrook Finance is instead: A platform team configures a NetworkPolicy but assumes it automatically denies traffic in a cluster without a policy-aware CNI plugin. It does not establish the required correction; the decisive verification would be: A controlled blocked-flow test proves the policy is enforced by the configured network plugin.

Question 384

At Meadowbrook Finance, the banking platform team is managing a payment application delivery pipeline with requirements for traceable changes and controlled release risk. The release reviewer now needs objective evidence for this original issue: A platform team configures a NetworkPolicy but assumes it automatically denies traffic in a cluster without a policy-aware CNI plugin. Which observed result BEST confirms the intended correction?

  1. A controlled blocked-flow test proves the policy is enforced by the configured network plugin.
  2. The DNS response provides records for the relevant endpoints rather than one normal Service virtual IP.
  3. In-cluster clients reach the ClusterIP while external access uses a deliberately configured entry point.
  4. The application reaches the database through an appropriate Service while localhost remains limited to its own Pod.

Explanation

Correct Answer

A:

A controlled blocked-flow test proves the policy is enforced by the configured network plugin. This demonstrates that the originally documented problem was resolved: A platform team configures a NetworkPolicy but assumes it automatically denies traffic in a cluster without a policy-aware CNI plugin. The corresponding corrective approach is: Verify that the installed network implementation enforces NetworkPolicy before relying on default-deny rules. For Meadowbrook Finance, this observed outcome is more meaningful than a completed ticket or configuration claim.

Incorrect Answers

B:

The DNS response provides records for the relevant endpoints rather than one normal Service virtual IP. That observed result would support another specific correction: Explain that a headless Service omits the virtual ClusterIP and exposes endpoint-oriented DNS discovery behavior. The other scenario concerns: A cluster operator expects a headless Service to allocate a stable virtual ClusterIP and load-balance traffic across all endpoints. The current Meadowbrook Finance problem is: A platform team configures a NetworkPolicy but assumes it automatically denies traffic in a cluster without a policy-aware CNI plugin. The evidence required here is: A controlled blocked-flow test proves the policy is enforced by the configured network plugin.

C:

In-cluster clients reach the ClusterIP while external access uses a deliberately configured entry point. That observed result would support another specific correction: Explain that ClusterIP provides cluster-internal reachability and select an explicitly authorized external exposure mechanism. The other scenario concerns: An operator creates a ClusterIP Service and expects a browser on the public internet to connect to it directly. The current Meadowbrook Finance problem is: A platform team configures a NetworkPolicy but assumes it automatically denies traffic in a cluster without a policy-aware CNI plugin. The evidence required here is: A controlled blocked-flow test proves the policy is enforced by the configured network plugin.

D:

The application reaches the database through an appropriate Service while localhost remains limited to its own Pod. That observed result would support another specific correction: Use a Service DNS name or the correct cross-Pod network address instead of the client's loopback interface. The other scenario concerns: A developer uses localhost to contact a database Pod running separately from the client Pod. The current Meadowbrook Finance problem is: A platform team configures a NetworkPolicy but assumes it automatically denies traffic in a cluster without a policy-aware CNI plugin. The evidence required here is: A controlled blocked-flow test proves the policy is enforced by the configured network plugin.

Question 385

At Eastshore Energy, the energy applications team is managing a field-services modernization with requirements for operational availability and restricted system changes. The training lab has documented this issue: A developer creates an Ingress object and assumes it processes HTTP traffic even though the cluster has no Ingress controller. Which change BEST resolves the specific issue?

  1. Inspect host and path matching on the chosen Ingress or Gateway resource and correct the backend reference.
  2. Explain that ClusterIP provides cluster-internal reachability and select an explicitly authorized external exposure mechanism.
  3. Apply an ingress policy selecting the database Pods with the minimum permitted client sources and ports.
  4. Install or select an appropriate Ingress controller and configure its routing rules with required policies.

Explanation

Correct Answer

D:

Install or select an appropriate Ingress controller and configure its routing rules with required policies. This directly addresses the operational issue: A developer creates an Ingress object and assumes it processes HTTP traffic even though the cluster has no Ingress controller. The Eastshore Energy team should verify its effectiveness rather than assume that an updated manifest or command proves success. The strongest acceptance evidence is: The controller accepts the route and an approved HTTP request reaches the intended backend service.

Incorrect Answers

A:

Inspect host and path matching on the chosen Ingress or Gateway resource and correct the backend reference. That choice addresses a different foundational issue: A gateway route maps the wrong hostname to a backend and the team suspects container DNS instead of HTTP routing configuration. The issue at Eastshore Energy is instead: A developer creates an Ingress object and assumes it processes HTTP traffic even though the cluster has no Ingress controller. It does not establish the required correction; the decisive verification would be: The controller accepts the route and an approved HTTP request reaches the intended backend service.

B:

Explain that ClusterIP provides cluster-internal reachability and select an explicitly authorized external exposure mechanism. That choice addresses a different foundational issue: An operator creates a ClusterIP Service and expects a browser on the public internet to connect to it directly. The issue at Eastshore Energy is instead: A developer creates an Ingress object and assumes it processes HTTP traffic even though the cluster has no Ingress controller. It does not establish the required correction; the decisive verification would be: The controller accepts the route and an approved HTTP request reaches the intended backend service.

C:

Apply an ingress policy selecting the database Pods with the minimum permitted client sources and ports. That choice addresses a different foundational issue: A security team intends to limit inbound access to a database but writes only an egress NetworkPolicy for its namespace. The issue at Eastshore Energy is instead: A developer creates an Ingress object and assumes it processes HTTP traffic even though the cluster has no Ingress controller. It does not establish the required correction; the decisive verification would be: The controller accepts the route and an approved HTTP request reaches the intended backend service.

Question 386

At Eastshore Energy, the energy applications team is managing a field-services modernization with requirements for operational availability and restricted system changes. The team claims a correction and requests independent validation for: A developer creates an Ingress object and assumes it processes HTTP traffic even though the cluster has no Ingress controller. Which observed result BEST confirms the intended correction?

  1. Changing the Service type alters intended access behavior without modifying the Deployment's desired replica count.
  2. In-cluster clients reach the ClusterIP while external access uses a deliberately configured entry point.
  3. The controller accepts the route and an approved HTTP request reaches the intended backend service.
  4. The test explains external exposure through the configured Service type without assuming a public provider-managed address for NodePort.

Explanation

Correct Answer

C:

The controller accepts the route and an approved HTTP request reaches the intended backend service. This demonstrates that the originally documented problem was resolved: A developer creates an Ingress object and assumes it processes HTTP traffic even though the cluster has no Ingress controller. The corresponding corrective approach is: Install or select an appropriate Ingress controller and configure its routing rules with required policies. For Eastshore Energy, this observed outcome is more meaningful than a completed ticket or configuration claim.

Incorrect Answers

A:

Changing the Service type alters intended access behavior without modifying the Deployment's desired replica count. That observed result would support another specific correction: Treat Service configuration as network discovery and traffic exposure, and use controllers and scheduling mechanisms for replicas. The other scenario concerns: A team assumes a Service type changes Pod placement and autoscaling rather than influencing how clients access a workload. The current Eastshore Energy problem is: A developer creates an Ingress object and assumes it processes HTTP traffic even though the cluster has no Ingress controller. The evidence required here is: The controller accepts the route and an approved HTTP request reaches the intended backend service.

B:

In-cluster clients reach the ClusterIP while external access uses a deliberately configured entry point. That observed result would support another specific correction: Explain that ClusterIP provides cluster-internal reachability and select an explicitly authorized external exposure mechanism. The other scenario concerns: An operator creates a ClusterIP Service and expects a browser on the public internet to connect to it directly. The current Eastshore Energy problem is: A developer creates an Ingress object and assumes it processes HTTP traffic even though the cluster has no Ingress controller. The evidence required here is: The controller accepts the route and an approved HTTP request reaches the intended backend service.

D:

The test explains external exposure through the configured Service type without assuming a public provider-managed address for NodePort. That observed result would support another specific correction: Differentiate NodePort access on node addresses from a LoadBalancer Service that requests provider integration where available. The other scenario concerns: A developer believes NodePort automatically allocates a dedicated public load balancer in the cloud provider account. The current Eastshore Energy problem is: A developer creates an Ingress object and assumes it processes HTTP traffic even though the cluster has no Ingress controller. The evidence required here is: The controller accepts the route and an approved HTTP request reaches the intended backend service.

Question 387

At Alpine Healthcare, the clinical platform team is managing a healthcare application migration with requirements for patient privacy and high service availability. A platform check finds: A developer creates an Ingress object and assumes it processes HTTP traffic even though the cluster has no Ingress controller. Which change BEST resolves the specific issue?

  1. Install or select an appropriate Ingress controller and configure its routing rules with required policies.
  2. Differentiate NodePort access on node addresses from a LoadBalancer Service that requests provider integration where available.
  3. Route clients through a Service and service discovery name rather than directly depending on replaceable Pod IPs.
  4. Explain that ClusterIP provides cluster-internal reachability and select an explicitly authorized external exposure mechanism.

Explanation

Correct Answer

A:

Install or select an appropriate Ingress controller and configure its routing rules with required policies. This directly addresses the operational issue: A developer creates an Ingress object and assumes it processes HTTP traffic even though the cluster has no Ingress controller. The Alpine Healthcare team should verify its effectiveness rather than assume that an updated manifest or command proves success. The strongest acceptance evidence is: The controller accepts the route and an approved HTTP request reaches the intended backend service.

Incorrect Answers

B:

Differentiate NodePort access on node addresses from a LoadBalancer Service that requests provider integration where available. That choice addresses a different foundational issue: A developer believes NodePort automatically allocates a dedicated public load balancer in the cloud provider account. The issue at Alpine Healthcare is instead: A developer creates an Ingress object and assumes it processes HTTP traffic even though the cluster has no Ingress controller. It does not establish the required correction; the decisive verification would be: The controller accepts the route and an approved HTTP request reaches the intended backend service.

C:

Route clients through a Service and service discovery name rather than directly depending on replaceable Pod IPs. That choice addresses a different foundational issue: A Kubernetes beginner expects Pod IP addresses to remain stable across rescheduling and hard-codes one into a client configuration. The issue at Alpine Healthcare is instead: A developer creates an Ingress object and assumes it processes HTTP traffic even though the cluster has no Ingress controller. It does not establish the required correction; the decisive verification would be: The controller accepts the route and an approved HTTP request reaches the intended backend service.

D:

Explain that ClusterIP provides cluster-internal reachability and select an explicitly authorized external exposure mechanism. That choice addresses a different foundational issue: An operator creates a ClusterIP Service and expects a browser on the public internet to connect to it directly. The issue at Alpine Healthcare is instead: A developer creates an Ingress object and assumes it processes HTTP traffic even though the cluster has no Ingress controller. It does not establish the required correction; the decisive verification would be: The controller accepts the route and an approved HTTP request reaches the intended backend service.

Question 388

At Alpine Healthcare, the clinical platform team is managing a healthcare application migration with requirements for patient privacy and high service availability. An acceptance check is required after fixing: A developer creates an Ingress object and assumes it processes HTTP traffic even though the cluster has no Ingress controller. Which observed result BEST confirms the intended correction?

  1. The client continues to connect after the selected Pod is recreated with a different address.
  2. The controller accepts the route and an approved HTTP request reaches the intended backend service.
  3. The sidecar successfully reaches the application's loopback listener without using a separate inter-Pod route.
  4. The service's EndpointSlices contain only the desired backend addresses and client traffic flows again.

Explanation

Correct Answer

B:

The controller accepts the route and an approved HTTP request reaches the intended backend service. This demonstrates that the originally documented problem was resolved: A developer creates an Ingress object and assumes it processes HTTP traffic even though the cluster has no Ingress controller. The corresponding corrective approach is: Install or select an appropriate Ingress controller and configure its routing rules with required policies. For Alpine Healthcare, this observed outcome is more meaningful than a completed ticket or configuration claim.

Incorrect Answers

A:

The client continues to connect after the selected Pod is recreated with a different address. That observed result would support another specific correction: Route clients through a Service and service discovery name rather than directly depending on replaceable Pod IPs. The other scenario concerns: A Kubernetes beginner expects Pod IP addresses to remain stable across rescheduling and hard-codes one into a client configuration. The current Alpine Healthcare problem is: A developer creates an Ingress object and assumes it processes HTTP traffic even though the cluster has no Ingress controller. The evidence required here is: The controller accepts the route and an approved HTTP request reaches the intended backend service.

C:

The sidecar successfully reaches the application's loopback listener without using a separate inter-Pod route. That observed result would support another specific correction: Use localhost for communication between containers that share a Pod network namespace. The other scenario concerns: Two containers in the same Pod use each other's Pod IP as though they live on separate network namespaces. The current Alpine Healthcare problem is: A developer creates an Ingress object and assumes it processes HTTP traffic even though the cluster has no Ingress controller. The evidence required here is: The controller accepts the route and an approved HTTP request reaches the intended backend service.

D:

The service's EndpointSlices contain only the desired backend addresses and client traffic flows again. That observed result would support another specific correction: Restore a valid Service selector or explicitly manage EndpointSlices when a selectorless Service is intentional. The other scenario concerns: A team removes all Service selectors expecting the cluster to automatically discover arbitrary backend Pods anyway. The current Alpine Healthcare problem is: A developer creates an Ingress object and assumes it processes HTTP traffic even though the cluster has no Ingress controller. The evidence required here is: The controller accepts the route and an approved HTTP request reaches the intended backend service.

Question 389

At Brookside Manufacturing, the factory applications team is managing a production dashboard cluster with requirements for maintenance windows and dependable telemetry. An implementation review identifies the following problem: A gateway route maps the wrong hostname to a backend and the team suspects container DNS instead of HTTP routing configuration. Which change BEST resolves the specific issue?

  1. Use localhost for communication between containers that share a Pod network namespace.
  2. Explain the Kubernetes Pod networking model in which reachable Pod addresses connect across nodes through the cluster network.
  3. Inspect host and path matching on the chosen Ingress or Gateway resource and correct the backend reference.
  4. Install or select an appropriate Ingress controller and configure its routing rules with required policies.

Explanation

Correct Answer

C:

Inspect host and path matching on the chosen Ingress or Gateway resource and correct the backend reference. This directly addresses the operational issue: A gateway route maps the wrong hostname to a backend and the team suspects container DNS instead of HTTP routing configuration. The Brookside Manufacturing team should verify its effectiveness rather than assume that an updated manifest or command proves success. The strongest acceptance evidence is: Requests with the configured host and path reach the intended service while unrelated requests remain unmatched.

Incorrect Answers

A:

Use localhost for communication between containers that share a Pod network namespace. That choice addresses a different foundational issue: Two containers in the same Pod use each other's Pod IP as though they live on separate network namespaces. The issue at Brookside Manufacturing is instead: A gateway route maps the wrong hostname to a backend and the team suspects container DNS instead of HTTP routing configuration. It does not establish the required correction; the decisive verification would be: Requests with the configured host and path reach the intended service while unrelated requests remain unmatched.

B:

Explain the Kubernetes Pod networking model in which reachable Pod addresses connect across nodes through the cluster network. That choice addresses a different foundational issue: A cluster design assumes every Pod communicates through NAT using a unique host port and can never contact other Pod IPs directly. The issue at Brookside Manufacturing is instead: A gateway route maps the wrong hostname to a backend and the team suspects container DNS instead of HTTP routing configuration. It does not establish the required correction; the decisive verification would be: Requests with the configured host and path reach the intended service while unrelated requests remain unmatched.

D:

Install or select an appropriate Ingress controller and configure its routing rules with required policies. That choice addresses a different foundational issue: A developer creates an Ingress object and assumes it processes HTTP traffic even though the cluster has no Ingress controller. The issue at Brookside Manufacturing is instead: A gateway route maps the wrong hostname to a backend and the team suspects container DNS instead of HTTP routing configuration. It does not establish the required correction; the decisive verification would be: Requests with the configured host and path reach the intended service while unrelated requests remain unmatched.

Question 390

At Brookside Manufacturing, the factory applications team is managing a production dashboard cluster with requirements for maintenance windows and dependable telemetry. The release reviewer now needs objective evidence for this original issue: A gateway route maps the wrong hostname to a backend and the team suspects container DNS instead of HTTP routing configuration. Which observed result BEST confirms the intended correction?

  1. A Pod on one worker contacts a permitted Pod IP on another worker without inventing a host-port mapping for every workload.
  2. The test explains external exposure through the configured Service type without assuming a public provider-managed address for NodePort.
  3. The application reaches the database through an appropriate Service while localhost remains limited to its own Pod.
  4. Requests with the configured host and path reach the intended service while unrelated requests remain unmatched.

Explanation

Correct Answer

D:

Requests with the configured host and path reach the intended service while unrelated requests remain unmatched. This demonstrates that the originally documented problem was resolved: A gateway route maps the wrong hostname to a backend and the team suspects container DNS instead of HTTP routing configuration. The corresponding corrective approach is: Inspect host and path matching on the chosen Ingress or Gateway resource and correct the backend reference. For Brookside Manufacturing, this observed outcome is more meaningful than a completed ticket or configuration claim.

Incorrect Answers

A:

A Pod on one worker contacts a permitted Pod IP on another worker without inventing a host-port mapping for every workload. That observed result would support another specific correction: Explain the Kubernetes Pod networking model in which reachable Pod addresses connect across nodes through the cluster network. The other scenario concerns: A cluster design assumes every Pod communicates through NAT using a unique host port and can never contact other Pod IPs directly. The current Brookside Manufacturing problem is: A gateway route maps the wrong hostname to a backend and the team suspects container DNS instead of HTTP routing configuration. The evidence required here is: Requests with the configured host and path reach the intended service while unrelated requests remain unmatched.

B:

The test explains external exposure through the configured Service type without assuming a public provider-managed address for NodePort. That observed result would support another specific correction: Differentiate NodePort access on node addresses from a LoadBalancer Service that requests provider integration where available. The other scenario concerns: A developer believes NodePort automatically allocates a dedicated public load balancer in the cloud provider account. The current Brookside Manufacturing problem is: A gateway route maps the wrong hostname to a backend and the team suspects container DNS instead of HTTP routing configuration. The evidence required here is: Requests with the configured host and path reach the intended service while unrelated requests remain unmatched.

C:

The application reaches the database through an appropriate Service while localhost remains limited to its own Pod. That observed result would support another specific correction: Use a Service DNS name or the correct cross-Pod network address instead of the client's loopback interface. The other scenario concerns: A developer uses localhost to contact a database Pod running separately from the client Pod. The current Brookside Manufacturing problem is: A gateway route maps the wrong hostname to a backend and the team suspects container DNS instead of HTTP routing configuration. The evidence required here is: Requests with the configured host and path reach the intended service while unrelated requests remain unmatched.