Keyword cheat sheet
Every "keyword → answer" exam tip from the notes on one page, grouped by sidebar group, each linked to the page that explains it.
Exam questions hide the answer in a few words: "least operational overhead", "millions of requests per second", "without changing the application". This page collects every keyword → answer tip from the notes (885 of them), in the order of the sidebar. Each line links to the page that explains it.
How to use it:
- Cover the right side of each arrow and say the answer before reading it.
- Search the page (Ctrl+F or ⌘F) for a word from a practice question, such as "decouple" or "on-premises".
- When an answer is a surprise, open the linked page rather than memorizing the line.
Cloud Foundations
- "Avoid large up-front costs", "pay only for what is used" → trade fixed expense for variable expense (on-demand pricing). (Cloud Foundations)
- "Unpredictable traffic", "don't want to over-provision" → stop guessing capacity: elasticity, usually Auto Scaling. (Cloud Foundations)
- "Least operational overhead", "fully managed" → the most managed option that fits, often serverless or SaaS-style services rather than EC2. (Cloud Foundations)
- "Must keep some systems in the company data center" → hybrid: connect on-premises to AWS rather than moving everything. (Cloud Foundations)
- "Reach users worldwide with low latency" → go global in minutes: more Regions, or edge services such as CloudFront. (Cloud Foundations)
- "Data must not leave the country", "data residency" → choose a Region in that country. Compliance beats latency and price. (Global infrastructure)
- "Highly available", "survive a data center failure" → spread across multiple AZs in one Region. (Global infrastructure)
- "Survive the loss of a whole Region", "disaster recovery in another geography" → multiple Regions. (Global infrastructure)
- "Users worldwide", "reduce latency for static content" → edge locations through CloudFront. (Global infrastructure)
- "Single-digit millisecond latency for users in a specific city" → Local Zones. (Global infrastructure)
- "Ultra-low latency for mobile / 5G devices" → Wavelength Zones. (Global infrastructure)
- "Run AWS services in our own data center" → AWS Outposts. (Global infrastructure)
- "Same physical AZ across two accounts" → compare AZ IDs, not AZ names. (Global infrastructure)
- "Who patches the guest OS on EC2?" → the customer. (Shared responsibility model)
- "Who patches the OS or database engine for RDS?" → AWS. (Shared responsibility model)
- "Physical security of data centers", "decommissioning disks" → AWS. (Shared responsibility model)
- "Encrypting data", "IAM permissions", "security group rules" → the customer, on every service. (Shared responsibility model)
- "Reduce the operational burden of security patching" → move to a managed or serverless service (RDS, Fargate, Lambda). (Shared responsibility model)
- "Proof of AWS's compliance", "SOC or PCI reports" → AWS Artifact. (Shared responsibility model)
- "An application on EC2 needs to call S3" → give the instance an IAM role. Never store access keys on the instance. (Console, CLI and SDK)
- "Developers need CLI access across many accounts" → IAM Identity Center with
aws configure sso(short-term credentials). (Console, CLI and SDK) - "Access keys were committed to a public repository" → deactivate and delete the keys straight away, then check CloudTrail for what they were used for. (Console, CLI and SDK)
- "Automate the same task repeatedly" → CLI scripts or SDK code, or infrastructure as code (CloudFormation). (Console, CLI and SDK)
- "Who can use the console?" → anyone with a user name and password (and MFA). The CLI and SDKs need credentials, not a password. (Console, CLI and SDK)
- "
ThrottlingException", "RequestLimitExceeded", "429", "intermittent errors under load" → retry with exponential backoff and jitter; consider a quota increase. (Service quotas and throttling) - "Failover to the DR Region failed because instances couldn't launch" → the DR Region's service quotas weren't raised in advance. (Service quotas and throttling)
- "Be notified before reaching a limit" → a CloudWatch alarm on the quota's usage (from Service Quotas), or Trusted Advisor. (Service quotas and throttling)
- "New accounts in the organisation need higher limits automatically" → Service Quotas request templates with AWS Organizations. (Service quotas and throttling)
- "Lambda functions are throttled during peaks" → the concurrency quota: raise it, or use reserved or provisioned concurrency (see Lambda concurrency). (Service quotas and throttling)
Identity & Access
- "Global service", "not tied to a Region" → IAM (so are Organizations, Route 53 and CloudFront). (Identity & Access)
- "Grant an EC2 instance or Lambda function access to S3 / DynamoDB" → an IAM role, never access keys. (Identity & Access)
- "Many accounts", "central management", "consolidated billing" → AWS Organizations. (Identity & Access)
- "Single sign-on for employees across accounts" → IAM Identity Center. (Identity & Access)
- "Hundreds of thousands of users", "mobile app users", "sign in with Google / Facebook" → Amazon Cognito, not IAM. (Identity & Access)
- "Give a team the same permissions" → put the users in a group and attach the policy to the group. (Users, groups and policies)
- "Least privilege" → a customer managed policy with only the needed actions and resources. (Users, groups and policies)
- "Policy attached directly to one user and deleted with it" → inline policy. (Users, groups and policies)
- "Can a group contain another group?" → no. (Users, groups and policies)
- "Protect the root user" → strong password, MFA, no access keys, don't use it day to day. (Root user, MFA and passwords)
- "Stolen password must not be enough to sign in" → MFA. (Root user, MFA and passwords)
- "Require users to use strong passwords / rotate them" → IAM password policy. (Root user, MFA and passwords)
- "Only allow an action if the user signed in with MFA" → condition
aws:MultiFactorAuthPresent. (Root user, MFA and passwords) - "Which task needs the root user?" → account settings (email, closing the account), S3 MFA Delete, restoring a locked-out admin, Billing access for IAM users. (Root user, MFA and passwords)
- "An application on EC2 needs AWS credentials" → IAM role, not access keys. (Access keys)
- "Access keys were exposed" → deactivate or delete them immediately, then review activity in CloudTrail. (Access keys)
- "Rotate access keys without downtime" → create a second key, switch over, then delete the first (two keys per user allow this). (Access keys)
- "Find unused or old access keys" → IAM credential report or the key's last used information. (Access keys)
- "Access key ID ≈ user name, secret access key ≈ password" → the way the slides frame it. (Access keys)
- "Give an EC2 instance / Lambda function access to an AWS service" → an IAM role (instance profile for EC2, execution role for Lambda). (Roles and STS)
- "Temporary credentials" → AWS STS, usually
AssumeRole. (Roles and STS) - "Users in another account need access" → a cross-account role with a trust policy naming that account. (Roles and STS)
- "Federated users from a corporate directory (SAML)" →
AssumeRoleWithSAML, or, with less setup, IAM Identity Center. (Roles and STS) - "Who can assume this role?" → the trust policy. "What can the role do?" → the permissions policy. (Roles and STS)
- "List all users and the status of their passwords, MFA and access keys" → IAM credential report. (Security tools and best practices)
- "See which services a user / role has used, to remove unused permissions" → last accessed information (Access Advisor). (Security tools and best practices)
- "Find S3 buckets or roles shared with external accounts" → IAM Access Analyzer. (Security tools and best practices)
- "Generate a least-privilege policy based on actual activity" → Access Analyzer policy generation. (Security tools and best practices)
- "Only allow API calls from the corporate network" → condition
aws:SourceIp. (Conditions and policy evaluation) - "Restrict which Regions can be used" →
aws:RequestedRegion(in an IAM policy or, across accounts, an SCP). (Conditions and policy evaluation) - "Allow every account in our organization to access the bucket" → bucket policy with
aws:PrincipalOrgID. (Conditions and policy evaluation) - "Let developers create roles without being able to escalate privileges" → permissions boundary. (Conditions and policy evaluation)
- "Policy allows and another denies" → explicit deny wins. (Conditions and policy evaluation)
- "
ListBucketdoesn't work butGetObjectdoes" → wrong resource ARN level (bucket vsbucket/*). (Conditions and policy evaluation) - "Read from a resource in account A and write to a resource in account B at the same time" → resource-based policy on the B resource. (Roles vs resource-based policies)
- "Service doesn't support resource-based policies" (EC2, for example) → cross-account role. (Roles vs resource-based policies)
- "Allow EventBridge to invoke a Lambda function" → Lambda resource-based policy. "…to run an ECS task" → IAM role for EventBridge. (Roles vs resource-based policies)
- "Manage many accounts centrally", "one bill" → AWS Organizations, consolidated billing. (AWS Organizations and SCPs)
- "Share Reserved Instance / Savings Plans discounts between accounts" → consolidated billing in Organizations. (AWS Organizations and SCPs)
- "Prevent all users in member accounts, including admins, from using a service or Region" → SCP. (AWS Organizations and SCPs)
- "The SCP denies it but the management account can still do it" → SCPs don't apply to the management account. (AWS Organizations and SCPs)
- "Ensure only principals in our organization can access our resources" → RCP, or
aws:PrincipalOrgIDin resource policies. (AWS Organizations and SCPs) - "Enforce consistent tags" → tag policies. (AWS Organizations and SCPs)
- "Set up a multi-account environment quickly, following best practices" → AWS Control Tower. (AWS Control Tower)
- "Automatically create new accounts that comply with company standards" → Control Tower Account Factory. (AWS Control Tower)
- "Preventive guardrail" → SCP. "Detective guardrail" → AWS Config rule. "Proactive" → CloudFormation hook. (AWS Control Tower)
- "Monitor compliance across accounts on a dashboard" → Control Tower. (AWS Control Tower)
- "Single sign-on to multiple AWS accounts", "central management of workforce access" → IAM Identity Center. (IAM Identity Center)
- "Users already exist in Active Directory / Okta / Entra ID" → Identity Center with that identity source. (IAM Identity Center)
- "A collection of policies assigned to users for an account" → permission set. (IAM Identity Center)
- "Permissions based on user attributes such as department" → ABAC. (IAM Identity Center)
- "Single sign-on to business apps like Salesforce or Microsoft 365" → Identity Center application assignments. (IAM Identity Center)
- "Users must be managed in AWS, with a trust to on-premises AD" → AWS Managed Microsoft AD. (AWS Directory Service)
- "Use existing on-premises AD users without storing them in AWS" → AD Connector. (AWS Directory Service)
- "Low-cost, standalone, AD-compatible directory, no on-premises link" → Simple AD. (AWS Directory Service)
- "Run AD-aware apps such as SQL Server or SharePoint on AWS" → AWS Managed Microsoft AD. (AWS Directory Service)
- "Single sign-on to AWS accounts with AD users" → IAM Identity Center connected to Managed Microsoft AD or AD Connector. (AWS Directory Service)
- "Share subnets / a VPC with other accounts in the organization" → VPC sharing with AWS RAM. (AWS RAM)
- "Share a transit gateway, Resolver rules or License Manager configurations across accounts" → AWS RAM. (AWS RAM)
- "Avoid creating duplicate resources in every account" → share them with RAM. (AWS RAM)
- "Add sign-up and sign-in to a web or mobile app" → Cognito user pool. (Amazon Cognito)
- "Authenticate API Gateway requests with app users" → Cognito user pool authorizer. (Amazon Cognito)
- "Authenticate users at an Application Load Balancer" → ALB with Cognito authentication. (Amazon Cognito)
- "Mobile app users need direct access to S3 / DynamoDB" → Cognito identity pool (temporary credentials). (Amazon Cognito)
- "Each user can only access their own items / folder" → identity pool + policy variable
${cognito-identity.amazonaws.com:sub}. (Amazon Cognito) - "Guest access to AWS resources" → identity pool with unauthenticated identities. (Amazon Cognito)
Compute
- "Full control of the operating system", "specific licensing", "custom kernel" → EC2. (Compute)
- "Runs longer than Lambda's limit", "needs a GPU", "any runtime in a Docker image" → Batch, ECS or EC2, not Lambda. (Compute)
- "Lowest cost for fault-tolerant work" → Spot Instances, often through Batch or an Auto Scaling group. (Compute)
- "Bootstrap instances at launch", "install software when the instance starts" → user data. (EC2 basics)
- "Pay only while running" → stop instances that aren't needed; storage is still billed. (EC2 basics)
- "In-memory database", "real-time big data in memory", "large cache" → memory optimized (R, X). (Instance types)
- "Batch processing", "HPC", "media transcoding", "gaming servers" → compute optimized (C). (Instance types)
- "High sequential read/write on local storage", "OLTP", "data warehousing" → storage optimized (I, D). (Instance types)
- "Machine learning training", "GPU" → accelerated computing (P, G, Trn). (Instance types)
- "Spiky, low average CPU", "cheapest for a small website" → burstable T instances. (Instance types)
- "Best price-performance" → Graviton (
g) types, if the software runs on Arm. (Instance types) - "Instance must accept traffic only from the load balancer" → web servers' security group references the load balancer's security group. (Security groups)
- "Connection times out" → security group (or network ACL) rule missing. "Connection refused" → the application. (Security groups)
- "Allow SSH only from the company network" → inbound rule on port 22 with the company's CIDR, not
0.0.0.0/0. (Security groups) - "Connect without opening port 22", "no SSH keys", "no bastion host", "audit sessions" → Session Manager. (Connecting to EC2)
- "Connect to an instance with no public IP from the internet, without a bastion" → EC2 Instance Connect Endpoint (or Session Manager). (Connecting to EC2)
- "Temporary SSH key, controlled by IAM" → EC2 Instance Connect. (Connecting to EC2)
- "Steady-state", "always on", "1 or 3 years" → Savings Plans or Reserved Instances. (Purchasing options)
- "Flexibility across instance families, Regions, or Fargate and Lambda" → Compute Savings Plans. (Purchasing options)
- "Change instance family during the term" → Convertible RI or Compute Savings Plan, not Standard RI. (Purchasing options)
- "Fault-tolerant", "can be interrupted", "flexible timing", "cheapest" → Spot. (Purchasing options)
- "Short-term, unpredictable, can't be interrupted" → On-Demand. (Purchasing options)
- "BYOL per-socket / per-core licences", "control over the physical server" → Dedicated Hosts. (Purchasing options)
- "Hardware not shared with other AWS accounts", no licence need → Dedicated Instances. (Purchasing options)
- "Guarantee capacity in a specific AZ" → On-Demand Capacity Reservation (or a zonal RI). (Purchasing options)
- "Cheapest", "fault-tolerant", "can be interrupted", "flexible start and end time" → Spot. (Spot Instances)
- "2-minute warning" → Spot interruption notice; handle it with an EventBridge rule or by checking instance metadata. (Spot Instances)
- "Stop Spot Instances and stop new ones launching" → cancel the request, then terminate the instances. (Spot Instances)
- "Launch Spot across many instance types and AZs with the fewest interruptions" → a fleet or Auto Scaling group with price-capacity-optimized allocation. (Spot Instances)
- "Mix On-Demand for the baseline and Spot for extra capacity" → a fleet or Auto Scaling group with mixed purchase options. (Spot Instances)
- "Instance needs a fixed public IP that survives stop/start" → Elastic IP. (IP addressing)
- "Quickly move a public IP to a standby instance" → remap the Elastic IP. (IP addressing)
- "Public IP changed after restart" → auto-assigned public IPs change on stop/start; use an Elastic IP, DNS or a load balancer. (IP addressing)
- "Low latency, high throughput between instances", "HPC", "tightly coupled" → cluster placement group. (Placement groups)
- "Critical instances must not share hardware", "maximise availability of a small number of instances" → spread. (Placement groups)
- "Hadoop / HDFS / Cassandra / Kafka", "large distributed workload aware of racks" → partition. (Placement groups)
- "Move a private IP (or MAC address) to a standby instance for failover" → detach and attach a secondary ENI. (Elastic network interfaces)
- "Instance in two subnets / dual-homed" → attach a second ENI from the other subnet (same AZ). (Elastic network interfaces)
- "Keep the in-memory state", "faster boot", "applications take a long time to warm up" → EC2 Hibernate. (EC2 Hibernate)
- "Root volume must be…" → EBS, encrypted, big enough for RAM. (EC2 Hibernate)
- "Launch instances faster", "pre-installed software", "reduce boot time" → a golden AMI (plus user data for dynamic settings). (AMIs)
- "Use the same AMI in another Region" → copy the AMI to that Region. (AMIs)
- "Share an AMI with another account" → modify the AMI's permissions (and the KMS key policy if it's encrypted). (AMIs)
- "Automate building and patching AMIs" → EC2 Image Builder. (AMIs)
- "Developers want to deploy code without managing infrastructure", "quickly deploy a web app", on a supported language → Elastic Beanstalk. (Elastic Beanstalk)
- "Background jobs", "long-running tasks decoupled from the web app" → a Beanstalk worker environment with SQS. (Elastic Beanstalk)
- "Cheap dev environment" → single-instance environment. "Production, highly available" → load-balanced environment. (Elastic Beanstalk)
- "Run batch jobs at scale", "hundreds of thousands of jobs", "managed job scheduling" → AWS Batch. (AWS Batch)
- "Job runs longer than Lambda allows", "needs a custom runtime or GPU", "needs lots of disk" → Batch, not Lambda. (AWS Batch)
- "Reduce the cost of batch processing" → Batch with Spot compute environments. (AWS Batch)
- "Run AWS services on-premises with the same APIs", "data must stay in our data centre", "low latency to on-premises systems" → AWS Outposts. (Hybrid and edge compute)
- "Who handles physical security of an Outpost?" → the customer. (Hybrid and edge compute)
- "Single-digit millisecond latency for users in a specific city" → Local Zones. (Hybrid and edge compute)
- "Ultra-low latency for 5G mobile devices" → Wavelength. (Hybrid and edge compute)
- "Extend or migrate a VMware vSphere data centre, keep using VMware tools" → VMware Cloud on AWS. (Hybrid and edge compute)
- "Recommend optimal instance types / sizes based on utilisation", "right-sizing", "identify over-provisioned EC2 instances" → AWS Compute Optimizer. (AWS Compute Optimizer)
- "Recommend Lambda memory size" or "EBS volume type" → Compute Optimizer too. (AWS Compute Optimizer)
- "Include memory utilisation in recommendations" → install the CloudWatch agent. (AWS Compute Optimizer)
Storage: Block & File
- "Disk for one EC2 instance", "boot volume", "database on EC2" → EBS. (Storage: Block & File)
- "Shared file system for many Linux instances across AZs" → EFS. (Storage: Block & File)
- "Shared file system for Windows", "SMB", "Active Directory" → FSx for Windows File Server. (Storage: Block & File)
- "HPC", "parallel file system", "process data from S3 at high speed" → FSx for Lustre. (Storage: Block & File)
- "Highest IOPS, temporary data, cache" → instance store. (Storage: Block & File)
- "Store unlimited files, accessed over HTTP, cheaply" → S3 (object storage). (Storage: Block & File)
- "Persistent block storage for an EC2 instance" → EBS. (EBS volumes)
- "Move an EBS volume to another AZ" → snapshot, then create a volume from it in the other AZ. (EBS volumes)
- "Keep the root volume when the instance is terminated" → turn off Delete on termination for it. (EBS volumes)
- "Increase disk size without downtime" → Elastic Volumes (then grow the file system). (EBS volumes)
- "Back up EBS volumes", "automate snapshots on a schedule" → EBS snapshots with Data Lifecycle Manager or AWS Backup. (EBS snapshots)
- "Move an EBS volume to another AZ / Region" → snapshot (copy it for another Region), then restore. (EBS snapshots)
- "Cheapest way to keep snapshots for years, rarely needed" → EBS Snapshots Archive. (EBS snapshots)
- "Protect against accidental deletion of snapshots" → Recycle Bin retention rule. (EBS snapshots)
- "Restored volume must deliver full performance immediately" → Fast Snapshot Restore. (EBS snapshots)
- "Boot volume" → gp2, gp3, io1 or io2; never st1 or sc1. (EBS volume types)
- "Increase IOPS without increasing size" → gp3 (or io1/io2), not gp2. (EBS volume types)
- "More than 64,000 IOPS", "mission-critical database", "sub-millisecond" → io2 Block Express. (EBS volume types)
- "Big data, log processing, data warehouse, throughput" → st1. (EBS volume types)
- "Infrequently accessed, lowest cost HDD" → sc1. (EBS volume types)
- "gp2 volume needs more IOPS" → change it to gp3 with Elastic Volumes, no downtime. (EBS volume types)
- "Attach the same EBS volume to multiple instances" → Multi-Attach, io1/io2 only, same AZ, up to 16 instances. (EBS Multi-Attach)
- "Clustered application needs shared block storage for high availability" → io2 with Multi-Attach. (EBS Multi-Attach)
- "Many web servers share files across AZs" → EFS, not Multi-Attach. (EBS Multi-Attach)
- "Encrypt an existing unencrypted EBS volume" → snapshot, copy (or restore) with encryption, create a new volume, swap it in. (EBS encryption)
- "Make sure all new EBS volumes are encrypted" → turn on EBS encryption by default in each Region (and enforce it with an SCP or AWS Config rule). (EBS encryption)
- "Highest possible IOPS", "very low latency local storage" → instance store (storage optimized types). (Instance store)
- "Temporary data, cache, buffer, scratch space" → instance store. (Instance store)
- "Data must survive stop/start" → EBS, not instance store. (Instance store)
- "Shared file system for many Linux instances across AZs", "WordPress / CMS shared content" → EFS. (Amazon EFS)
- "POSIX-compliant shared storage", "NFS" → EFS. (Amazon EFS)
- "Windows file share" → not EFS: FSx for Windows File Server. (Amazon EFS)
- "Unpredictable or spiky throughput" → Elastic throughput. "Known, steady high throughput regardless of size" → Provisioned. (Amazon EFS)
- "Reduce cost of rarely used files" → lifecycle policy to IA / Archive. (Amazon EFS)
- "Cheapest, dev/test, single AZ is fine" → One Zone (with One Zone-IA). (Amazon EFS)
- "Instances can't mount EFS" → check the mount target's security group allows NFS (2049). (Amazon EFS)
- "Windows file share", "SMB", "NTFS", "Active Directory", "DFS" → FSx for Windows File Server. "Highly available" → Multi-AZ deployment. (Amazon FSx)
- "HPC", "machine learning", "parallel file system", "process S3 data at high speed" → FSx for Lustre. (Amazon FSx)
- "Temporary, short-term, cost-optimised HPC storage" → Lustre scratch. "Long-term, replicated" → Lustre persistent. (Amazon FSx)
- "NFS, SMB and iSCSI from one system", "move NetApp / NAS to AWS" → FSx for NetApp ONTAP. (Amazon FSx)
- "Move ZFS file servers", "instant clones over NFS" → FSx for OpenZFS. (Amazon FSx)
- "Lowest cost per GB for one server's disk" → EBS (gp3, or st1/sc1 for throughput data), not EFS. (EBS vs EFS vs instance store)
- "Millions of IOPS on one instance" → instance store. (EBS vs EFS vs instance store)
- "Object", "static website", "data lake", "unlimited storage" → S3. "Archive, retrieve in hours" → S3 Glacier. (Storage comparison)
- "Block storage for EC2" → EBS; "temporary, highest IOPS" → instance store. (Storage comparison)
- "Shared POSIX file system" → EFS; "SMB / Windows" → FSx for Windows; "HPC / Lustre" → FSx for Lustre. (Storage comparison)
- "On-premises apps need access to cloud storage" → Storage Gateway. "SFTP into S3" → Transfer Family. "Copy large data sets online" → DataSync. "Petabytes, slow or no network" → Snowball Edge in exam answers (closed to new customers now). (Storage comparison)
Load Balancing & Auto Scaling
- "Handle more load by adding instances", "elastic" → horizontal scaling with an Auto Scaling group. (Load Balancing & Auto Scaling)
- "Survive the failure of an AZ / data centre" → instances in at least two AZs behind a load balancer. (Load Balancing & Auto Scaling)
- "Database needs more power" → usually vertical scaling (a bigger instance class), or read replicas. (Load Balancing & Auto Scaling)
- "Highly available and scalable web tier" → ALB + Auto Scaling group across multiple AZs. (Load Balancing & Auto Scaling)
- "Single DNS name in front of many instances", "distribute traffic", "remove unhealthy instances" → Elastic Load Balancing. (Elastic Load Balancing)
- "Instances must only accept traffic from the load balancer" → instance security group references the load balancer's security group. (Elastic Load Balancing)
- "HTTP routing by path or host" → ALB. "TCP/UDP, extreme performance, static IP" → NLB. "Third-party firewall appliances" → GWLB. (Elastic Load Balancing)
- "Route by URL path / hostname / query string / header" → ALB listener rules. (Application Load Balancer)
- "Microservices or containers behind one load balancer", "ECS dynamic ports" → ALB. (Application Load Balancer)
- "Invoke a Lambda function over HTTP from a load balancer" → ALB with a Lambda target group. (Application Load Balancer)
- "Redirect HTTP to HTTPS" → ALB redirect action. (Application Load Balancer)
- "The application needs the client's IP address" → read
X-Forwarded-For. (Application Load Balancer) - "Static IP for an ALB" → put an NLB in front with the ALB as its target, or use Global Accelerator. (Application Load Balancer)
- "TCP / UDP traffic", "millions of requests per second", "ultra-low latency" → NLB. (Network Load Balancer)
- "Static IP address" or "Elastic IP" for a load balancer, "clients allow-list our IPs" → NLB. (Network Load Balancer)
- "Static IPs and path-based routing" → NLB with an ALB as the target (or Global Accelerator in front of an ALB). (Network Load Balancer)
- "End-to-end encryption, targets must decrypt" → NLB with a TCP listener on 443 (passthrough). (Network Load Balancer)
- "Gaming, VoIP, IoT over UDP" → NLB. (Network Load Balancer)
- "Third-party firewall / IDS / IPS / deep packet inspection appliances", "inspect all traffic" → Gateway Load Balancer. (Gateway Load Balancer)
- "GENEVE protocol on port 6081" → GWLB. (Gateway Load Balancer)
- "Layer 3" load balancer → GWLB (ALB is layer 7, NLB layer 4). (Gateway Load Balancer)
- "Users must keep their session on the same instance" → sticky sessions (ALB cookie, or source IP on an NLB). (Sticky sessions and cross-zone load balancing)
- "Load is uneven since enabling stickiness" → that's the expected side effect; store sessions in ElastiCache or DynamoDB instead. (Sticky sessions and cross-zone load balancing)
- "Uneven instance counts across AZs cause overloaded instances" → turn on cross-zone load balancing. (Sticky sessions and cross-zone load balancing)
- "HTTPS for the website, free certificate that renews itself" → ACM certificate on the load balancer's HTTPS listener. (SSL/TLS, SNI and deregistration delay)
- "Host several HTTPS domains on one load balancer" → ALB or NLB with multiple certificates and SNI. (SSL/TLS, SNI and deregistration delay)
- "Classic Load Balancer with several domains" → needs one CLB per certificate (or migrate to ALB). (SSL/TLS, SNI and deregistration delay)
- "Support old clients' TLS versions" → choose a security policy that allows them. (SSL/TLS, SNI and deregistration delay)
- "In-flight requests fail during scale-in or deployments" → increase the deregistration delay. "Deployments take 5 minutes per instance for short requests" → lower it. (SSL/TLS, SNI and deregistration delay)
- "Automatically replace failed instances", "maintain a fixed number of instances" → Auto Scaling group (even with min = max). (Auto Scaling groups)
- "Replace instances the load balancer marks unhealthy" → turn on ELB health checks for the group. (Auto Scaling groups)
- "Highly available across AZs" → the group's subnets span at least two AZs. (Auto Scaling groups)
- "Change the AMI or instance type for new instances" → a new launch template version (then an instance refresh to replace existing ones). (Auto Scaling groups)
- "Cheapest for fault-tolerant work, keep a baseline" → mixed instances policy with On-Demand base capacity plus Spot. (Auto Scaling groups)
- "Keep average CPU at 50%", "simplest way to scale on a metric" → target tracking. (Scaling policies)
- "Scale every Friday at 5 pm", "known event" → scheduled scaling. (Scaling policies)
- "Daily or weekly cyclical traffic, scale ahead of demand" → predictive scaling. (Scaling policies)
- "Scale by number of requests per instance" → target tracking on
ALBRequestCountPerTarget. (Scaling policies) - "Instances take a long time to boot, so scale-out is too slow" → warm pool (and a golden AMI). (Scaling policies)
- "Roll out a new AMI to all instances in the group with no downtime" → new launch template version + instance refresh. (Scaling policies)
- "Run a script before an instance is terminated" → lifecycle hook. (Scaling policies)
- "Group scales out again too soon" → cooldown (simple scaling) or instance warmup. (Scaling policies)
- "Set up scaling for EC2, ECS, DynamoDB and Aurora of one application from a single place", "scaling plan" → AWS Auto Scaling. (Scaling policies)
- "Scale DynamoDB capacity, ECS tasks or Aurora replicas automatically" → Application Auto Scaling (through each service's auto scaling settings). (Scaling policies)
Databases
- "Relational", "SQL", "joins", "transactions", "OLTP" → RDS or Aurora. (Databases)
- "MySQL or PostgreSQL with the best performance and availability", "less management" → Aurora. (Databases)
- "Oracle or SQL Server with access to the operating system" → RDS Custom. (Databases)
- "Serverless NoSQL", "key-value", "millions of requests per second", "schema changes often" → DynamoDB. (Databases)
- "Cache", "sub-millisecond", "session store", "reduce database load" → ElastiCache (or DAX for DynamoDB). (Databases)
- "MongoDB" → DocumentDB. "Graph", "relationships", "social network", "fraud rings" → Neptune. "Cassandra", "CQL" → Keyspaces. "Time series", "IoT sensor data" → Timestream. (Databases)
- "Analytics", "data warehouse", "OLAP", "BI" → Redshift. (Databases)
- "Managed relational database", "MySQL / PostgreSQL / Oracle / SQL Server", "less operational overhead" → RDS. (Amazon RDS)
- "Database storage grows unpredictably", "avoid running out of space" → turn on storage auto scaling with a maximum threshold. (Amazon RDS)
- "Need OS access or custom patches on Oracle or SQL Server" → RDS Custom. "Full control of any engine" → database on EC2. (Amazon RDS)
- "Stop a database for months to save money" → snapshot, delete, restore later (a stopped instance restarts after 7 days). (Amazon RDS)
- "Read-heavy", "reporting queries slow down production", "scale reads" → read replicas. (Read replicas and Multi-AZ)
- "High availability", "survive an AZ failure", "automatic failover", "no data loss" → Multi-AZ. (Read replicas and Multi-AZ)
- "Replica lag", "reads may be stale" → asynchronous read replicas. (Read replicas and Multi-AZ)
- "Disaster recovery to another Region" → cross-Region read replica (promote it). (Read replicas and Multi-AZ)
- "Reduce cross-AZ replication cost" → RDS replicas in the same Region are free to replicate to. (Read replicas and Multi-AZ)
- "Make an existing database Multi-AZ with no downtime" → modify it. (Read replicas and Multi-AZ)
- "MySQL or PostgreSQL compatible, high performance, high availability, minimal management" → Aurora. (Amazon Aurora)
- "Six copies across three AZs", "self-healing storage" → Aurora. (Amazon Aurora)
- "Send read traffic to replicas automatically" → reader endpoint. "Analytics on specific bigger replicas" → custom endpoint. (Amazon Aurora)
- "Replicas scale with read load" → Aurora Replica auto scaling. (Amazon Aurora)
- "Undo a mistake quickly without restoring a backup" → Backtrack (Aurora MySQL). (Amazon Aurora)
- "Unpredictable or intermittent workload", "no capacity planning", "pay per second" → Aurora Serverless. (Aurora advanced)
- "Global application, low-latency reads in several Regions, Region-level DR with RPO of about a second and RTO under a minute" → Aurora Global Database. (Aurora advanced)
- "ML predictions from SQL", "SageMaker or Comprehend from the database" → Aurora machine learning. (Aurora advanced)
- "Run SQL Server applications on Aurora with few code changes" → Babelfish for Aurora PostgreSQL. (Aurora advanced)
- "Restore to a specific time a few minutes ago" → automated backups with point-in-time recovery (up to 35 days). (Backups, restore and cloning)
- "Keep a backup for years", "after the database is deleted" → manual snapshot. (Backups, restore and cloning)
- "Move an on-premises MySQL database to Aurora" → Percona XtraBackup files in S3, restore into Aurora (or AWS DMS). (Backups, restore and cloning)
- "Create a test or staging copy of production quickly and cheaply" → Aurora cloning. (Backups, restore and cloning)
- "Pause an RDS database for months" → snapshot, delete, restore later. (Backups, restore and cloning)
- "Encrypt an existing unencrypted RDS database" → snapshot, copy with encryption, restore. (Security and RDS Proxy)
- "Connect to RDS without a password, using IAM roles" → IAM database authentication (MySQL, MariaDB, PostgreSQL). (Security and RDS Proxy)
- "Rotate database credentials automatically" → Secrets Manager. (Security and RDS Proxy)
- "Lambda functions exhaust database connections", "too many connections" → RDS Proxy. (Security and RDS Proxy)
- "Reduce failover time for applications" → RDS Proxy. (Security and RDS Proxy)
- "Enforce IAM authentication to the database" → RDS Proxy (or IAM database authentication). (Security and RDS Proxy)
- "Reduce read load on RDS", "frequently read data", "sub-millisecond reads" → ElastiCache. (Amazon ElastiCache)
- "Store user sessions so the app is stateless" → ElastiCache (or DynamoDB). (Amazon ElastiCache)
- "Cache must survive node failure", "Multi-AZ", "backups", "sorted sets" → Valkey / Redis OSS. (Amazon ElastiCache)
- "Simple cache, multithreaded, data loss is fine" → Memcached. (Amazon ElastiCache)
- "Data in the cache is stale" → write-through or a TTL. "Cache holds data nobody reads" → lazy loading. (Amazon ElastiCache)
- "Leaderboard" → Redis/Valkey sorted sets. (Amazon ElastiCache)
- "Least application change for caching DynamoDB" → DAX, not ElastiCache (see DynamoDB advanced). (Amazon ElastiCache)
- "Serverless NoSQL", "key-value", "single-digit millisecond", "any scale" → DynamoDB. (Amazon DynamoDB)
- "Schema changes often", "flexible attributes" → DynamoDB. (Amazon DynamoDB)
- "Unpredictable traffic", "sudden spikes", "no capacity planning" → on-demand mode. (Amazon DynamoDB)
- "Steady, predictable traffic, lowest cost" → provisioned mode with auto scaling. (Amazon DynamoDB)
- "Store session data", "shopping cart" → DynamoDB (with TTL), as an alternative to ElastiCache. (Amazon DynamoDB)
- "Mostly stored, rarely read table, reduce cost" → Standard-IA table class. (Amazon DynamoDB)
- "Items larger than 400 KB" → store the object in S3 and its key in DynamoDB. (Amazon DynamoDB)
- "Microsecond reads for DynamoDB", "hot items", "no code changes" → DAX. (DynamoDB advanced)
- "Cache aggregation results computed by the app" → ElastiCache. (DynamoDB advanced)
- "React to item changes", "trigger Lambda on insert" → DynamoDB Streams. (DynamoDB advanced)
- "Keep change records longer than 24 hours", "many consumers" → Kinesis Data Streams for DynamoDB. (DynamoDB advanced)
- "Multi-Region, active-active, low latency reads and writes everywhere" → global tables. (DynamoDB advanced)
- "Delete old items automatically", "expire sessions" → TTL. (DynamoDB advanced)
- "Restore to a point in time in the last 35 days" → PITR. "Keep backups for years" → on-demand backups (AWS Backup for cross-Region copies). (DynamoDB advanced)
- "Analyse DynamoDB data with SQL without using capacity" → export to S3, query with Athena. (DynamoDB advanced)
- "Load a large CSV into a new DynamoDB table cheaply" → import from S3. (DynamoDB advanced)
- "MongoDB", "JSON documents", "MongoDB compatible" → DocumentDB. (DocumentDB, Neptune and Keyspaces)
- "Graph", "relationships", "social network", "knowledge graph", "fraud rings", "recommendations" → Neptune. (DocumentDB, Neptune and Keyspaces)
- "Change events from a graph database" → Neptune Streams. (DocumentDB, Neptune and Keyspaces)
- "Apache Cassandra", "CQL" → Keyspaces. (DocumentDB, Neptune and Keyspaces)
- "Serverless NoSQL with no particular open-source API" → DynamoDB. (DocumentDB, Neptune and Keyspaces)
- "Time series data", "IoT sensor readings over time", "metrics with timestamps" → Timestream (Timestream for InfluxDB for new designs). (Amazon Timestream)
- "Recent data fast, old data cheap, automatically" → Timestream's storage tiering. (Amazon Timestream)
Amazon S3
- "Store any amount of files cheaply, accessed over HTTP", "durable object storage" → S3. (Amazon S3)
- "Object larger than 5 GB" → multipart upload (required). Largest object → 50 TB. (Amazon S3)
- "Bucket names must be unique" → globally, unless the account regional namespace is used. (Amazon S3)
- "Give an EC2 instance access to S3" → IAM role (instance profile), not access keys. (Security and bucket policies)
- "Grant access to another AWS account" → bucket policy (cross-account). (Security and bucket policies)
- "Make objects publicly readable" → bucket policy with
Principal: "*"and Block Public Access off. (Security and bucket policies) - "Prevent any bucket in the account from ever being public" → Block Public Access at the account (or organization) level. (Security and bucket policies)
- "Explicit deny in a bucket policy vs allow in IAM" → deny wins. (Security and bucket policies)
- "Host a static website cheaply with no servers" → S3 static website hosting. (Static website hosting)
- "403 Forbidden on the S3 website" → add a bucket policy allowing public
s3:GetObject(and turn off Block Public Access). (Static website hosting) - "Static website with HTTPS" → CloudFront in front of S3. (Static website hosting)
- "Website with server-side code" → not S3 alone; use compute. (Static website hosting)
- "Protect against accidental deletion or overwrite" → versioning (plus MFA Delete for more protection). (Versioning and replication)
- "Restore a deleted object" → delete the delete marker (or copy the previous version). (Versioning and replication)
- "Copy objects to another Region automatically", "disaster recovery for S3" → CRR. (Versioning and replication)
- "Aggregate logs from many buckets in the same Region" → SRR. (Versioning and replication)
- "Replicate objects that existed before replication was turned on" → S3 Batch Replication. (Versioning and replication)
- "Replication within a guaranteed time" → S3 Replication Time Control. (Versioning and replication)
- "Frequently accessed" → Standard. "Unknown or changing access patterns" → Intelligent-Tiering. (Storage classes)
- "Infrequent but needs immediate access", "backups, DR" → Standard-IA. (Storage classes)
- "Can be re-created", "secondary copy", "cheapest immediate access" → One Zone-IA. (Storage classes)
- "Archive, read once a quarter, milliseconds" → Glacier Instant Retrieval. (Storage classes)
- "Archive, retrieval in minutes or hours" → Glacier Flexible Retrieval (Expedited 1–5 min, Bulk free). (Storage classes)
- "Cheapest storage, retrieval within 12 or 48 hours", "keep for years for compliance" → Glacier Deep Archive. (Storage classes)
- "Single-digit millisecond, very high request rate, same AZ as compute" → S3 Express One Zone. (Storage classes)
- "Automatically move objects to a cheaper class after N days" → lifecycle transition action. (Lifecycle rules)
- "Delete old log files automatically" → lifecycle expiration action. (Lifecycle rules)
- "Old versions are costing money" → expire noncurrent versions. (Lifecycle rules)
- "Hidden storage cost from failed uploads" → abort incomplete multipart uploads. (Lifecycle rules)
- "Which objects should move to Standard-IA, and when?" → Storage Class Analysis. (Lifecycle rules)
- "Recover deleted objects within 48 hours for a year" → versioning + transition noncurrent versions to Deep Archive. (Lifecycle rules)
- "Share a large dataset with other accounts; they should pay for downloads" → Requester Pays. (Requester Pays)
- "Requester Pays and anonymous users" → not allowed; requesters must be authenticated. (Requester Pays)
- "Run code when an object is uploaded", "thumbnail on upload" → S3 event notification to Lambda. (Event notifications)
- "Queue uploaded files for processing" → event notification to SQS. (Event notifications)
- "Notify several subscribers of a new object" → SNS (fan-out). (Event notifications)
- "Advanced filtering, many targets, archive and replay of S3 events" → EventBridge. (Event notifications)
- "S3 can't send to the queue" → the queue's access policy must allow
s3.amazonaws.com. (Event notifications) - "Upload files larger than 5 GB" → multipart upload (required). "Faster upload of large files" → multipart upload. (Performance)
- "Faster uploads from far away", "users around the world upload to one bucket" → S3 Transfer Acceleration. (Performance)
- "Download faster", "read only the beginning of a file" → byte-range fetches. (Performance)
- "Higher request rate" → spread objects across more prefixes. (Performance)
- "HTTP 503 Slow Down" → too many requests on one prefix; spread out and retry with backoff. (Performance)
- "Encrypt all existing unencrypted objects", "change tags on millions of objects" → S3 Batch Operations (with S3 Inventory as the list). (Batch Operations and Storage Lens)
- "Restore many objects from Glacier at once" → Batch Operations. (Batch Operations and Storage Lens)
- "Replicate existing objects" → S3 Batch Replication. (Batch Operations and Storage Lens)
- "Organization-wide view of S3 usage, cost savings and data protection" → S3 Storage Lens. (Batch Operations and Storage Lens)
- "Keep Storage Lens metrics 15 months", "publish to CloudWatch" → advanced metrics. (Batch Operations and Storage Lens)
- "Encryption with no management at all" → SSE-S3 (already on by default). (Encryption)
- "Control the key", "audit key usage", "rotate keys" → SSE-KMS. (Encryption)
- "KMS throttling errors on a busy bucket" → S3 Bucket Keys, or ask for a higher KMS quota. (Encryption)
- "Two layers of encryption for compliance" → DSSE-KMS. (Encryption)
- "Keys must stay outside AWS, S3 does the encryption" → SSE-C (HTTPS only). (Encryption)
- "Data must be encrypted before it leaves our servers" → client-side encryption. (Encryption)
- "Refuse uploads over HTTP" → bucket policy denying when
aws:SecureTransportis false. (Encryption) - "Only allow objects encrypted with SSE-KMS" → bucket policy denying
PutObjectwithout theaws:kmsheader. (Encryption) - "Website on one bucket can't load files from another bucket", "browser blocks the request", "CORS error" → add a CORS configuration to the bucket being requested, allowing the website's origin. (CORS)
- "Allow any website to load these public files" → CORS with
AllowedOrigins: ["*"]. (CORS) - "Require MFA to permanently delete object versions" → MFA Delete (versioning required, root user, CLI). (MFA Delete and access logs)
- "Who can enable MFA Delete?" → only the bucket owner's root user. (MFA Delete and access logs)
- "Audit all requests to a bucket, including denied ones" → S3 server access logging to another bucket. (MFA Delete and access logs)
- "Log bucket grows uncontrollably" → it's logging into itself. (MFA Delete and access logs)
- "Give temporary access to a private object without making it public", "users without AWS credentials download one file" → presigned URL. (Presigned URLs)
- "Let users upload directly to S3 from the browser" → presigned
PUTURL. (Presigned URLs) - "URL stopped working before its expiry time" → it was signed with temporary credentials that expired, or the signer lost permission. (Presigned URLs)
- "WORM", "regulatory retention", "no one can delete, not even root" → S3 Object Lock in compliance mode. (Object Lock and Vault Lock)
- "Prevent deletion but let a few admins override" → governance mode. (Object Lock and Vault Lock)
- "Keep an object indefinitely for a lawsuit, no fixed date" → legal hold. (Object Lock and Vault Lock)
- "WORM for a Glacier vault" → Glacier Vault Lock. (Object Lock and Vault Lock)
- "Object Lock prerequisite" → versioning enabled. (Object Lock and Vault Lock)
- "Many teams share a bucket, the bucket policy is too complex" → S3 Access Points with per-team policies. (Access Points and Object Lambda)
- "Access the bucket only from inside a VPC" → an access point with VPC network origin, plus a VPC endpoint. (Access Points and Object Lambda)
- "Change data as it's read, without storing copies" (redact, convert, resize) → S3 Object Lambda. (Access Points and Object Lambda)
DNS & Content Delivery
- "Domain name", "DNS", "route users to the nearest Region", "DNS failover" → Route 53. (DNS & Content Delivery)
- "Cache static content globally", "reduce latency for images and video", "offload the origin" → CloudFront. (DNS & Content Delivery)
- "Static IP addresses for a global application", "TCP or UDP", "gaming", "fast regional failover without DNS caching" → Global Accelerator. (DNS & Content Delivery)
- "Run code at the edge to change requests or responses" → CloudFront Functions or Lambda@Edge. (DNS & Content Delivery)
- "Authoritative DNS where you manage the records" → Route 53 hosted zone. (DNS basics)
- "Changes to DNS take time to reach users" → resolvers cache answers for the TTL. (DNS basics)
- "Which AWS service has a 100% availability SLA?" → Route 53. (DNS basics)
- "Map a name to IPv4" → A. "IPv6" → AAAA. "Name to another name" → CNAME. "Who answers for this domain" → NS. (Records and hosted zones)
- "Internal DNS names for resources in a VPC" → private hosted zone (with DNS hostnames and resolution on). (Records and hosted zones)
- "Clients still go to the old IP address after a change" → the TTL is too high; lower it before changes. (Records and hosted zones)
- "Reduce Route 53 query costs" → raise the TTL (or use alias records to AWS resources, which are free). (Records and hosted zones)
- "Point the root domain (zone apex) to a load balancer or CloudFront" → alias record. (CNAME vs alias)
- "Point a name to a non-AWS hostname" → CNAME (not at the apex). (CNAME vs alias)
- "Avoid DNS query charges for AWS resources", "follow the load balancer's changing IPs" → alias. (CNAME vs alias)
- "Alias to an EC2 instance" → not possible; use an A record with an Elastic IP. (CNAME vs alias)
- "Send 10% of users to the new version", "gradual migration" → weighted. (Routing policies)
- "Best performance for users worldwide", "lowest latency" → latency-based. (Routing policies)
- "Active-passive", "disaster recovery site when the primary fails" → failover (with a health check). (Routing policies)
- "Users in a country must see a localized site", "restrict by country", "legal requirements" → geolocation. (Routing policies)
- "Shift more traffic to one Region based on distance", "bias" → geoproximity. (Routing policies)
- "Route users of a specific ISP or IP range" → IP-based. (Routing policies)
- "Return several healthy IP addresses" → multivalue answer. (Routing policies)
- "Health checks with one record holding several IPs" → not possible with simple; use multivalue. (Routing policies)
- "Automatic DNS failover to a healthy Region" → health checks linked to records (failover, latency, weighted…). (Health checks)
- "Health check for a resource in a private subnet" → health check on a CloudWatch alarm (or a private endpoint health check). (Health checks)
- "Keep the site healthy while one server is in maintenance" → calculated health check. (Health checks)
- "Health checks keep failing although the app works" → allow the Route 53 health checker IP ranges through the firewall. (Health checks)
- "Check that the page contains specific text" → string matching (first 5,120 bytes). (Health checks)
- "Domain bought from another registrar, use Route 53" → create a public hosted zone and update the NS records at the registrar. (Registrar and hybrid DNS)
- "On-premises servers must resolve private hosted zone names" → Resolver inbound endpoint. (Registrar and hybrid DNS)
- "EC2 instances must resolve on-premises domain names" → Resolver outbound endpoint + forwarding rule. (Registrar and hybrid DNS)
- "Block instances from resolving malicious domains", "DNS exfiltration" → Route 53 Resolver DNS Firewall. (Registrar and hybrid DNS)
- "Cache static content globally", "reduce load on the origin", "low latency for users worldwide" → CloudFront. (Amazon CloudFront)
- "Only allow access to the S3 content through CloudFront" → origin access control (OAC) and a bucket policy. (Amazon CloudFront)
- "Origin in a private subnet without public exposure" → CloudFront VPC origin. (Amazon CloudFront)
- "Block users from certain countries" → CloudFront geo restriction. (Amazon CloudFront)
- "Users see old content after an update" → invalidation (or versioned file names). (Amazon CloudFront)
- "Paid content for many files per user" → signed cookies. "One file" → signed URL. (Amazon CloudFront)
- "Reduce CloudFront cost, users only in North America and Europe" → Price Class 100. (Amazon CloudFront)
- "High availability between two origins" → origin group (origin failover). (Amazon CloudFront)
- "Static content everywhere vs dynamic content in a few Regions" → CloudFront vs S3 CRR. (Amazon CloudFront)
- "Static IP addresses", "two IPs to allow-list", "IP addresses can't change" → Global Accelerator. (AWS Global Accelerator)
- "UDP", "gaming", "VoIP", "IoT MQTT" → Global Accelerator (CloudFront is for HTTP). (AWS Global Accelerator)
- "Fast regional failover, not affected by DNS caching" → Global Accelerator. (AWS Global Accelerator)
- "Cache content at the edge" → CloudFront, not Global Accelerator. (AWS Global Accelerator)
- "Shift a percentage of traffic between Regions without DNS changes" → traffic dials. (AWS Global Accelerator)
- "Lightweight, millions of requests per second, change headers, redirect URLs, normalize cache keys" → CloudFront Functions. (Edge functions)
- "Needs the AWS SDK", "network calls", "request body", "longer processing", "origin request or response" → Lambda@Edge. (Edge functions)
- "Authenticate users at the edge with a JWT" → CloudFront Functions (simple check) or Lambda@Edge (complex). (Edge functions)
- "Where do you create Lambda@Edge functions?" → us-east-1. (Edge functions)
Application Integration
- "Decouple", "absorb spikes", "the backend can't keep up" → SQS between the tiers. (Application Integration)
- "Send one message to many receivers" → SNS (often SNS + SQS fan-out). (Application Integration)
- "Real-time streaming", "clickstream", "IoT data", "replay" → Kinesis Data Streams. (Application Integration)
- "Load streaming data into S3 or Redshift with no code" → Amazon Data Firehose. (Application Integration)
- "Migrate an app that uses MQTT, AMQP or JMS without rewriting it" → Amazon MQ. (Application Integration)
- "React to an event in an AWS service", "cron job" → EventBridge. (Application Integration)
- "Orchestrate several Lambda functions with retries and human approval" → Step Functions. (Application Integration)
- "Decouple tiers", "buffer requests", "handle traffic spikes" → SQS. (Amazon SQS)
- "Scale workers on the number of messages waiting" → Auto Scaling on
ApproximateNumberOfMessages(or backlog per instance). (Amazon SQS) - "Messages are processed twice" → visibility timeout too short; raise it or call
ChangeMessageVisibility. (Amazon SQS) - "Reduce empty responses and API costs" → long polling (
WaitTimeSecondsup to 20). (Amazon SQS) - "Let S3 or SNS send to a queue", "cross-account access" → SQS access policy. (Amazon SQS)
- "Messages larger than 1 MiB" → S3 plus a pointer (Extended Client Library). (Amazon SQS)
- "Keep messages up to 14 days" → set the retention period. (Amazon SQS)
- "Order must be preserved", "no duplicates" → SQS FIFO (message group ID, deduplication ID). (SQS FIFO and patterns)
- "FIFO throughput" → 300 msg/s, or 3,000 with batching (higher with high throughput mode). (SQS FIFO and patterns)
- "Messages that fail repeatedly block the queue" → dead-letter queue with
maxReceiveCount. (SQS FIFO and patterns) - "Delay processing of new messages for a few minutes" → delay queue (up to 15 minutes). (SQS FIFO and patterns)
- "Database can't keep up with writes during spikes, don't lose any" → SQS as a write buffer. (SQS FIFO and patterns)
- "Notify many receivers of one event", "pub/sub" → SNS topic. (Amazon SNS)
- "Email or SMS when a CloudWatch alarm fires" → CloudWatch alarm → SNS. (Amazon SNS)
- "Mobile push notifications" → SNS. (Amazon SNS)
- "Allow S3 (or another account) to publish to the topic" → SNS access policy. (Amazon SNS)
- "One event, processed independently by several services" → SNS + SQS fan-out. (SNS fan-out and filtering)
- "Send the same S3 event to several queues" → S3 → SNS → SQS queues. (SNS fan-out and filtering)
- "Fan-out with ordering and deduplication" → SNS FIFO + SQS FIFO. (SNS fan-out and filtering)
- "Each subscriber should only get some messages" → SNS filter policies. (SNS fan-out and filtering)
- "Store all messages from a topic in S3" → SNS → Data Firehose → S3. (SNS fan-out and filtering)
- "Queue doesn't receive messages from the topic" → the queue's access policy must allow SNS. (SNS fan-out and filtering)
- "Real-time streaming", "clickstream", "IoT telemetry", "process in real time", "replay" → Kinesis Data Streams. (Kinesis and Data Firehose)
- "Several applications must read the same stream" → Kinesis Data Streams (enhanced fan-out for many consumers). (Kinesis and Data Firehose)
- "Order per device or user" → same partition key → same shard. (Kinesis and Data Firehose)
- "Load streaming data into S3, Redshift, OpenSearch or Splunk with the least effort" → Data Firehose. (Kinesis and Data Firehose)
- "Convert incoming JSON to Parquet before S3" → Firehose format conversion (or Lambda transformation). (Kinesis and Data Firehose)
- "Near real time is fine (about a minute)" → Firehose; "milliseconds" → Data Streams. (Kinesis and Data Firehose)
- "Unpredictable stream throughput, no shard management" → on-demand mode. (Kinesis and Data Firehose)
- "Decouple and buffer work" → SQS. "Notify many systems" → SNS. "Real-time analytics on a stream" → Kinesis. (SQS vs SNS vs Kinesis)
- "Replay messages from yesterday" → Kinesis (or an SNS FIFO topic archive, or EventBridge archive); SQS deletes processed messages. (SQS vs SNS vs Kinesis)
- "Several consumers each need every record" → SNS fan-out or Kinesis, not one SQS queue. (SQS vs SNS vs Kinesis)
- "No capacity planning at all" → SQS or SNS (or Kinesis on-demand). (SQS vs SNS vs Kinesis)
- "Migrate an on-premises app using MQTT, AMQP, STOMP, OpenWire or JMS without changing code" → Amazon MQ. (Amazon MQ)
- "ActiveMQ or RabbitMQ in the cloud, managed" → Amazon MQ. (Amazon MQ)
- "New cloud-native application, massive scale" → SQS / SNS rather than Amazon MQ. (Amazon MQ)
- "High availability for Amazon MQ" → active/standby across two AZs (ActiveMQ) or a three-node cluster (RabbitMQ). (Amazon MQ)
- "Run a function on a schedule", "cron in AWS" → EventBridge schedule (or EventBridge Scheduler). (Amazon EventBridge)
- "React when an EC2 instance stops", "when an S3 object is created" → EventBridge rule. (Amazon EventBridge)
- "Alert when someone calls a specific API" → CloudTrail + EventBridge rule + SNS. (Amazon EventBridge)
- "Receive events from a SaaS application" → partner event bus. (Amazon EventBridge)
- "Centralize events from all accounts" → event bus resource-based policy (allow the organization). (Amazon EventBridge)
- "Reprocess past events after a bug fix" → archive and replay. (Amazon EventBridge)
- "Generate code bindings for event structures" → schema registry. (Amazon EventBridge)
- "Orchestrate several Lambda functions", "visual workflow", "retries and error handling between steps" → Step Functions. (AWS Step Functions)
- "Workflow needs human approval" → Step Functions (task token / callback). (AWS Step Functions)
- "Long-running workflow, up to a year, exactly once" → Standard workflow. (AWS Step Functions)
- "High-volume, short (under 5 minutes) event processing" → Express workflow. (AWS Step Functions)
- "Transfer data from Salesforce (or another SaaS app) to S3 or Redshift with no code" → Amazon AppFlow. (Amazon AppFlow)
- "SaaS data transfer that must not cross the public internet" → AppFlow with PrivateLink. (Amazon AppFlow)
- "Send transactional or marketing email from an application" → SES. (Amazon SES and Pinpoint)
- "Simple notifications to subscribers (email, SMS)" → SNS. (Amazon SES and Pinpoint)
- "Marketing campaigns with segments and templates" → was Pinpoint; now Amazon Connect and End User Messaging. (Amazon SES and Pinpoint)
Containers
- "Run Docker containers on AWS" → ECS (or EKS if they already use Kubernetes). (Containers)
- "Containers with no servers to manage" → Fargate. (Containers)
- "Already using Kubernetes", "cloud-agnostic" → EKS. (Containers)
- "Store Docker images privately" → ECR. (Containers)
- "Run containers without managing servers" → ECS on Fargate. (Amazon ECS)
- "Need specific instance types, custom AMIs, or full control of hosts" → EC2 launch type (or Managed Instances for specific types without host management). (Amazon ECS)
- "Give one container access to S3 and another to DynamoDB" → separate ECS task roles. (Amazon ECS)
- "ECS tasks need to pull images from ECR and write logs" → instance profile (EC2) or task execution role. (Amazon ECS)
- "Several tasks on one instance behind a load balancer" → ALB with dynamic host port mapping. (Amazon ECS)
- "Persistent storage shared by Fargate tasks across AZs" → EFS. (Amazon ECS)
- "Scale the number of ECS tasks on CPU, memory or ALB requests" → ECS Service Auto Scaling. (ECS scaling and patterns)
- "Add EC2 instances automatically when tasks can't be placed" → ECS capacity provider with an Auto Scaling group. (ECS scaling and patterns)
- "Run a container when a file lands in S3" → S3 event → EventBridge rule → ECS task. (ECS scaling and patterns)
- "Run a container every hour" → EventBridge schedule → ECS task (Fargate). (ECS scaling and patterns)
- "Process messages from a queue with containers, scaling with the backlog" → ECS service + SQS + Service Auto Scaling. (ECS scaling and patterns)
- "Notify when a container stops unexpectedly" → ECS task state change event → EventBridge → SNS. (ECS scaling and patterns)
- "Private Docker registry on AWS" → Amazon ECR. (Amazon ECR)
- "ECS tasks can't pull the image" → IAM permissions (instance profile or task execution role). (Amazon ECR)
- "Scan container images for vulnerabilities" → ECR image scanning (enhanced = Amazon Inspector). (Amazon ECR)
- "Delete old images automatically" → ECR lifecycle policy. (Amazon ECR)
- "Images available in another Region for DR" → ECR cross-Region replication. (Amazon ECR)
- "Already using Kubernetes", "migrate Kubernetes workloads", "cloud-agnostic containers" → EKS. (Amazon EKS)
- "Kubernetes without managing nodes" → EKS on Fargate (or EKS Auto Mode). (Amazon EKS)
- "Nodes managed by AWS, On-Demand or Spot" → managed node groups. (Amazon EKS)
- "Persistent storage for EKS pods on Fargate" → EFS. (Amazon EKS)
- "Manage on-premises containers with the ECS control plane" → ECS Anywhere. (Amazon EKS)
- "Kubernetes in our own data centre, supported by AWS, even disconnected" → EKS Anywhere. (Amazon EKS)
- "Same Kubernetes as EKS, self-managed anywhere" → EKS Distro. (Amazon EKS)
Serverless
- "No servers to manage", "pay only for what you use", "scales automatically" → a serverless design (Lambda, API Gateway, DynamoDB, S3, Fargate). (Serverless)
- "Serverless REST API" → API Gateway + Lambda (+ DynamoDB). (Serverless)
- "Run code in response to events without managing servers" → Lambda. (AWS Lambda)
- "Process files as they're uploaded to S3" → S3 event → Lambda. (AWS Lambda)
- "Run a script every hour without a server" → EventBridge schedule → Lambda. (AWS Lambda)
- "Function needs more CPU" → increase its memory. (AWS Lambda)
- "Run a Docker image as a function" → Lambda container image (if it implements the Runtime API); otherwise ECS/Fargate. (AWS Lambda)
- "Function takes longer than 15 minutes" → not Lambda (ECS/Fargate, Batch, or split the work with Step Functions). Note the new 30-minute limit, but exam questions still use 15. (Lambda limits and concurrency)
- "One function's traffic throttles other functions" → reserved concurrency on the critical ones. (Lambda limits and concurrency)
- "Limit a function to protect a database" → reserved concurrency as a cap. (Lambda limits and concurrency)
- "First requests are slow", "latency-sensitive", "no cold starts" → provisioned concurrency (or SnapStart for Java, Python, .NET). (Lambda limits and concurrency)
- "Throttled synchronous call" → HTTP 429. "Failed asynchronous events" → retries, then DLQ or on-failure destination. (Lambda limits and concurrency)
- "Need more than 1,000 concurrent executions" → request a quota increase. (Lambda limits and concurrency)
- "Payload over 6 MB" → put the data in S3 and pass a reference. (Lambda limits and concurrency)
- "Lambda can't connect to a private RDS database" → configure the function with the VPC, subnets and security groups. (Lambda networking and RDS)
- "Lambda in a VPC can't reach the internet" → private subnet + NAT gateway (or VPC endpoints for AWS services). (Lambda networking and RDS)
- "Too many database connections from Lambda" → RDS Proxy (and the function must be in the VPC). (Lambda networking and RDS)
- "Run code when a row is inserted in RDS PostgreSQL or Aurora MySQL" → invoke Lambda from the database. (Lambda networking and RDS)
- "Be notified when a DB instance is stopped or a snapshot completes" → RDS event notifications to SNS or EventBridge. (Lambda networking and RDS)
- "Serverless REST API" → API Gateway + Lambda. (Amazon API Gateway)
- "Add API keys, throttling, caching, authentication in front of an existing HTTP backend" → API Gateway HTTP integration. (Amazon API Gateway)
- "Send requests straight to SQS, Kinesis or Step Functions without code" → API Gateway AWS service integration. (Amazon API Gateway)
- "Users around the world" → edge-optimized; "same Region" → Regional; "only from inside the VPC" → private endpoint. (Amazon API Gateway)
- "Authenticate mobile app users" → Cognito user pools; "internal AWS clients" → IAM; "custom token logic" → Lambda authorizer. (Amazon API Gateway)
- "Custom domain on an edge-optimized API" → ACM certificate in us-east-1. (Amazon API Gateway)
- "API returns 429" → throttling limits; "504 after 29 seconds" → integration timeout. (Amazon API Gateway)
- "Build and deploy a full-stack web or mobile app quickly, with auth, storage and APIs" → AWS Amplify. (AWS Amplify and Device Farm)
- "Host a static or Next.js site with CI/CD from a Git repository" → Amplify Hosting. (AWS Amplify and Device Farm)
- "Test a mobile app on many real devices" → AWS Device Farm. (AWS Amplify and Device Farm)
- "Share serverless applications across teams or accounts and deploy them easily" → Serverless Application Repository. (Serverless Application Repository)
- "Find and deploy a ready-made serverless app" → Serverless Application Repository. (Serverless Application Repository)
Analytics
- "Serverless", "least operational overhead", "query data in S3" → Athena (often with Glue and QuickSight). (Analytics)
- "Data warehouse", "OLAP", "complex analytical queries" → Redshift. (Analytics)
- "Convert to a columnar format to cut cost" → Glue job to Parquet or ORC, then Athena. (Analytics)
- "Streaming data" → Kinesis or MSK to ingest, Flink to process, Firehose to load. (Analytics)
- "Analyse data in S3 using serverless SQL" → Athena. (Amazon Athena)
- "Query VPC Flow Logs, ELB logs, CloudTrail logs ad hoc" → Athena. (Amazon Athena)
- "Reduce Athena cost or improve performance" → columnar formats (Parquet, ORC), compression, partitioning, larger files. (Amazon Athena)
- "Run SQL across DynamoDB, RDS and on-premises data without moving it" → Athena Federated Query. (Amazon Athena)
- "Dashboards on Athena results" → QuickSight. (Amazon Athena)
- "Data warehouse", "OLAP", "BI on petabytes", "complex joins and aggregations" → Redshift. (Amazon Redshift)
- "Query S3 data from Redshift without loading it" → Redshift Spectrum. (Amazon Redshift)
- "Disaster recovery for Redshift in another Region" → automated cross-Region snapshot copy. (Amazon Redshift)
- "Load data into Redshift efficiently" →
COPYfrom S3 (large batches), or Firehose for streams. (Amazon Redshift) - "COPY traffic must not leave the VPC" → enhanced VPC routing. (Amazon Redshift)
- "Unpredictable, occasional warehouse workloads" → Redshift Serverless. (Amazon Redshift)
- "Search any field", "full-text search", "partial matches" → OpenSearch. (Amazon OpenSearch Service)
- "Make DynamoDB data searchable" → DynamoDB Streams + Lambda (or OpenSearch Ingestion) to OpenSearch. (Amazon OpenSearch Service)
- "Real-time log analytics and dashboards" → CloudWatch Logs subscription filter to OpenSearch. (Amazon OpenSearch Service)
- "Near real time, managed, no code" → through Firehose. "Real time" → through Lambda. (Amazon OpenSearch Service)
- "Elasticsearch on AWS" → Amazon OpenSearch Service. (Amazon OpenSearch Service)
- "Hadoop", "Spark", "Hive", "HBase", "big data cluster" → EMR. (Amazon EMR)
- "Cheapest compute for EMR that can be interrupted" → Spot task nodes. (Amazon EMR)
- "Don't lose data if nodes are reclaimed" → keep core nodes On-Demand (or Reserved); use Spot for task nodes. (Amazon EMR)
- "Run a nightly batch job and pay only while it runs" → transient cluster (or EMR Serverless). (Amazon EMR)
- "Spark without managing clusters" → EMR Serverless (or Glue for ETL). (Amazon EMR)
- "Business intelligence dashboards", "visualize data", "serverless BI" → QuickSight. (Amazon QuickSight)
- "Dashboards on data in S3" → Athena + QuickSight. (Amazon QuickSight)
- "Users should see only some columns or rows" → QuickSight Enterprise CLS or RLS (or Lake Formation for the data lake). (Amazon QuickSight)
- "Fast dashboards with in-memory data" → import into SPICE. (Amazon QuickSight)
- "Serverless ETL", "transform data for analytics" → Glue. (AWS Glue)
- "Convert CSV to Parquet (or ORC) to reduce Athena cost" → Glue ETL job. (AWS Glue)
- "Discover data and build a schema automatically" → Glue crawler + Data Catalog. (AWS Glue)
- "Central metadata store for Athena, Redshift Spectrum and EMR" → Glue Data Catalog. (AWS Glue)
- "Don't reprocess data already handled" → job bookmarks. (AWS Glue)
- "Clean data visually without code" → Glue DataBrew. (AWS Glue)
- "Build a data lake quickly" → Lake Formation. (AWS Lake Formation)
- "Centrally manage fine-grained (column, row, cell-level) access to data in the data lake" → Lake Formation permissions. (AWS Lake Formation)
- "Share data lake tables across accounts with fine-grained control" → Lake Formation (cross-account sharing, LF-Tags). (AWS Lake Formation)
- "De-duplicate records in the data lake" → Lake Formation / Glue ML transforms (FindMatches). (AWS Lake Formation)
- "Real-time analytics or transformations on a stream" → Managed Service for Apache Flink. (Managed Flink and Amazon MSK)
- "Kafka", "migrate an existing Kafka cluster", "Kafka without managing servers" → Amazon MSK (MSK Serverless). (Managed Flink and Amazon MSK)
- "Read from MSK" → Flink, Glue streaming ETL, Lambda, or apps on EC2/ECS/EKS. (Managed Flink and Amazon MSK)
- "Kinesis Data Analytics" in an old question → Managed Service for Apache Flink. (Managed Flink and Amazon MSK)
- "Serverless pipeline: collect in real time, transform, query with SQL, dashboards" → Kinesis Data Streams → Firehose (+ Lambda) → S3 → Athena → QuickSight. (Big data ingestion pipeline)
- "Near real-time delivery to S3" → Firehose. "Real-time ingestion" → Kinesis Data Streams. (Big data ingestion pipeline)
- "Transform records in flight with Firehose" → a Lambda transformation. (Big data ingestion pipeline)
- "Subscribe to third-party datasets", "buy data from providers" → AWS Data Exchange. (Data Exchange, Data Pipeline and Kinesis Video Streams)
- "Schedule data movement and processing" → today Glue, Step Functions or MWAA; Data Pipeline only for existing customers. (Data Exchange, Data Pipeline and Kinesis Video Streams)
- "Stream video from cameras for ML analysis or playback" → Kinesis Video Streams. (Data Exchange, Data Pipeline and Kinesis Video Streams)
Machine Learning
- "Detect objects, faces, unsafe content in images or video" → Rekognition. (Machine Learning)
- "Extract text, forms, tables from scanned documents" → Textract. (Machine Learning)
- "Speech to text", "subtitles", "call transcripts" → Transcribe. "Text to speech", "app that talks" → Polly. (Machine Learning)
- "Translate content for international users" → Translate. (Machine Learning)
- "Sentiment", "key phrases", "entities in text" → Comprehend; "clinical text", "PHI" → Comprehend Medical. (Machine Learning)
- "Chatbot" → Lex. "Call center" → Connect. (Machine Learning)
- "Build, train and deploy custom ML models" → SageMaker AI. (Machine Learning)
- "Detect objects, scenes, faces, celebrities in images or video" → Rekognition. (Rekognition and Textract)
- "Moderate user-generated images and videos" → Rekognition content moderation (+ A2I for human review). (Rekognition and Textract)
- "Human review of low-confidence ML results" → Amazon Augmented AI (A2I). (Rekognition and Textract)
- "Extract text and data from scanned forms, tables, invoices, IDs" → Textract. (Rekognition and Textract)
- "Speech to text", "subtitles", "transcribe calls" → Transcribe. "Remove PII from transcripts" → Transcribe redaction. (Transcribe, Polly, Translate and Comprehend)
- "Text to speech" → Polly. "Customise pronunciation" → lexicons. "Whisper, emphasis, breathing" → SSML. (Transcribe, Polly, Translate and Comprehend)
- "Translate a website or app" → Translate. (Transcribe, Polly, Translate and Comprehend)
- "Sentiment analysis", "extract entities or key phrases" → Comprehend. (Transcribe, Polly, Translate and Comprehend)
- "Medical notes", "detect PHI" → Comprehend Medical. (Transcribe, Polly, Translate and Comprehend)
- "Chatbot", "voice bot", "conversational interface" → Lex. (Lex, Connect and Kendra)
- "Cloud contact center", "call center" → Connect (with Lex for self-service). (Lex, Connect and Kendra)
- "Search documents with natural language questions" → Kendra. (Lex, Connect and Kendra)
- "Build, train and deploy custom ML models", "data scientists" → SageMaker AI. (SageMaker AI and Personalize)
- "Recommendations" → Personalize (out of scope, but recognise it). (SageMaker AI and Personalize)
Monitoring & Governance
- "Monitor performance", "metrics", "alarm when CPU is high", "logs" → CloudWatch. (Monitoring & Governance)
- "Who deleted the resource?", "audit API calls" → CloudTrail. (Monitoring & Governance)
- "Is the resource compliant?", "track configuration changes over time" → AWS Config. (Monitoring & Governance)
- "Monitor RAM (memory) or disk space of EC2" → custom metric, usually through the CloudWatch agent. (CloudWatch metrics)
- "Metrics every second" → high-resolution custom metrics. "EC2 metrics every minute" → detailed monitoring. (CloudWatch metrics)
- "Send CloudWatch metrics to a third-party tool or S3 in near real time" → metric streams. (CloudWatch metrics)
- "Analyse or search logs with queries" → Logs Insights. (CloudWatch Logs)
- "Logs to S3 in batch" → export (
CreateExportTask, up to 12 hours). "Real time / near real time" → subscription filter to Kinesis, Firehose or Lambda. (CloudWatch Logs) - "Centralize logs from many accounts and Regions" → subscriptions to one Kinesis stream (cross-account destination), then Firehose to S3. (CloudWatch Logs)
- "Collect RAM, disk, processes from EC2 or on premises" → CloudWatch unified agent. (CloudWatch Logs)
- "No logs from EC2 in CloudWatch" → install the agent and check the instance role permissions. (CloudWatch Logs)
- "Automatically recover an EC2 instance on hardware failure, keeping its IP" → alarm on
StatusCheckFailed_Systemwith the recover action (or simplified automatic recovery). (CloudWatch alarms) - "Reduce alarm noise", "alert only when several conditions are true" → composite alarm. (CloudWatch alarms)
- "Alarm on errors in logs" → metric filter + alarm. (CloudWatch alarms)
- "Test an alarm's notification" →
set-alarm-state. (CloudWatch alarms) - "Monitor latency and packet loss to on premises over Direct Connect or VPN, no agents" → Network Synthetic Monitor. (CloudWatch alarms)
- "Metrics and logs for ECS, EKS, Fargate containers" → Container Insights. (CloudWatch Insights)
- "Troubleshoot Lambda performance, cold starts, memory" → Lambda Insights. (CloudWatch Insights)
- "Top-N", "heaviest users", "top talkers", "which IP generates the most traffic or errors" → Contributor Insights. (CloudWatch Insights)
- "Automatic dashboards for a .NET or SQL Server application on EC2" → Application Insights. (CloudWatch Insights)
- "Who deleted / modified the resource?", "audit API calls" → CloudTrail. (AWS CloudTrail)
- "Keep CloudTrail logs longer than 90 days and analyse them" → trail to S3 + Athena. (AWS CloudTrail)
- "Log S3 object-level operations (GetObject, PutObject)" → enable data events. (AWS CloudTrail)
- "Detect unusual API activity", "burst of IAM actions" → CloudTrail Insights. (AWS CloudTrail)
- "Alert when a specific API call happens" → CloudTrail + EventBridge rule + SNS. (AWS CloudTrail)
- "Audit all accounts in an organization" → organization trail. (AWS CloudTrail)
- "Is this resource compliant?", "track configuration changes over time" → AWS Config. (AWS Config)
- "Automatically fix non-compliant resources" → Config rule + remediation with SSM Automation. (AWS Config)
- "Notify when a resource becomes non-compliant" → Config + EventBridge (or SNS). (AWS Config)
- "Compliance across accounts and Regions" → Config aggregator. (AWS Config)
- "Custom compliance check" → custom Config rule with Lambda. (AWS Config)
- "Infrastructure as code", "repeatable environments", "re-create the same infrastructure" → CloudFormation. (AWS CloudFormation)
- "Let users deploy stacks without giving them permissions on the resources" → CloudFormation service role +
iam:PassRole. (AWS CloudFormation) - "Deploy the same stack to many accounts and Regions" → StackSets. (AWS CloudFormation)
- "Shell access without SSH, bastion hosts, keys or port 22" → Session Manager. (AWS Systems Manager)
- "Run a script on many instances at once" → Run Command. (AWS Systems Manager)
- "Patch EC2 and on-premises servers, compliance report" → Patch Manager (+ Maintenance Windows). (AWS Systems Manager)
- "Automate routine tasks: restart, AMI, snapshot" → SSM Automation runbooks. (AWS Systems Manager)
- "Instance doesn't appear in Systems Manager" → check the SSM Agent and the instance's IAM role (and network access to SSM endpoints). (AWS Systems Manager)
- "Trace requests across microservices", "find the bottleneck", "service map", "debug distributed applications" → AWS X-Ray. (AWS X-Ray)
- "Troubleshoot latency in a serverless application end to end" → X-Ray (with Lambda active tracing). (AWS X-Ray)
- "Be notified of AWS maintenance or issues that affect resources in my account" → AWS Health Dashboard (Your account health). (AWS Health Dashboard)
- "Automatically respond to an AWS Health event" → AWS Health events in EventBridge. (AWS Health Dashboard)
- "Health events for all accounts in the organization" → organizational view. (AWS Health Dashboard)
- "Let users self-provision only approved, compliant resources", "catalog of approved products" → AWS Service Catalog. (Service Catalog, Proton and License Manager)
- "Users launch products without permissions on the underlying services" → Service Catalog launch constraint. (Service Catalog, Proton and License Manager)
- "Track software licences, BYOL, prevent licence overuse" → AWS License Manager. (Service Catalog, Proton and License Manager)
- "Prometheus-compatible", "PromQL", "monitor container metrics at scale without managing servers" → Amazon Managed Service for Prometheus. (Managed Grafana and Managed Service for Prometheus)
- "Grafana dashboards", "visualize metrics from several sources, managed" → Amazon Managed Grafana. (Managed Grafana and Managed Service for Prometheus)
- "Already use Prometheus and Grafana on premises, move to AWS with the least operational overhead" → both managed services. (Managed Grafana and Managed Service for Prometheus)
Security & Encryption
- "Encryption" for an AWS service → almost always KMS. (Security & Encryption)
- "The server must never see the plaintext" → client-side encryption. (Security & Encryption)
- "Protect data in transit" → TLS (HTTPS), with certificates from ACM. (Security & Encryption)
- "Encrypt data at rest and audit key usage" → KMS (+ CloudTrail). (AWS KMS)
- "Users outside AWS must encrypt data they send" → asymmetric KMS key (download the public key). (AWS KMS)
- "Share an encrypted snapshot or AMI with another account" → customer managed key + key policy + share. (AWS KMS)
- "Copy an encrypted snapshot to another Region" → copy and re-encrypt with a key in that Region. (AWS KMS)
- "Automatic yearly key rotation" → enable rotation on a customer managed key. (AWS KMS)
- "Encrypt in one Region, decrypt in another without re-encrypting" → KMS multi-Region keys. (KMS multi-Region keys and encrypted sharing)
- "Protect specific fields even from database admins, in a global table" → client-side encryption + multi-Region keys. (KMS multi-Region keys and encrypted sharing)
- "Replicate SSE-KMS objects" → enable the KMS option in replication, target key, and an IAM role with decrypt and encrypt permissions. (KMS multi-Region keys and encrypted sharing)
- "Share an encrypted AMI" → launch permission + share the KMS key. (KMS multi-Region keys and encrypted sharing)
- "Dedicated, single-tenant hardware", "you manage the keys", "FIPS 140 Level 3 HSM you control" → CloudHSM. (AWS CloudHSM)
- "Keys must never be accessible to AWS" → CloudHSM. (AWS CloudHSM)
- "SSE-C with keys in an HSM", "Oracle TDE", "SSL offload" → CloudHSM. (AWS CloudHSM)
- "Use CloudHSM keys with S3 or EBS encryption" → KMS custom key store backed by CloudHSM. (AWS CloudHSM)
- "Store configuration and secrets centrally, encrypted, cheaply" → Parameter Store (
SecureString). (SSM Parameter Store) - "Organise config per environment" → parameter hierarchy +
GetParametersByPath+ IAM by path. (SSM Parameter Store) - "Latest AMI ID" → Parameter Store public parameters. (SSM Parameter Store)
- "Values over 4 KB" or "expiry notifications" → advanced tier. (SSM Parameter Store)
- "Rotate database credentials automatically" → Secrets Manager. (AWS Secrets Manager)
- "Store RDS credentials securely, no passwords in code" → Secrets Manager (with RDS integration). (AWS Secrets Manager)
- "Same secret in several Regions", "DR for secrets" → multi-Region secrets. (AWS Secrets Manager)
- "Cheapest way to store config and secrets, no rotation needed" → Parameter Store. (AWS Secrets Manager)
- "Free TLS certificates that renew automatically" → ACM public certificates (DNS validation). (AWS Certificate Manager (ACM))
- "HTTPS on an ALB, CloudFront or API Gateway" → ACM certificate. (AWS Certificate Manager (ACM))
- "Certificate for an edge-optimized API or CloudFront" → ACM in us-east-1. (AWS Certificate Manager (ACM))
- "Imported certificate expiring" → re-import before expiry; monitor with EventBridge expiry events or the Config rule. (AWS Certificate Manager (ACM))
- "TLS certificate on an EC2 instance directly" → not a standard ACM public certificate (use a self-managed one, or the newer exportable certificates). (AWS Certificate Manager (ACM))
- "SQL injection", "cross-site scripting", "block countries", "rate limit by IP" → AWS WAF. (WAF, Shield and Firewall Manager)
- "WAF on a Network Load Balancer" → not possible; use Global Accelerator + ALB with WAF for fixed IPs. (WAF, Shield and Firewall Manager)
- "DDoS protection at no cost" → Shield Standard (automatic). (WAF, Shield and Firewall Manager)
- "DDoS response team", "cost protection", "sophisticated DDoS" → Shield Advanced. (WAF, Shield and Firewall Manager)
- "Apply WAF rules or security groups across all accounts, including new ones" → Firewall Manager. (WAF, Shield and Firewall Manager)
- "Protect a web app from DDoS" → CloudFront (+ WAF rate-based rules) in front, ALB + Auto Scaling behind, Shield Advanced for more. (DDoS resiliency best practices)
- "Non-HTTP app needs edge DDoS protection" → Global Accelerator (+ Shield). (DDoS resiliency best practices)
- "Hide the backend" → put CloudFront, API Gateway or a load balancer in front, and lock down security groups. (DDoS resiliency best practices)
- "Detect threats", "compromised instance", "crypto mining", "unusual API calls" → GuardDuty. (GuardDuty, Inspector and Macie)
- "Scan EC2, ECR images or Lambda for vulnerabilities (CVEs)" → Inspector. (GuardDuty, Inspector and Macie)
- "Find PII or sensitive data in S3" → Macie. (GuardDuty, Inspector and Macie)
- "Automate a response to a finding" → EventBridge rule → Lambda or SNS. (GuardDuty, Inspector and Macie)
- "Central view of security findings across accounts", "check against CIS or PCI best practices" → Security Hub. (Detective, Security Hub and Artifact)
- "Investigate the root cause of a GuardDuty finding", "visualize what happened" → Detective. (Detective, Security Hub and Artifact)
- "Download AWS compliance reports (SOC, PCI, ISO)", "accept the HIPAA BAA" → AWS Artifact. (Detective, Security Hub and Artifact)
Networking: Amazon VPC
- "How many IPs in a /24?" → 256 (minus the 5 AWS reserves in a subnet). (CIDR and IP addressing)
- "Allow one IP in a security group" →
/32. "Allow everyone" →0.0.0.0/0. (CIDR and IP addressing) - "Private IP ranges" →
10.0.0.0/8,172.16.0.0/12,192.168.0.0/16. (CIDR and IP addressing) - "How many usable IPs in a /28 subnet?" → 16 − 5 = 11. (VPC and subnets)
- "Need N IPs" → pick the smallest subnet where 2^(32−n) − 5 ≥ N. (VPC and subnets)
- "Plan to connect to on premises later" → choose a VPC CIDR that doesn't overlap. (VPC and subnets)
- "Subnet spans two AZs" → impossible; one subnet = one AZ. (VPC and subnets)
- "Instance in a public subnet can't reach the internet" → check the route
0.0.0.0/0 → IGW, a public IP, security groups and NACLs. (Internet gateway and route tables) - "Make a subnet public" → route table with
0.0.0.0/0to an internet gateway. (Internet gateway and route tables) - "SSH to instances in a private subnet" → bastion host in a public subnet (or Session Manager / EIC Endpoint). (Bastion hosts)
- "Private instances need outbound internet (patches, APIs), no inbound" → NAT gateway. (NAT instance and NAT gateway)
- "Highly available NAT" → one NAT gateway per AZ, each AZ's private subnets routing to their own (or a Regional NAT gateway). (NAT instance and NAT gateway)
- "NAT instance not working" → disable source/destination check, Elastic IP, route table, security groups. (NAT instance and NAT gateway)
- "Least operational overhead" → NAT gateway, not NAT instance. (NAT instance and NAT gateway)
- "IPv6 outbound only" → egress-only internet gateway, not NAT (see IPv6). (NAT instance and NAT gateway)
- "Block a specific IP address" → NACL deny rule (security groups can't deny). (NACLs vs security groups)
- "Allowed inbound but the response never arrives" → NACL outbound rules missing the ephemeral port range. (NACLs vs security groups)
- "Rule order" → NACLs evaluate lowest number first; security groups evaluate all rules. (NACLs vs security groups)
- "Stateful vs stateless" → security groups stateful, NACLs stateless. (NACLs vs security groups)
- "Troubleshoot why connections are rejected", "which IPs talk to my instance" → VPC Flow Logs. (VPC Flow Logs and Traffic Mirroring)
- "Inbound ACCEPT but outbound REJECT" → NACL (stateless) problem. (VPC Flow Logs and Traffic Mirroring)
- "Analyse flow logs with SQL" → S3 + Athena (or CloudWatch Logs Insights). (VPC Flow Logs and Traffic Mirroring)
- "Inspect packet contents with an IDS appliance" → Traffic Mirroring. (VPC Flow Logs and Traffic Mirroring)
- "Protect the entire VPC", "filter outbound traffic by domain name", "intrusion prevention (IPS) for a VPC" → AWS Network Firewall. (AWS Network Firewall)
- "Block malicious HTTP requests to an ALB" → AWS WAF instead. (AWS Network Firewall)
- "Same firewall rules across many accounts" → Firewall Manager with Network Firewall policies. (AWS Network Firewall)
- "Connect two VPCs privately" → VPC peering (with route table updates). (VPC peering)
- "VPC A peered with B and C; B can't reach C" → peering isn't transitive; peer B and C, or use Transit Gateway. (VPC peering)
- "Peering fails to create" → overlapping CIDRs. (VPC peering)
- "Many VPCs (dozens or more)" → Transit Gateway instead of a mesh of peerings. (VPC peering)
- "Private access to S3 or DynamoDB from a VPC, cheapest" → gateway endpoint. (VPC endpoints and PrivateLink)
- "Private access to SQS, SNS, KMS, Secrets Manager… from a private subnet" → interface endpoint. (VPC endpoints and PrivateLink)
- "Access S3 privately from on premises over Direct Connect or VPN" → S3 interface endpoint. (VPC endpoints and PrivateLink)
- "Expose a service to many VPCs, overlapping CIDRs, no peering" → PrivateLink endpoint service with an NLB. (VPC endpoints and PrivateLink)
- "Endpoint created but traffic still fails" → check DNS settings (private DNS) and route tables. (VPC endpoints and PrivateLink)
- "Connect many VPCs and on premises, transitive, hub-and-spoke" → Transit Gateway. (AWS Transit Gateway)
- "IP multicast" → Transit Gateway. (AWS Transit Gateway)
- "Increase VPN bandwidth beyond 1.25 Gbps" → several Site-to-Site VPNs to a transit gateway with ECMP. (AWS Transit Gateway)
- "Share one Direct Connect with many accounts' VPCs" → transit VIF + DX gateway + transit gateway shared with RAM. (AWS Transit Gateway)
- "Isolate some VPCs from others" → transit gateway route tables. (AWS Transit Gateway)
- "Connect the data center to AWS quickly, encrypted, over the internet" → Site-to-Site VPN (VGW + CGW). (Site-to-Site VPN and Client VPN)
- "VPN up but no traffic" → enable route propagation; check security groups (ICMP for ping). (Site-to-Site VPN and Client VPN)
- "Customer gateway behind NAT" → use the NAT device's public IP with NAT-T. (Site-to-Site VPN and Client VPN)
- "Connect many branch offices to each other cheaply" → VPN CloudHub. (Site-to-Site VPN and Client VPN)
- "Remote employees need secure access to the VPC" → AWS Client VPN. (Site-to-Site VPN and Client VPN)
- "Dedicated, private, consistent network performance to AWS", "large data, low latency" → Direct Connect. (AWS Direct Connect)
- "Need connectivity next week" → Site-to-Site VPN (Direct Connect takes over a month). (AWS Direct Connect)
- "Encrypt traffic over Direct Connect" → VPN over Direct Connect (IPsec), or MACsec. (AWS Direct Connect)
- "Direct Connect to VPCs in several Regions" → Direct Connect gateway. (AWS Direct Connect)
- "Cheapest backup for Direct Connect" → Site-to-Site VPN. (AWS Direct Connect)
- "Maximum resiliency" → separate connections on separate devices at more than one location. (AWS Direct Connect)
- "Less than 1 Gbps, from a partner" → hosted connection. (AWS Direct Connect)
- "Can't launch instances, subnet has IPv6" → the subnet ran out of IPv4 addresses; add an IPv4 CIDR. (IPv6 in a VPC)
- "Private instances need outbound-only IPv6" → egress-only internet gateway. (IPv6 in a VPC)
- "Outbound-only IPv4" → NAT gateway. (IPv6 in a VPC)
- "Reduce data transfer cost between instances" → same AZ, private IPs. (Networking costs)
- "Reduce cost of private instances accessing S3 or DynamoDB" → gateway VPC endpoint instead of NAT gateway. (Networking costs)
- "Reduce S3 egress cost for global users" → CloudFront in front of S3. (Networking costs)
- "Reduce egress from AWS to on premises" → process data in AWS and send only results; Direct Connect. (Networking costs)
Migration & Transfer
- "Lift and shift", "least effort", "as is" → rehost (MGN). (Migration & Transfer)
- "Move to a managed database during migration" → replatform (RDS, Aurora). (Migration & Transfer)
- "Replace with SaaS" → repurchase. "Rebuild as serverless" → refactor. (Migration & Transfer)
- "Petabytes", "limited bandwidth", "would take weeks over the network" → Snowball Edge. (AWS Snowball Edge)
- "Compute in a remote location with no internet" → Snowball Edge Compute Optimized (today: Outposts). (AWS Snowball Edge)
- "Snowball into Glacier" → import into S3, then a lifecycle rule to Glacier. (AWS Snowball Edge)
- "On-premises access to S3 over NFS or SMB", "local cache" → S3 File Gateway. (AWS Storage Gateway)
- "iSCSI block storage backed by S3" → Volume Gateway; "low latency for recent data" → cached volumes; "whole dataset on premises, backed up to S3" → stored volumes. (AWS Storage Gateway)
- "Replace physical tapes, keep the backup software" → Tape Gateway. (AWS Storage Gateway)
- "No on-premises virtualization to run the gateway" → hardware appliance. (AWS Storage Gateway)
- "Partners send files over SFTP / FTPS / FTP into S3 or EFS, no servers to manage" → Transfer Family. (AWS Transfer Family)
- "Keep existing FTP clients and scripts" → Transfer Family. (AWS Transfer Family)
- "Move or sync files online from NFS/SMB to S3, EFS or FSx" → DataSync (with an agent). (AWS DataSync)
- "Copy between EFS, FSx and S3", "keep metadata and permissions" → DataSync. (AWS DataSync)
- "Scheduled transfers" → DataSync tasks. "Ongoing on-premises access to S3 files" → Storage Gateway instead. (AWS DataSync)
- "Hundreds of TB, slow link, needed in weeks" → Snowball (offline). (Transferring large amounts of data)
- "Quick setup, small amounts" → internet / Site-to-Site VPN. (Transferring large amounts of data)
- "Ongoing, consistent, high bandwidth" → Direct Connect (plus DataSync or DMS). (Transferring large amounts of data)
- "Migrate a database with minimal downtime, source stays live" → DMS (full load + CDC). (DMS and schema conversion)
- "Different engines (Oracle → Aurora, SQL Server → MySQL)" → schema conversion (SCT or DMS Schema Conversion) + DMS. (DMS and schema conversion)
- "Same engine (PostgreSQL → RDS PostgreSQL)" → DMS (or native tools) without SCT. (DMS and schema conversion)
- "Teradata or Oracle data warehouse to Redshift" → SCT + DMS. (DMS and schema conversion)
- "RDS MySQL to Aurora" → snapshot restore, or Aurora read replica then promote. (DMS and schema conversion)
- "Stream database changes to Kinesis" → DMS with Kinesis Data Streams as the target. (DMS and schema conversion)
- "Plan a migration: inventory, utilization, dependencies of on-premises servers" → Application Discovery Service (agentless for VMware inventory; agent for processes and network connections). (Application Discovery Service and MGN)
- "Lift and shift servers to EC2 with minimal downtime" → Application Migration Service (MGN). (Application Discovery Service and MGN)
- "CloudEndure Migration" or "Server Migration Service" in an old question → MGN. (Application Discovery Service and MGN)
- "Track migration progress in one place" → Migration Hub (closed to new customers). (Application Discovery Service and MGN)
Disaster Recovery & Backup
- "How much data can we afford to lose?" → RPO. "How long can we be down?" → RTO. (Disaster Recovery & Backup)
- "Lowest cost, RPO/RTO of hours is fine" → backup and restore. (Disaster recovery strategies)
- "Database must stay in sync, servers can start on failover, tens of minutes" → pilot light. (Disaster recovery strategies)
- "Scaled-down full copy always running, minutes" → warm standby. (Disaster recovery strategies)
- "Near-zero downtime, cost no object" → multi-site active/active. (Disaster recovery strategies)
- "Multi-Region DR for a relational database with RPO of about a second" → Aurora Global Database. (Disaster recovery strategies)
- "Recover on-premises servers into AWS within minutes, low RPO (seconds)" → Elastic Disaster Recovery. (AWS Elastic Disaster Recovery)
- "CloudEndure Disaster Recovery" → Elastic Disaster Recovery. (AWS Elastic Disaster Recovery)
- "Recover to a point in time before a ransomware attack" → DRS point-in-time recovery. (AWS Elastic Disaster Recovery)
- "Centralize and automate backups across services and accounts" → AWS Backup (+ Organizations backup policies). (AWS Backup)
- "Copy backups to another Region or account automatically" → AWS Backup copy rules. (AWS Backup)
- "Backups must be immutable, protected even from root / ransomware" → Backup Vault Lock (compliance mode). (AWS Backup)
- "Back up resources by tag" → tag-based backup plans. (AWS Backup)
Cost Management
- "Alert when spend goes over a threshold" → AWS Budgets. "Unexpected, unusual spend without setting thresholds" → Cost Anomaly Detection. (Cost Management)
- "Visualize and forecast costs", "Savings Plans recommendations" → Cost Explorer. (Cost Management)
- "Most detailed billing data, query with Athena" → Cost and Usage Report. (Cost Management)
- "Costs per team or project" → cost allocation tags (activated in Billing). (Cost Management)
- "One bill and shared discounts across accounts" → consolidated billing. (Cost Management)
- "Visualize costs, group by service or tag, forecast" → Cost Explorer. (Cost Explorer and Cost Anomaly Detection)
- "Recommend a Savings Plan or Reserved Instances" → Cost Explorer recommendations. (Cost Explorer and Cost Anomaly Detection)
- "Detect unusual spending automatically, no thresholds" → Cost Anomaly Detection. (Cost Explorer and Cost Anomaly Detection)
- "Alert when cost exceeds or is forecast to exceed X" → AWS Budgets. (Budgets, Cost and Usage Report and cost allocation tags)
- "Automatically stop instances or block launches when the budget is exceeded" → budget actions. (Budgets, Cost and Usage Report and cost allocation tags)
- "Track if Reserved Instances or Savings Plans are being used" → RI/SP utilization budgets. (Budgets, Cost and Usage Report and cost allocation tags)
- "Most granular billing data, hourly, per resource, query with Athena" → Cost and Usage Report. (Budgets, Cost and Usage Report and cost allocation tags)
- "Costs per department or project" → cost allocation tags (activated) or cost categories. (Budgets, Cost and Usage Report and cost allocation tags)
- "Stop development instances outside business hours automatically, lowest effort" → Instance Scheduler on AWS. (Instance Scheduler on AWS)
- "Start and stop RDS on a schedule" → Instance Scheduler (or a custom EventBridge + Lambda setup). (Instance Scheduler on AWS)
Architecture Patterns
- "Highly available web tier on EC2" → ALB + Auto Scaling group across at least two AZs. (Stateless web app: WhatIsTheTime.com)
- "Point a domain name at a load balancer" → Route 53 alias record, never an A record with IPs. (Stateless web app: WhatIsTheTime.com)
- "Instances should only accept traffic from the load balancer" → instance security group allows the ALB's security group as the source. (Stateless web app: WhatIsTheTime.com)
- "Steady minimum capacity, cheapest" → Reserved Instances or Savings Plans for the minimum, On-Demand or Spot above it. (Stateless web app: WhatIsTheTime.com)
- "Users lose their session (cart, login) when instances scale in" → store sessions in ElastiCache or DynamoDB, not on the instance. (Stateful web app: MyClothes.com)
- "Stateless web tier" → session data outside the instances (cache, database, or signed cookies). (Stateful web app: MyClothes.com)
- "Read-heavy RDS" → read replicas, or ElastiCache in front. (Stateful web app: MyClothes.com)
- "Database tier reachable only from the app tier" → database security group allows the app tier's security group. (Stateful web app: MyClothes.com)
- "Several EC2 instances must share files (uploads, content)" → EFS (Linux) or FSx for Windows File Server (Windows). (WordPress and fast launches)
- "MySQL, Multi-AZ, read scaling, less management" → Aurora MySQL. (WordPress and fast launches)
- "Instances take too long to boot because of software installs" → golden AMI; use user data only for the dynamic part. (WordPress and fast launches)
- "Database ready with data at launch" → restore from an RDS snapshot. (WordPress and fast launches)
- "Mobile app users upload to their own folder in S3" → Cognito identity pool + IAM policy with
${cognito-identity.amazonaws.com:sub}. (Serverless mobile app: MyTodoList) - "Sign-in for a mobile or web app, serverless" → Cognito user pools. (Serverless mobile app: MyTodoList)
- "Read-heavy DynamoDB, microsecond latency" → DAX. (Serverless mobile app: MyTodoList)
- "Same responses requested again and again through API Gateway" → API Gateway caching. (Serverless mobile app: MyTodoList)
- "Static website, global, secure, S3 not public" → CloudFront + S3 with OAC and a bucket policy for the distribution. (Serverless website: MyBlog.com)
- "Send an email when an item is added to DynamoDB" → DynamoDB Streams → Lambda → SES. (Serverless website: MyBlog.com)
- "Process images when they're uploaded" → S3 event notification → Lambda. (Serverless website: MyBlog.com)
- "Low-latency reads worldwide, NoSQL" → DynamoDB global tables. (Serverless website: MyBlog.com)
- "Decouple microservices, one shouldn't wait for another" → SQS, SNS, Kinesis or EventBridge between them. (Microservices and offloading downloads)
- "Microservices, pay only when used, little to manage" → API Gateway + Lambda (or Fargate). (Microservices and offloading downloads)
- "Large static downloads overload EC2, can't change the app" → CloudFront in front of the existing origin. (Microservices and offloading downloads)
- "Send the same message to several services reliably" → SNS topic with SQS subscriptions (fan-out). (Event processing)
- "Order matters and messages must not be lost when Lambda fails" → SQS FIFO + Lambda, with a DLQ. (Event processing)
- "React to object uploads" → S3 event notifications; "advanced filtering, many targets, replay" → S3 → EventBridge. (Event processing)
- "Alert when someone calls a specific API" → CloudTrail → EventBridge rule → SNS. (Event processing)
- "Expose Kinesis (or SQS, DynamoDB) to clients over HTTPS without Lambda" → API Gateway AWS service integration. (Event processing)
- "Static content, global users, reduce load on the origin" → CloudFront. (Caching strategies)
- "Same API responses requested repeatedly" → API Gateway caching (or CloudFront in front of the API). (Caching strategies)
- "Database read load, sub-millisecond reads" → ElastiCache; "DynamoDB, microseconds, no code change" → DAX. (Caching strategies)
- "Users see old data after an update" → shorter TTLs, CloudFront invalidations, or write-through caching. (Caching strategies)
- "Block a specific IP address at the subnet level" → NACL deny rule. (Blocking an IP address)
- "Security groups can deny an IP" → false: SGs only allow. (Blocking an IP address)
- "Block IPs with CloudFront in front" → WAF on CloudFront (IP set); NACLs only see CloudFront IPs. (Blocking an IP address)
- "Block a country" → CloudFront geo restriction or a WAF geo match rule. (Blocking an IP address)
- "Tightly coupled HPC, MPI, lowest latency between nodes" → EFA + cluster placement group. (High performance computing (HPC))
- "High-performance file system for HPC, data in S3" → FSx for Lustre. (High performance computing (HPC))
- "Enhanced networking, up to 100 Gbps" → ENA. (High performance computing (HPC))
- "Run batch jobs across many instances" → AWS Batch (multi-node parallel jobs). (High performance computing (HPC))
- "Deploy and manage an HPC cluster with a scheduler" → ParallelCluster (or AWS PCS for a managed Slurm). (High performance computing (HPC))
- "Single instance, must survive an AZ failure, fixed public IP" → ASG min/max/desired 1 across 2+ AZs + user data that attaches the Elastic IP (with an instance role). (Highly available EC2 instance)
- "Automatically recover an instance after a hardware failure, same IP" → EC2 automatic recovery (CloudWatch
StatusCheckFailed_System). (Highly available EC2 instance) - "Run custom actions when an ASG launches or terminates an instance" → lifecycle hooks. (Highly available EC2 instance)
- "Review an architecture against AWS best practices" → Well-Architected Tool (free). (Well-Architected Framework and Trusted Advisor)
- "Name the pillars" → operational excellence, security, reliability, performance efficiency, cost optimization, sustainability. (Well-Architected Framework and Trusted Advisor)
- "Automatically check for idle resources, open security groups and service limits" → Trusted Advisor. (Well-Architected Framework and Trusted Advisor)
- "Get notified when a service quota is close to its limit" → Trusted Advisor service limits checks or Service Quotas CloudWatch alarms. (Well-Architected Framework and Trusted Advisor)
- "Avoid configuration drift, replace instead of patching" → immutable infrastructure: new AMI + new instances. (Immutable infrastructure)
- "Automate building and patching AMIs" → EC2 Image Builder. (Immutable infrastructure)
- "Deploy with near-zero downtime and instant rollback" → blue/green (CodeDeploy, Elastic Beanstalk, Route 53 weighted). (Immutable infrastructure)
- "Test a new version on a small share of traffic first" → canary deployment. (Immutable infrastructure)
- "Find resources changed outside CloudFormation" → drift detection. (Immutable infrastructure)
Exam Prep
How to get ready for SAA-C03 and what happens on exam day - practice, answering by elimination, whitepapers and FAQs, booking, time management, scoring, results and retakes.
Certification paths
The AWS Certification levels and exams as of November 2026, the role-based paths through them, and where to go after Solutions Architect Associate.