Cloud Engineer question bank
484 questions. Filter by level and skill, track what you've solved, and see how many people get each one right.
- Who patches the VM operating system?
- Regions and availability zones
- Principle of least privilege
- What makes a subnet public?
- Choosing an S3 storage class
- Horizontal vs vertical scaling
- How serverless functions are billed
- What terraform plan does
- Usable IPs in a /24 subnet
- Shared file system for many servers
- Pointing the zone apex at a load balancer
- Load balancer for path-based routing
- Docker image vs container
- Smallest deployable unit in Kubernetes
- Which identity is the AWS CLI using?
- Alerting on high CPU
- How Prometheus collects metrics
- What Grafana is for
- Storing a token for a CI workflow
- What a Terraform output does
- What OpenTofu is
- What an Azure resource group is
- Google Cloud resource hierarchy
- Why use a managed database
- Keeping CPU near a target
- How EBS snapshots store data
- Showing cloud cost per team
- Protecting the root user
- What HTTPS protects
- Why put a CDN in front of a site
- Users logged out when scaling in
- Shell access without opening port 22
- Well-Architected Framework pillars
- Compute Savings Plans flexibility
- Which service model is App Service?
- Object storage on each cloud
- Virtual machines on each cloud
- Looking after the root account
- The least privilege principle
- Picking an instance family
- What an AMI is
- Auto Scaling group capacity
- Data on an instance store
- Who deleted the bucket?
- Warning before the bill is high
- What on-demand pricing means
- Keeping data in the UAE
- What elasticity means
- Durability vs availability
- Longest a Lambda can run
- Lambda memory and CPU
- What API Gateway does
- SNS vs SQS
- Containers vs virtual machines
- What Fargate removes
- Managed Kubernetes on each cloud
- Where container images live
- What kind of database DynamoDB is
- What Cloud Run does
- Running code when a file arrives
- Where to keep database passwords
- What a key management service does
- Azure Functions billing on Consumption
- Coordinating several functions
- What rightsizing means
- Disks left behind
- Why teams move to Arm instances
- Storage class for unpredictable access
- A load balancer with no traffic
- Snapshots that never expire
- What a reserved instance is
- Finding what drives the bill
- IAM user vs IAM role
- Explicit deny always wins
- Nothing allowed means denied
- Why MFA for console sign-in
- Problem with old access keys
- Identity-based vs resource-based policy
- What IAM groups are for
- Parts of a policy statement
- Managed vs inline policies
- At rest vs in transit
- Azure RBAC assignment scope
- GCP service accounts
- Workforce access through SSO
- What a principal is
- Meaning of s3:* in a policy
- Getting AWS's own audit reports
- Symmetric vs asymmetric keys
- Hashing is not encryption
- Customer managed vs AWS managed keys
- S3 Block Public Access
- Default encryption for new S3 objects
- Which TLS versions to allow
- Managed TLS certificates
- Why rotate secrets
- Classify data before choosing controls
- Encrypt new EBS volumes by default
- Secrets committed in code
- Protecting backups from deletion
- Recovering a deleted Key Vault secret
- Tokenization of card numbers
- SSH open to 0.0.0.0/0
- Where to place a database
- What CloudTrail records
- What VPC Flow Logs show
- What GuardDuty does
- Blocking web attacks at the edge
- Protection against DDoS
- Knowing what you own
- Continuous configuration checks
- One view of security findings
- Finding personal data in S3
- Which OSI layer IP works at
- What TCP adds over UDP
- The TCP handshake
- Default SSH port
- What ARP does
- MAC address vs IP address
- What a default gateway does
- DHCP steps
- What ping uses
- Standard Ethernet MTU
- Size of an IPv6 address
- The loopback address
- Switch vs router
- Latency vs bandwidth
- How big is a /16?
- What a recursive resolver does
- What an MX record is for
- Where SPF lives
- The AAAA record
- Reverse DNS
- What NS records do
- What a certificate authority does
- Permanent vs temporary redirect
- Layer 4 vs layer 7 load balancing
- Round robin load balancing
- Why load balancers health-check
- A CDN cache hit
- Reading Cache-Control max-age
- HTTP/2 multiplexing
- Sticky sessions
- Usable IPs in an AWS /28 subnet
- Where an AWS subnet lives
- Allowing only the app tier into the database
- Return traffic and security groups
- VPN or a dedicated link
- Internal DNS names in a VPC
- Google Cloud VPC scope
- Security groups vs network ACLs
- Outbound internet from a private subnet
- Why remote state needs locking
- Giving a VM access to cloud APIs
- RTO and RPO
- When to use Spot instances
- Reducing serverless cold starts
- Cutting NAT costs for S3 traffic
- Reading an S3 SecureTransport policy
- AccessDenied from a VPC endpoint policy
- Intermittent 502s behind an ALB
- Logs from a crashed container
- Pod stuck Pending: Insufficient cpu
- Container exit code 137 OOMKilled
- Slow Docker builds after every change
- Shrinking a 1.2 GB Go image
- Overly broad GitHub OIDC trust policy
- Renaming a resource without recreating it
- Avoiding downtime on forced replacement
- Detecting drift from console changes
- SQS messages processed twice
- Lambda in a VPC cannot reach an API
- Automatic failover for RDS
- Alarm silent when the app dies
- Requests per second in PromQL
- Prometheus memory explosion
- Cross-account KMS decrypt fails
- Where to keep a database password
- Releasing to 5 percent of traffic first
- Reading VPC Flow Logs for a NACL issue
- DNS failover to a DR region
- Versioned bucket keeps growing
- Azure VM reading Key Vault safely
- HPA shows unknown CPU target
- Giving an app on EC2 access to S3
- An allow and a deny on the same action
- Reporting queries slow the main database
- Moving old logs to cheaper storage
- Restoring from deep archive
- Stopping accidental public buckets
- Instance up, app down, never replaced
- No memory graph for a VM
- Why define infrastructure as code
- Blue-green deployments
- Azure availability sets vs zones
- An automatic discount on Google Cloud
- Reading a blob in the Archive tier
- Which data transfer you pay for
- RPO vs RTO
- Choosing a DR strategy
- Blocking resources outside allowed regions
- What a service control policy does
- General purpose or provisioned IOPS disk
- Patching servers by replacing them
- How much Lambda concurrency you need
- Failed async Lambda events
- Keeping order per customer
- One event, three consumers
- Routing events by content
- Choosing a DynamoDB partition key
- Query vs Scan in DynamoDB
- Capacity mode for unpredictable traffic
- Looking up orders by status
- How Aurora differs from standard RDS
- Cosmos DB consistency levels
- Two roles on an ECS task
- Requests per Cloud Run instance
- Uploading a 20 GB file
- How KMS encrypts large data
- Rotating a database password safely
- A role nobody can assume
- Where an Azure role assignment applies
- Downloaded service account keys
- Expiring old session items automatically
- Turning dev servers off at night
- Monthly cost of a VM fleet
- Monthly cost of a Lambda function
- Paying for data sent to users
- Moving volumes from gp2 to gp3
- Bringing existing licences to Azure
- Log storage growing forever
- Spotting a cost spike early
- Is a growing bill a problem?
- Using a CDN to cut origin costs
- Requiring MFA for sensitive actions
- Allow with NotAction
- Effect of a permissions boundary
- ListBucket needs the bucket ARN
- Trust policy vs permissions policy
- Both sides of cross-account AssumeRole
- Finding resources shared outside
- Trimming unused permissions
- Attribute-based access control
- What a session policy does
- Restricting usable regions
- Finding unused access keys
- GCP basic roles
- Azure NotActions is not a deny
- Per-user S3 folders
- How long a role session lasts
- StringEquals vs StringLike
- AND and OR inside conditions
- AWS managed policies can grow
- System vs user-assigned managed identity
- Key policy without account access
- Using a key only through one service
- What KMS automatic rotation changes
- High KMS cost from S3 uploads
- KMS encryption context
- How apps encrypt large files with KMS
- Encrypting an unencrypted RDS database
- Copying encrypted snapshots to another region
- Secrets Manager vs Parameter Store
- Rotation without app downtime
- End-to-end TLS behind a load balancer
- When to use mutual TLS
- What HSTS does
- Sharing an encrypted snapshot
- Secrets in Lambda environment variables
- Default encryption vs CMEK in Google Cloud
- Sharing a private S3 file briefly
- Private S3 origin behind CloudFront
- Safer Azure Storage SAS tokens
- One key for dev and prod
- IMDSv2 and containers
- Referencing security groups
- Reaching a partner service privately
- Controlling outbound traffic
- Data leaking through DNS
- Logging S3 object reads
- Where to keep audit logs
- Proving logs were not edited
- Scanning container images
- Catching misconfigurations in Terraform
- Secrets in Terraform state
- Kubernetes access in EKS
- A Lambda function URL with no auth
- GCP VPC Service Controls
- Usable hosts in a /26
- Do these CIDRs overlap?
- Which route wins
- How traceroute finds each hop
- Why new connections start slow
- Who holds TIME_WAIT
- Refused vs timed out
- Bandwidth-delay product
- Throughput capped by the window
- How many devices share one public IP
- TCP maximum segment size
- Capturing one host's HTTPS traffic
- Counting TCP states on a server
- A steady 40 ms delay on small writes
- Idle connections that silently die
- What VLANs separate
- Addresses starting with fe80
- Testing a new server before the DNS switch
- Head-of-line blocking in TCP
- Ping by name fails, ping by IP works
- Following DNS delegation with dig
- A new record still says NXDOMAIN
- What "DNS propagation" really is
- TLS 1.3 handshake cost
- Many HTTPS sites on one IP
- Works in Chrome, fails in curl
- Revalidating a cached file with an ETag
- Certificates with short lifetimes
- What mutual TLS adds
- What HTTP/3 runs on
- Reusing connections to a backend
- When to use least connections
- Errors during every deployment
- Every request comes from the load balancer
- Tracking parameters ruin the cache
- The Vary header
- Serving stale while refreshing
- Deploying new CSS through a CDN
- What an origin shield does
- Ending TLS at the load balancer
- Azure NSG rule order
- NACL blocks replies to outbound calls
- Outbound-only IPv6
- Choosing NLB for a TCP service
- Uneven targets across zones
- Resolving names both ways
- Speeding up a global UDP service
- Paying for public IPv4 addresses
- Picking a CIDR for a new VPC
- Central network, many team projects
- Policy evaluation with SCPs
- Transitive routing between VPCs
- count vs for_each in Terraform
- S3 consistency model
- Unexpected data transfer bill
- Picking a DR strategy
- Why envelope encryption
- Active-active writes across regions
- aws:SourceIp after adding a VPC endpoint
- Cannot read objects a partner uploaded
- for_each keys unknown until apply
- EKS pods cannot get IP addresses
- Node drain stuck on a PDB
- One NAT gateway for three AZs
- DynamoDB throttling under the limit
- Lambda spike breaks the database
- FIFO queue backlog with idle workers
- CDN cache hit ratio of 4 percent
- Disk latency spike during nightly batch
- Replication skipped existing objects
- A production KMS key scheduled for deletion
- Long session through role chaining
- Securing a role for a SaaS vendor
- Broken p95 latency query
- Fixing alert fatigue with SLOs
- App writes to old primary after failover
- Secrets inside Terraform state
- How much Savings Plan to buy
- Service collapses again after recovery
- Connecting VPCs with the same CIDR
- Exposing one API to 200 customer VPCs
- Liveness probe makes an outage worse
- Moving a disk to another zone
- Scale-in stops jobs half-way
- Cross-account bucket access still denied
- A region missing a service you need
- Should a small team go multi-cloud?
- Migration bill higher than the data centre
- Scaling stopped at a hidden limit
- Deleting an encryption key
- Access keys pushed to a public repo
- A brand-new role fails at first
- Losing one of two zones
- New instances take 12 minutes to serve
- Uploads vanish after scaling
- A console fix that gets undone
- Who is responsible on a managed database?
- A function that triggers itself
- Storing big documents in DynamoDB
- Two users book the same seat
- One message blocks the consumers
- Standard or Express workflow
- A report that takes 2 minutes
- Estimating Cosmos DB throughput
- Slow pods at 30% CPU
- Fargate tasks cannot pull images
- A new item missing from the index
- Events arrive out of order
- An ML library too big for a zip
- Deploying from GitHub without stored keys
- Backups you cannot decrypt in the DR region
- Serverless for steady heavy traffic
- More memory, lower bill
- Rightsized and now crashing
- Cheaper storage class, higher bill
- The cost of a second region
- Reservations stranded after a migration
- Who should own cloud cost?
- Test environments nobody deletes
- Bucket policy alone in one account
- Letting developers create roles safely
- Escalation with CreatePolicyVersion
- Updating code of a privileged Lambda
- ForAllValues with a missing key
- Confused deputy with service principals
- Killing stolen role credentials
- Access key pushed to public GitHub
- Allow only your organization
- SCPs and the management account
- An SCP that allows S3
- Stopping service account key downloads
- Standing admin in Azure
- Deny with NotPrincipal
- Protecting tags used for ABAC
- Why KMS forces a waiting period
- Crypto-shredding for deletion requests
- Object Lock governance vs compliance mode
- KMS key with imported material
- When CloudHSM instead of KMS
- KMS grants
- SSE-C key responsibility
- Generating a data key for later use
- Purge protection on Key Vault
- Estimating KMS request cost
- Client-side vs server-side encryption
- Pinning certificates in a mobile app
- A public EBS snapshot
- When to use multi-Region KMS keys
- Changing a bucket's default key
- Containing a compromised VM
- Designing break-glass access
- Data residency for a UAE regulator
- Who secures a managed database
- Triage of a credential finding
- Preventive vs detective controls
- Building an S3 data perimeter
- Shrinking PCI DSS scope in the cloud
- Too many posture findings
- Sharing a golden image publicly
- Small pages load, big ones hang
- Return traffic through another firewall
- Thousands of half-open connections
- Why a lost SYN costs a second or more
- How loss limits TCP throughput
- One link full, three idle
- A floating IP that moved but no one noticed
- Fixing MTU on a site-to-site tunnel
- Large DNS answers that vanish
- Latency jumps when someone uploads
- Connections that look alive but are not
- One IP announced from many cities
- Traffic takes a long way round
- HTTP/3 on a network that blocks UDP
- Choppy calls with good average latency
- A wildcard that does not cover a name
- A CA refuses to issue a certificate
- A domain that breaks only for some users
- Risk of TLS 1.3 early data
- Why staple OCSP
- Health checks that take down everything
- Origin flooded when a hot object expires
- Static pages never cached
- HTTP/3 on lossy mobile networks
- gRPC load lands on one pod
- Some users still see the old certificate
- Geo DNS sends users to the wrong region
- Clients stuck on HTTP/1.1
- Slow first loads after adding services
- New instances fall over on arrival
- Jumbo frames that break over VPN
- Inspection firewall drops some flows
- Removing a rule did not cut the attacker off
- Private endpoint created, traffic still public
- Interface endpoint private DNS will not enable
- One dedicated link for a critical system
- A partner wants fixed IPs for your ALB