AWSAssociate

SAA-C03 Cheat Sheet

AWS Solutions Architect Associate — Quick reference for the exam

CLI Commands

48
TOP= might appear on the exam
EC2 — Compute10 cmds
aws ec2 run-instances --image-id ami-xxx --instance-type t3.micro --key-name MyKey --security-group-ids sg-xxx --subnet-id subnet-xxx --count 1TOP

Launch an EC2 instance

aws ec2 describe-instances --filters "Name=instance-state-name,Values=running"

List running instances

aws ec2 start-instances --instance-ids i-xxx

Start a stopped instance

aws ec2 stop-instances --instance-ids i-xxx

Stop an instance (without terminating)

aws ec2 terminate-instances --instance-ids i-xxxTOP

Terminate an instance (irreversible)

aws ec2 create-image --instance-id i-xxx --name "MyAMI" --no-rebootTOP

Create an AMI from a running instance

aws ec2 create-snapshot --volume-id vol-xxx --description "Backup"

Create a snapshot of an EBS volume

aws ec2 describe-instance-types --filters "Name=instance-type,Values=m5.*"

Filter instance types by family

aws ec2 modify-instance-attribute --instance-id i-xxx --instance-type "{"Value": "m5.large"}"

Change instance type (must be stopped)

aws ec2 request-spot-instances --spot-price "0.05" --instance-count 1 --launch-specification file://spec.json

Request Spot Instances

Comparisons

6
TypeProtocolAccessUse casesDurability
EBS (gp3/io2)Block1 EC2 instanceOS, DB, boot volume99.8–99.9%
EFSNFS (file)Multi-instance / Multi-AZShared file systems, CMS11 nines
S3 StandardHTTP/S (object)Internet / VPC endpointBackups, data lake, static web11 nines
Instance StoreBlock (local)1 instance (ephemeral)Temporary cache, buffer, scratchNone (lost on stop)
FSx for WindowsSMB / NTFSWindows workloadsAD-integrated file server99.9%

Quick Reference

43

VPC and Networking

VPC CIDRTOP

Range /16 to /28. Maximum 5 VPCs per region (soft limit). Subnets live inside the VPC.

Public subnetTOP

Has a route table with a 0.0.0.0/0 → Internet Gateway route. Instances need a public IP.

Private subnetTOP

No route to an IGW. To reach the internet it uses a NAT Gateway (in a public subnet) or a NAT Instance.

NACL vs Security GroupTOP

NACL = stateless, subnet level, numbered rules, evaluates deny/allow. SG = stateful, instance level, allow only.

NAT GatewayTOP

Managed by AWS, highly available per AZ. Lets private instances access the internet. Not free.

VPC Flow Logs

Captures IP traffic from ENIs. Destination: CloudWatch Logs or S3. Useful for troubleshooting and auditing.

Elastic IP

Static public IP assigned to your account. Free while attached to a running instance. Costs money if unused.

Placement Groups

Cluster = low latency (same rack). Spread = HA (separate instances). Partition = scale (Kafka, Cassandra).

EC2 and EBS Storage

EBS gp3TOP

General-purpose SSD. Baseline 3000 IOPS, 125 MiB/s throughput. Scales IOPS/throughput independently.

EBS io2 Block Express

High-performance SSD. Up to 256K IOPS. For critical databases, sub-millisecond latency.

Instance StoreTOP

Ephemeral storage local to the physical host. Maximum speed. Lost on stop/terminate/hardware failure.

AMITOP

Amazon Machine Image. Includes OS, configuration, EBS data. Regional — copy it to another region to use it there.

EC2 Hibernation

Saves RAM contents to EBS. Resumes quickly. Maximum 60 days. Root volume must be encrypted.

EBS Multi-Attach

io1/io2 only. Attach a single volume to multiple EC2 instances in the same AZ. Requires a cluster-aware FS.

S3 — Key Facts

S3 DurabilityTOP

99.999999999% (11 nines) for all objects across every class except One Zone-IA.

S3 StandardTOP

High availability 99.99%. Frequent access. No minimum duration.

S3 Intelligent-TieringTOP

Automatically moves objects between tiers. No retrieval fee. Ideal for unpredictable access.

S3 Glacier InstantTOP

Millisecond retrieval. Min 90 days. For archival data accessed quarterly.

S3 Glacier Deep ArchiveTOP

Cheapest option. Retrieval 12h standard, 48h bulk. Min 180 days. For legal archives.

S3 Transfer Acceleration

Uses CloudFront edge locations for fast uploads from distant geographies.

Multipart Upload

Mandatory for objects >5 GB. Recommended >100 MB. Allows retrying failed parts.

S3 Object LockTOP

WORM — Write Once Read Many. Governance mode (admin can delete) or Compliance mode (no one can).

IAM — Policies and Permissions

IAM policy typesTOP

Identity-based (attached to user/role/group). Resource-based (attached to the resource, S3, KMS). Permission boundaries.

Permission BoundaryTOP

Maximum permission limit for a user/role. Even with an allow policy, the boundary can restrict it.

Trust PolicyTOP

Defines WHO can assume the role (Principal). E.g.: EC2 service, another account, federated user.

Permission evaluationTOP

Explicit DENY always wins. Then: Permission Boundaries → SCP → Resource-based → Identity-based.

Least Privilege

Grant only the permissions needed. Never use AdministratorAccess in production. Review regularly with Access Analyzer.

Roles vs Access KeysTOP

Roles for EC2/Lambda/ECS — no hard-coded credentials. Access Keys only for human users or CI/CD pipelines.

Service Control Policies

Applied in AWS Organizations at the OU or account level. Restrict the maximum permissions of every user in that OU.

High Availability and Resilience

RDS Multi-AZTOP

Synchronous replication to a standby in another AZ. Automatic failover in <2 min. NOT for reading — HA only.

RDS Read ReplicaTOP

Asynchronous replica for reads. Can be in another region. NOT for automatic HA.

Aurora Multi-AZ

6 copies of data across 3 AZs automatically. Failover <30s. Up to 15 Read Replicas. Storage auto-scales up to 128 TB.

ASG Health Checks

EC2 (instance status checks) or ELB (load balancer health checks). ELB is more granular for apps.

ASG Lifecycle HooksTOP

Pauses the lifecycle (launch or termination) to run actions: install software, drain sessions.

Route 53 Failover

Primary/Secondary. Route 53 health checks determine when to redirect to the secondary. Requires an endpoint health check.

Elastic Load Balancing

Distributes traffic across AZs automatically. Cross-zone load balancing is on by default in ALB.

Cost Optimization

Spot InstancesTOP

Up to 90% discount. Can be interrupted with a 2-minute warning. Ideal for batch, CI/CD, stateless.

Reserved Instances (RI)TOP

1 or 3 years. Up to 72% discount. Standard RI = specific instance. Convertible RI = can change type.

Savings PlansTOP

$/hour commitment for 1-3 years. Compute SP applies to EC2, Lambda, Fargate. More flexible than RI.

S3 Lifecycle

Automatic transitions between storage classes and object expiration. Reduces storage cost.

Cost Explorer

Visualizes and analyzes historical costs and forecasts. Identifies trends. Exports to CSV.

AWS Budgets

Alerts when projected/actual cost exceeds thresholds. Can trigger actions (disable services).

Trusted Advisor

5 categories: Cost, Performance, Security, Fault Tolerance, Service Limits. Business/Enterprise tier for all checks.

Ready to practice?

Put what you learned to the test with original SAA-C03 exam questions.

Start SAA-C03 mock exam

Unlimited mock exams with the Pro plan

Back to top