Question 450
Before changing production settings, a reviewer notes: A serverless inference endpoint accepts anonymous HTTP requests even though it should be callable only by employees. Which evidence best distinguishes the cause?
Explanation
Correct Answer
Inspect trigger auth level, Easy Auth/Entra settings and API gateway policies. The scenario specifically states: A serverless inference endpoint accepts anonymous HTTP requests even though it should be callable only by employees. An HTTP-triggered Azure Function needs a suitable authentication/authorization model for the intended clients. This check looks at the condition that directly distinguishes the described failure. The supported implementation response is Require supported Entra-authenticated callers and implement authorization before invoking the model backend. The important remaining qualification is: A function key alone is a shared secret, not full per-user authorization.
Incorrect Answers
Storage-triggered Functions can scale by plan and trigger behavior and must handle at-least-once execution. In the present case the governing issue is An HTTP-triggered Azure Function needs a suitable authentication/authorization model, which this does not resolve.
Slot swaps require controlling trigger activation and slot-specific configuration to avoid unintended side effects. That observation may hold without resolving the relevant issue: Inspect trigger auth level, Easy Auth/Entra settings and API.
Durable activity functions can execute more than once under retries and must make side effects idempotent. It does not verify the requested outcome; here the decisive check concerns Inspect trigger auth level, Easy Auth/Entra settings and API.