Question 370
An Azure Function authenticates to a SQL database using a service principal secret copied into every environment. The architect proposes: Design workload identity and scoped database authorization without long-lived shared credentials. What acceptance evidence would demonstrate the desired security outcome?
Explanation
Correct Answer
The design is: Design workload identity and scoped database authorization without long-lived shared credentials. It addresses this failure condition: Duplicated secrets create rotation and environment-crossing compromise paths. The strongest direct acceptance evidence is: A test function reaches the target database using the approved identity while other databases reject it. The evidence must show the specific proposed control works, not an unrelated improvement.
Incorrect Answers
A WAF cannot inspect requests that bypass its enforced network path. That finding would not establish that the current design works. The required evidence is: A test function reaches the target database using the approved identity while other databases reject it.
Detection-only logging does not necessarily prevent suspicious web requests. That finding would not establish that the current design works. The required evidence is: A test function reaches the target database using the approved identity while other databases reject it.
Cloud event-driven systems introduce identities and trust boundaries absent from old network diagrams. That finding would not establish that the current design works. The required evidence is: A test function reaches the target database using the approved identity while other databases reject it.