Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Design a Secure Public API

Medium
MediumSecurity & InfrastructureInfrastructureQualityAsked 4 times

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 Coalition

Hi, 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.

Take this as a live interview session →

You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.

Sign up freeI have an account
Sign up to unlock solutions
Coalition Security Engineer Interview QuestionsThe Broad Institute Software Engineer Interview QuestionsIntercontinental Exchange Interview QuestionsAcumatica Software Engineer Interview QuestionsThe Broad Institute Interview Questions
Next questions
Cobblestone EnergyDesign a Secure Public API BoundaryMediumRestaurant Brands InternationalDesign Secure Internal APIsMediumAmerican ExpressSecure Public API DesignMedium