INTERVIEW PREP
Interview questions
570 questions from real DevOps, SRE, platform engineering and MLOps interviews, with the answer an interviewer wants to hear. Try answering out loud first, then open the model answer.
Showing 106–120 of 190 questions
106.Name the four disaster recovery strategies.SeniorAWS
Backup and restore (cheapest, slowest), pilot light (core pieces always running), warm standby (a scaled-down copy running), and multi-site active-active (fastest, most costly). Choose by the RPO and RTO the business needs.
107.How do you cut an AWS bill?SeniorAWS
Turn off unused things, right-size, use Savings Plans or Reserved Instances for steady load, Spot for flexible jobs, move cold data to cheaper storage classes, and set budgets and alerts with cost allocation tags.
108.What is the Well-Architected Framework?SeniorAWS
A set of design pillars with questions to review a workload: operational excellence, security, reliability, performance efficiency, cost optimization and sustainability.
109.When do you use Transit Gateway or PrivateLink?SeniorAWS
Transit Gateway connects many VPCs and networks through one hub, so everything can route to everything. PrivateLink exposes one service privately to other VPCs or accounts without opening the whole network.
110.How do you design for an AZ failure?SeniorAWS
Run in at least two zones behind a load balancer, use Multi-AZ databases, keep no state on single servers, avoid single NAT gateways per VPC, and test failover regularly.
111.How would you respond to a leaked access key?SeniorAWS
Disable the key at once, review CloudTrail for what it did, rotate anything it could reach, look for new users or roles, then fix the cause, for example by moving to roles. GuardDuty and Security Hub help find it quickly.
112.How would you design a data lake on AWS?SeniorAWS
Land raw data in S3 with a clear folder layout, store curated data as Parquet partitioned by date, catalog it with Glue, query with Athena, control access with Lake Formation, and use lifecycle rules to keep cost down.
113.Why can an app still get AccessDenied on a secret even with GetSecretValue allowed?SeniorAWS
If the secret uses a customer managed KMS key, the caller also needs kms:Decrypt, and the key policy must allow it.
114.Why is Parquet better than CSV for Athena?SeniorAWS
It is columnar and compressed, so Athena reads only the columns a query needs. That scans less data, which is faster and costs less.
115.How do pipelines deploy to Azure without storing secrets?SeniorMicrosoft Azure
Use a service connection with workload identity federation. The pipeline gets short-lived tokens from Entra ID, so no secret exists to leak. Give its identity the least role at the smallest scope.
116.How do you keep secrets out of code on Azure?SeniorMicrosoft Azure
Prefer no secret by using managed identity to reach Azure services. Store third-party secrets in Key Vault with RBAC, soft delete and purge protection, and read them through Key Vault references or the CSI driver. Never keep them in Git, images or plain settings.
117.What is Azure Policy and how does it differ from RBAC?SeniorMicrosoft Azure
RBAC controls who can act. Policy controls what may exist, with effects such as Audit, Deny, Modify and DeployIfNotExists. A person with access can still be blocked by policy. Roll out new rules in Audit first.
118.How do you control cloud cost?SeniorMicrosoft Azure
Tag everything, review cost analysis, set budgets and anomaly alerts, and act on Advisor findings. Turn off idle resources, right-size, use reservations or savings plans for steady load, spot for flexible work, and cooler storage tiers.
119.What is a landing zone?SeniorMicrosoft Azure
A prepared, governed foundation for workloads: management group tree, hub and spoke network, identity, policy, logging and budgets. Teams get subscriptions that already meet company standards, often through automated subscription vending.
120.How would you design a production AKS cluster?SeniorMicrosoft Azure
Spread node pools across three zones, separate system and user pools, use Entra ID access with a private or restricted API server, network policies, workload identity with Key Vault, requests and limits on pods, HPA or KEDA plus the cluster autoscaler, and planned upgrades tested in a lower environment.