Software Engineer • Mid-Level
Software Engineer • Mid-Level
High QualityInterview Summary
The DatologyAI system design interview focused on building an IP blocking service that enforces government-defined access restrictions.
Interview Details
System Design — Government IP Blocking Service
Design a service that decides whether an incoming request should be allowed based on the client's IP address. The government provides an external API that can be queried to determine whether an IP address is blocked. Your system must use this information to enforce the required access policy.
Functional Requirement
-
I: Check IP Blocking Status
The system must integrate with an external government API. Given an IP address, the API can determine whether that IP is currently blocked. The service must enforce the following behavior:
- If the IP address is not blocked, allow the user to access the service.
- If the IP address is blocked, deny access.
The government API serves as the external source of blocking-policy information.
-
II — Seven-Day Policy Update Grace Period
The government may update its IP blocking
Unlock Full Details
Create a free account to unlock this interview experience report.