Question 390
A serverless application bursts to hundreds of parallel instances and PostgreSQL reports too many clients. After implementing the targeted fix, which observation is the strongest direct acceptance evidence?
Explanation
Correct Answer
This is a direct, observable acceptance check for the case: A serverless application bursts to hundreds of parallel instances and PostgreSQL reports too many clients. The intended corrective action is Throttle invocation concurrency or place a managed-compatible pooling layer in the connection path. The specific verification is Load tests show stable active connections without exhausting the backend limit.
Incorrect Answers
The alternative addresses: The application assumes every cached connection remains valid across backend restart. The reported constraint here is different: This is a direct, observable acceptance check for the case: A serverless application bursts to hundreds of parallel instances and PostgreSQL reports too many clients. The case-specific choice is: Load tests show stable active connections without exhausting the backend limit.
Transaction pooling can hand a subsequent transaction to a different backend session. By contrast, the relevant technical condition here is: This is a direct, observable acceptance check for the case: A serverless application bursts to hundreds of parallel instances and PostgreSQL reports too many clients. The appropriate selection is: Load tests show stable active connections without exhausting the backend limit.
Missing queue and connection timeouts cause resource starvation under peak load. This is a separate requirement; the current case instead hinges on: This is a direct, observable acceptance check for the case: A serverless application bursts to hundreds of parallel instances and PostgreSQL reports too many clients. The matching answer is: Load tests show stable active connections without exhausting the backend limit.