Question 860
A cloud developer must resolve: A scaled Container Apps retrieval worker opens a new PostgreSQL TLS connection for every short request and exhausts connection slots. Which implementation step best meets the stated requirement?
Explanation
Correct Answer
Use supported Azure PostgreSQL connection pooling or a bounded application pool. The scenario specifically states: A scaled Container Apps retrieval worker opens a new PostgreSQL TLS connection for every short request and exhausts connection slots. Connection pooling reuses backend database connections and limits concurrency pressure. This change targets the named service and constraints rather than a different workflow. Validate the result by checking A burst test uses fewer backend connections and avoids connection-limit errors. The important remaining qualification is: Pooling does not solve a long-running query that monopolizes pooled sessions.
Incorrect Answers
PostgreSQL TLS verification modes differ; verify-full checks trusted CA and hostname. That addresses a different mechanism; this question turns on Use supported Azure PostgreSQL connection pooling or a bounded.
SQL can combine pgvector distance ordering with structured predicates in one query. That observation may hold without resolving the relevant issue: Use supported Azure PostgreSQL connection pooling or a bounded.
Pgvector operators and their index operator classes must match the intended similarity metric. It does not verify the requested outcome; here the decisive check concerns Use supported Azure PostgreSQL connection pooling or a bounded.