1. Imagine Amazon shopping's website doesn't exist. How would you create the infrastructure to host it? 2. The database service is not scaling enough. How would you improve it? 3. How would you save user's actions and cart? 4. The website needs to serve users from different countries. How would you do it? 5. How would you distinguish good users from attackers?
Sigiloso
1. Create a basic infrastructure. 2. Add replicas and cache, optimize performances. 3. Temporarily save user's cookies, caches, data. 4. Use a CDN, add regional storage, set replicas in different regions and availability zones. 5. Check their number of connections, frequency, duration, and source. Add AI for behavioral checks.