Interview Q&A · questions with model answers
Cloud Engineer Interview Questions
Part of the study plan for: Cloud Engineer · DevOps Engineer
Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.
-
Most asked How do you eliminate long-lived credentials in a cloud environment?
People sign in through SSO with MFA (IAM Identity Center, Entra ID, Cloud Identity) and get temporary credentials; CI/CD uses OIDC federation to roles; workloads use roles, managed identities or…
-
Most asked How do you approach cloud cost optimisation?
Start with visibility (tags, cost per team, budgets, anomaly detection), remove waste (idle and unattached resources, old snapshots, logs kept forever), rightsize from metrics, then commit (savings…
-
Most asked How do you choose between VMs, containers and serverless functions for a new service?
Consider runtime length and pattern, operational capacity and control needs. Spiky, event-driven, short tasks suit functions; long-running HTTP services and workers suit containers (Cloud Run, ECS…
-
Most asked What should you design for when using serverless functions?
Statelessness, idempotency (events can be delivered more than once), timeouts and payload limits, cold starts (small packages, initialisation outside the handler), concurrency limits and their…
-
Most asked How do you process queue messages safely in the cloud?
Assume at-least-once delivery: make consumers idempotent, set the visibility timeout longer than processing time (or extend it), use dead-letter queues after a few attempts and alert on them, batch…
-
Most asked How would you use infrastructure as code across clouds?
Terraform (or OpenTofu) for multi-cloud with provider-specific modules behind consistent interfaces; native tools (CloudFormation/CDK, Bicep, Google Infrastructure Manager) when staying on one…
-
Most asked How do you decide between AWS, Azure and Google Cloud for a new company or project?
Start from requirements: existing skills and contracts, Microsoft or Google ecosystem integration, required managed services (data, AI, regions, compliance), pricing and credits, and support. Most…
-
How do you reduce object storage costs for data that ages?
Use lifecycle rules to move objects to infrequent-access, archive and deep-archive classes as they age (or Intelligent-Tiering / Autoclass when access is unpredictable), expire data you don't need,…
-
How do you migrate an application to the cloud?
Assess and prioritise (the 7 Rs: retire, retain, rehost, relocate, replatform, repurchase, refactor), build the landing zone first, migrate in waves starting with low-risk systems, replicate data…
-
How do you share a large file from private storage with a customer for 24 hours?
Generate a presigned URL (S3), a user-delegation SAS token (Azure) or a signed URL (Google Cloud) for that object with a 24-hour expiry, after checking the customer is authorised. Log access and…