← All insightsCareer

Amazon Web Services interview questions, with answers

Nir Geier, CodeWizard · 11 January 2026 · 3 min read · Beginner

Preparing for a DevOps interview that covers Amazon Web Services? These questions come up again and again - here are strong, concrete answers.

Q: What is Amazon Web Services and why use it?

AWS is a broad public cloud spanning compute (EC2, ECS, EKS, Lambda), storage (S3, EBS), networking (VPC) and hundreds of managed services - best operated declaratively with IaC and least-privilege IAM.

  • The widest set of managed services and regions
  • Deep IAM and networking controls for secure platforms
  • First-class IaC support via Terraform and CloudFormation

Q: What are the best practices you follow?

  • Use SSO for humans and OIDC roles for CI - no static keys
  • Write least-privilege IAM and manage everything via IaC
  • Turn on CloudTrail, GuardDuty and budget alerts

Q: What mistakes have you seen?

  • Long-lived access keys instead of SSO/OIDC roles
  • Over-broad IAM policies with wildcard actions and resources
  • Public S3 buckets and security groups open to 0.0.0.0/0

Q: Show a basic configuration

A least-privilege S3 read policy as Terraform.

hcl
data "aws_iam_policy_document" "read_assets" {
  statement {
    actions   = ["s3:GetObject"]
    resources = ["arn:aws:s3:::acme-assets/*"]
  }
}
resource "aws_iam_policy" "read_assets" {
  name   = "read-assets"
  policy = data.aws_iam_policy_document.read_assets.json
}

Want senior help putting Amazon Web Services to work - or a team bootcamp on it? CodeWizard runs Israel's largest DevOps community and embeds named senior engineers with a transparent hours log. Book a free consult or explore the Academy.

Like where this is going?

Get hands-on help from the engineers who write these posts.

Book a free consult