Question 730
A multi-tenant service embeds the same provider key in browser JavaScript delivered to customers. What evidence or diagnostic detail should the engineer inspect FIRST?
Explanation
Correct Answer
Inspect API key scope, authorization headers, expiry/revocation, secret storage and server logs. Authentication is an API boundary enforced by the server, not by the wording of a model system prompt. The appropriate response is: Send correctly scoped API credentials through protected configuration, rotate them safely and distinguish credential failures from prompt or model failures. Situation: A multi-tenant service embeds the same provider key in browser JavaScript delivered to customers.
Incorrect Answers
Inspect error cases, example coverage, instruction conflicts and token overhead. This evidence is useful for Zero-shot versus few-shot task instructions but would not isolate the primary failure in this scenario. The decisive check is: Inspect API key scope, authorization headers, expiry/revocation, secret storage and server logs. Situation: A multi-tenant service embeds the same provider key in browser JavaScript delivered to customers.
Inspect routing signal quality, fallback loops, task risk, escalation cost and evaluation outcomes. This evidence is useful for Tiered routing and escalation policies but would not isolate the primary failure in this scenario. The decisive check is: Inspect API key scope, authorization headers, expiry/revocation, secret storage and server logs. Situation: A multi-tenant service embeds the same provider key in browser JavaScript delivered to customers.
Inspect item independence, batch identifiers, completion deadlines, failed records and total cost. This evidence is useful for Batch scheduling and unit economics but would not isolate the primary failure in this scenario. The decisive check is: Inspect API key scope, authorization headers, expiry/revocation, secret storage and server logs. Situation: A multi-tenant service embeds the same provider key in browser JavaScript delivered to customers.

