Code RoomAI agent accesses EU data
HardPrep Room Coding #4172

AI agent accesses EU data

Vibe & agenticAlgorithms & data structuresSenior–Staff~20 min

Your company serves EU customers and has a contractual commitment that personal data stays in the EU. An engineer wants to enable an AI coding agent that, to fix bugs, can read application logs and run queries against a staging database that contains pseudonymized-but-real EU user records. The agent's inference endpoint is hosted in us-east. How do you reason about whether this is allowed, and what guardrails would you require before turning it on?

Implement
screen_agent_data_flow(data_classes: list[str], endpoint_regions: list[str], zero_retention_terms: list[bool]) → list[str]
Examples
in[["pseudonymized","anonymized"],["us-east-1","us-east-1"],[true,false]]out["deny:cross_border_transfer","allow"]
in[["personal","personal"],["eu-west-1","eu-west-1"],[true,false]]out["allow","deny:no_zero_retention"]
What a strong answer looks like

Treat the AI’s output as a draft to verify, not an answer to trust. Name the specific flaw and the input that triggers it, say how you’d catch it (tests, edge cases, reading critically), and how you’d re-prompt or decompose to get it right.

0:00 of about 20 min

Vibe & agentic: describe the solution in plain language (or narrate it) and the coach grades your approach.

Which questions mattered is sealed until you submit. Telling you now would just be handing over the edge cases.