Question 490
In an approved change request: An inference pod starts quickly but its vector database connection initializes for 30 seconds, causing clients to receive early 503 errors. Which action most directly addresses the problem?
Explanation
Correct Answer
Define a readiness endpoint that checks the dependencies needed before accepting traffic. The scenario specifically states: An inference pod starts quickly but its vector database connection initializes for 30 seconds, causing clients to receive early 503 errors. Kubernetes readiness probes control when a pod is eligible for Service traffic. This change targets the named service and constraints rather than a different workflow. Validate the result by checking Requests avoid unready pods during startup and reach them after initialization. The important remaining qualification is: Readiness probes do not restart a permanently unhealthy container automatically.
Incorrect Answers
Kubernetes rollout status and events reveal progress deadlines and failed ReplicaSet transitions. That addresses a different mechanism; this question turns on Define a readiness endpoint that checks the dependencies needed.
Container Apps event-based scaling can use KEDA-compatible Service Bus queue triggers and workload identity. In the present case the governing issue is Kubernetes readiness probes control when a pod is eligible, which this does not resolve.
Azure Container Apps can route ingress traffic by weights between supported active revisions. It does not verify the requested outcome; here the decisive check concerns Define a readiness endpoint that checks the dependencies needed.