Question 720
At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: A prepared HTTPRoute dispatch-route in fulfillment must attach to approved Gateway regional-gw and route requests for dispatch.example.test to Service dispatch-svc. Work only within the stated target and verify before declaring success. Which operational control most directly prevents this failure or configuration drift?
Explanation
Correct Answer
Treat cross-namespace route attachment and backend references as controlled trust boundaries. This reduces recurrence of the specific operational failure. It reinforces the action: Run kubectl -n fulfillment apply -f ./gateway/dispatch-api-route.yaml after confirming parentRefs, hostnames and backendRefs. The relevant mechanism is: Gateway API HTTPRoutes express matching and backend behavior while Gateway resources own compatible listeners.
Incorrect Answers
The suggested review tracks a different technical risk: The Service port is what clients connect to, while targetPort must reach the actual backend listener. Here the sustained control must address: Gateway API HTTPRoutes express matching and backend behavior while Gateway resources own compatible listeners. Choose “Treat cross-namespace route attachment and backend references as controlled trust boundaries”.
That safeguard is relevant to: An egress-isolating NetworkPolicy can block Pod outbound connections; DNS and required dependencies need explicit allowances. The current failure instead follows from: Gateway API HTTPRoutes express matching and backend behavior while Gateway resources own compatible listeners. Its prevention measure is “Treat cross-namespace route attachment and backend references as controlled trust boundaries”.
The suggested review tracks a different technical risk: Port-forwarding creates a client-side tunnel to a selected backend and does not change the Service type or network exposure. Here the sustained control must address: Gateway API HTTPRoutes express matching and backend behavior while Gateway resources own compatible listeners. Choose “Treat cross-namespace route attachment and backend references as controlled trust boundaries”.