Scenario
Scenario
You are responsible for a new public API that lets external clients create, update, and query business records. The API will be consumed by third-party integrations and internal services, and it must handle sensitive customer data without exposing unauthorized access paths. A recent review found that the current draft has no clear authentication model, no abuse controls, and unclear behavior for retries and malformed requests.
Question
How would you design this API so it is secure by default and resilient under real-world client behavior? Walk through the considerations you would make for authentication, authorization, request validation, abuse prevention, and how you would verify the design works.
Practicing as: Security Engineer interview at CoalitionHi, I'll play your Coalition interviewer for the Security Engineer role. Candidates describe these interviews as mostly positive and moderately difficult, so expect me to be friendly and conversational. Take your time with the question above and answer like we're in the room.
You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.


