Senior level
Design the complete architecture for a fintech application in India handling payments and KYC.
Answer: Cloud Identity federated with the corporate IdP and enforced MFA; folders per environment with organisation policies restricting regions to India, forbidding external IPs and service-account keys; Shared VPC with a documented IP plan, Cloud NAT egress and default-deny egress rules; VPC Service Controls around all data services. Cloud Run or GKE behind a global Application Load Balancer with Cloud Armor and managed certificates as the only ingress, IAP for internal tools. Spanner for the transaction ledger with change streams, Cloud SQL for supporting services, Memorystore for sessions and rate limits, Cloud Storage with CMEK, versioning, soft delete and locked retention for KYC documents accessed only through signed URLs. Sensitive Data Protection to classify and tokenise PII, BigQuery with policy tags and row-level security for analytics fed by change streams and Pub/Sub. Audit logs including Data Access exported to a locked separate project. Terraform-managed infrastructure, attested container supply chain with Binary Authorization, per-environment CI identities via Workload Identity Federation, and SLO-based alerting with rehearsed DR and a tested incident-response plan.
Why interviewers ask this: The closing scenario. What makes it senior is enforcing residency and configuration with organisation policy rather than convention, solving the dual-write problem with change streams, protecting KYC documents with locked retention against both accidents and attackers, and treating rehearsed DR and incident response as part of the architecture rather than operations paperwork.