Cloudflare Interview Question

How would you build something like Cloudflare Workers' KV storage?