Stopping one service principal's batch job crowding out others

GenAI Engineer Evaluation and Monitoring Medium Question 3 of 45

A Generative AI Engineer finds that a contractor's service principal runs a nightly batch job through a shared pay-per-token endpoint and crowds out interactive internal traffic during business hours. The contractor's job must keep running, and internal teams must keep their current throughput.

What should the engineer configure?

Show answer and explanation

DA custom queries-per-minute limit for that contractor service principal

Unity Gateway (formerly AI Gateway) rate limits come in two forms: a User (Default) limit that applies to all users, and custom limits for individual users or service principals, in queries or tokens per minute. A custom limit on the contractor's principal throttles one caller while everyone else keeps their throughput. Lowering the default throttles the internal teams too, a spend budget caps cost without slowing the request rate that causes the crowding, and a second endpoint has no rate control of its own unless one is configured on it.

Source: docs.databricks.com/aws/en/ai-gateway/configure-ai-gateway-…

Anonymous, no account needed. Your tally stays in this browser.

Next question Start 5 timed questions Browse all 45 original GenAI Engineer practice questions