Question 260
A scalable KEDA worker overwhelms a downstream PostgreSQL pool each time Service Bus receives a burst. Which engineering change is the most direct response to the stated failure and constraint?
Explanation
Correct Answer
This remedy fits the observed case: A scalable KEDA worker overwhelms a downstream PostgreSQL pool each time Service Bus receives a burst. Lower KEDA scale aggressiveness or cap maximum replicas according to database connection budget. The underlying issue is The autoscaler ignores finite downstream connection capacity. Direct acceptance evidence is Peak active database sessions remain under the pool limit while backlog still drains.
Incorrect Answers
The current scale target does not read consumer group event backlog. This is a separate requirement; the current case instead hinges on: The autoscaler ignores finite downstream connection capacity. The matching answer is: Lower KEDA scale aggressiveness or cap maximum replicas according to database connection budget.
The alternative addresses: The existing concurrency threshold allows queueing beyond healthy replica capacity. The reported constraint here is different: The autoscaler ignores finite downstream connection capacity. The case-specific choice is: Lower KEDA scale aggressiveness or cap maximum replicas according to database connection budget.
The scaler is observing a different subscription entity than the worker consumes. By contrast, the relevant technical condition here is: The autoscaler ignores finite downstream connection capacity. The appropriate selection is: Lower KEDA scale aggressiveness or cap maximum replicas according to database connection budget.