Back to exam

CLF-C02 Cheatsheet

AWS Certified Cloud Practitioner

Download free PDF

Cloud Concepts (24%)

Cloud value and economics

  • **Cloud computing** provides on-demand technology resources with consumption-based pricing. Replace large upfront capital purchases with variable operating expenses.
  • **Economies of scale** spread infrastructure costs across many customers. **Agility** means provisioning quickly, experimenting cheaply and releasing improvements sooner.
  • **Total cost of ownership (TCO)** includes hardware, facilities, power, licenses, staffing and operations. Cloud adoption reduces data-center work but still requires cost management and skilled people.
  • **Cloud deployment** runs workloads in the cloud; **on-premises** keeps them in local facilities; **hybrid** integrates both. **IaaS**, **PaaS** and **SaaS** offer progressively more provider management.

Scaling and resilient design

  • **Scalability** is the ability to handle growth. **Vertical scaling** changes an instance size; **horizontal scaling** adds or removes instances. **Elasticity** matches capacity to changing demand.
  • **High availability** reduces downtime through redundancy and failover. **Fault tolerance** sustains operation through failures; **durability** concerns retaining data. None removes the need to plan recovery.
  • **Loose coupling** isolates components through queues, events and APIs. **Microservices** let teams deploy and scale functions independently; monoliths combine more functionality in one deployment.
  • **Design for failure**: remove single points of failure, distribute replicas, automate recovery and test restores. **RTO** is acceptable recovery time; **RPO** is acceptable data loss measured in time.

Well-Architected pillars

  • **Operational excellence**: run and improve operations, automate procedures, learn from failures, and make frequent, small, reversible changes. **Security**: strong identity, traceability and layered protection.
  • **Reliability**: perform correctly, recover automatically, scale to demand and test recovery. **Performance efficiency**: choose suitable resource types, experiment and adapt as technology changes.
  • **Cost optimization**: measure spending, attribute costs, rightsize and remove waste. **Sustainability**: maximize utilization, use efficient managed services and reduce unnecessary processing or data movement.
  • **AWS Well-Architected Tool** guides workload reviews against the pillars. It identifies improvement opportunities; a review does not automatically implement the architecture.

Cloud Adoption Framework

  • **AWS CAF** organizes transformation into six perspectives. **Business** links strategy, products, business insights and data monetization to outcomes. **People** covers leadership, cloud fluency, culture and organization design.
  • **Governance** aligns risk, benefits, portfolios, projects, data governance and cloud financial management. **Platform** covers architecture, engineering, provisioning, data engineering and CI/CD.
  • **Security** covers identity, protection, vulnerabilities, threat detection and incident response. **Operations** covers observability, configuration, patches, performance, incidents and continuity.
  • **Envision** identifies transformation opportunities and outcomes; **Align** identifies capability gaps; **Launch** demonstrates value through initial initiatives; **Scale** expands proven capabilities and benefits.

Migration planning and strategies

  • **Rehost** moves an application with minimal changes. **Replatform** makes selected optimizations. **Refactor/re-architect** redesigns for cloud capabilities, such as converting a monolith into microservices.
  • **Repurchase** replaces a product, often with SaaS. **Retain** keeps a workload where it is; **retire** removes it; **relocate** moves an environment with limited application changes.
  • **Application Discovery Service** gathers on-premises inventory, configuration and usage. **Migration Evaluator** develops a data-driven migration business case and projected costs; **Migration Hub** tracks migration progress.
  • **Application Migration Service** replicates servers for migration to AWS. **DMS** migrates database data; schema conversion tools help with engine changes. Assess compatibility and plan cutover before moving production.

Security and Compliance (30%)

Shared responsibility boundaries

  • **AWS: security of the cloud** includes facilities, hardware, physical networking and virtualization. **Customer: security in the cloud** includes data, identities, permissions and workload configuration.
  • **Amazon EC2** customers manage guest OS updates, applications, database software, backups and security-group settings. AWS maintains the underlying hosts and hypervisor.
  • **Amazon RDS** shifts host, OS and managed database maintenance to AWS. Customers retain database access controls, data protection, configuration choices and application responsibilities.
  • **DynamoDB and S3** abstract server maintenance. Customers control their data, access policies and available protection settings. **Lambda** customers own function code, dependencies and execution-role permissions.
  • **Shared controls** include patching, configuration and awareness training, with each party handling its own layer. Using an AWS-compliant service does not automatically make the customer workload compliant.

IAM identities and credentials

  • **IAM policies** define allowed actions, resources and conditions. Start with least privilege; an explicit deny overrides an allow. Permissions are denied unless an applicable policy permits access.
  • **IAM users** are account identities; **user groups** apply shared permissions to users. **IAM roles** are assumed by trusted principals and supply temporary credentials through **AWS STS**.
  • **EC2 instance profiles** deliver an attached role to an instance. Use roles for workloads and cross-account delegation instead of embedding long-lived access keys in code.
  • **Access key ID + secret access key** sign programmatic API requests; temporary credentials also include a session token. A console password, SSH key and KMS key serve different purposes.
  • **Root user** is the account-level identity with exceptional privileges. Protect it with MFA, avoid root access keys and use delegated identities for routine administration. Never share credentials.

Federation and access review

  • **IAM Identity Center** centralizes workforce access to multiple AWS accounts and assigned applications. Federate an existing identity provider to reduce separate credentials.
  • **Amazon Cognito** adds customer sign-up, sign-in and federation to web or mobile applications, including social identity providers. Workforce access and application-customer identity are separate needs.
  • **MFA** adds an authentication factor. Review unused permissions and credentials; rotate or remove long-lived keys when required, and prefer short-lived sessions.
  • **IAM credential reports** list account users and credential status, including MFA and key rotation details. **Last accessed information** helps review service usage; **IAM Access Analyzer** identifies supported external access and other permission risks.

Encryption, keys and secrets

  • **Encryption at rest** protects stored data; **TLS** protects data in transit. **KMS** manages encryption keys and integrates with services such as EBS, S3 and RDS. Key permissions and data permissions both matter.
  • **SSE-S3** uses S3-managed keys; **SSE-KMS** uses KMS keys with additional key-policy and audit controls. **Client-side encryption** encrypts content before upload.
  • **Secrets Manager** stores secrets and supports automatic rotation for supported integrations. **Systems Manager Parameter Store** stores configuration and SecureString values; rotation workflows require separate design.
  • **CloudHSM** supplies dedicated hardware security modules for greater cryptographic control. **Certificate Manager (ACM)** provisions and manages supported TLS certificates; certificates do not replace data-encryption keys.

Detection and investigation

  • **GuardDuty** detects suspicious or malicious activity in supported account and workload signals. **Inspector** identifies software vulnerabilities and unintended network exposure in supported workloads.
  • **Macie** discovers and classifies sensitive data in S3, such as personal information. It reports findings; access controls and remediation still need configuration.
  • **Security Hub** centralizes security findings and posture checks. **Detective** helps investigate relationships and activity to understand a potential security issue.
  • **CloudTrail** records supported AWS API and account events: who acted, what happened and when. **AWS Config** records resource configuration history and evaluates rules. Detection, audit history and prevention are different functions.

Network and application protection

  • **Security groups** are stateful, resource-level virtual firewalls attached to network interfaces. They have allow rules; permitted connections automatically allow response traffic.
  • **Network ACLs** are stateless subnet controls with allow and deny rules. Rules are evaluated from the lowest number to the first match; explicitly permit the required return traffic.
  • **AWS WAF** filters supported HTTP(S) requests using rules such as SQL injection, cross-site scripting, IP and geographic conditions. **Shield** addresses distributed denial-of-service attacks.
  • **Shield Standard** provides baseline DDoS protection. **Shield Advanced** adds enhanced protection and response capabilities. **Firewall Manager** centrally applies supported security policies across organization accounts.
  • **VPC Flow Logs** capture IP traffic metadata for network interfaces. They help diagnose and investigate traffic but do not block it. **Network Firewall** adds managed VPC traffic inspection.

Governance and compliance evidence

  • **AWS Artifact** provides AWS compliance reports and agreements, including relevant SOC and PCI evidence. **Audit Manager** helps collect evidence for customer audit assessments.
  • **AWS Organizations** groups accounts into organizational units and supports consolidated billing. **Service control policies (SCPs)** set permission guardrails; they do not themselves grant access.
  • **Control Tower** establishes and governs a multi-account landing zone. **Service Catalog** distributes approved products and infrastructure templates with controlled provisioning.
  • **AWS Config rules** detect configuration noncompliance and can integrate with remediation. Use tags for ownership and classification; enforce governance with suitable policies and controls.

Cloud Technology and Services (34%)

Regions, zones and the edge

  • **Region** is a geographic area containing multiple **Availability Zones**. Each AZ has one or more discrete data centers with independent infrastructure; AZs in a Region have low-latency links.
  • **Multi-AZ** deployments improve resilience to a zonal failure. **Multi-Region** designs address regional failure and global users. Choose Regions for residency, latency, service availability and cost.
  • **Edge locations** bring content delivery and selected network services near users. They are distinct from AZs. **Local Zones** place selected compute services near population centers.
  • **Outposts** brings AWS infrastructure and services on premises for local processing, residency and latency needs. **Wavelength** places supported workloads near mobile networks for low-latency applications.

Compute and application hosting

  • **EC2** provides virtual servers with control over the guest OS and instance configuration. **AMIs** package instance launch images; **EC2 Image Builder** automates image creation and testing.
  • **General purpose** balances resources; **compute optimized** favors CPU; **memory optimized** favors RAM; **storage optimized** favors local storage throughput; **accelerated computing** supplies GPUs or other accelerators.
  • **Lambda** runs event-driven code without server provisioning. Each invocation has a limited runtime; use **AWS Batch** to schedule large numbers of longer batch jobs.
  • **Elastic Beanstalk** deploys web application code and orchestrates underlying capacity, load balancing and health monitoring. **Lightsail** offers simplified, bundled application infrastructure.
  • **Auto Scaling groups** add, remove and replace EC2 instances. **Elastic Load Balancing** distributes requests across healthy targets. **CloudWatch alarms** can initiate scaling actions; load balancing alone does not add application instances.

Containers and application integration

  • **ECS** orchestrates containers; **EKS** provides managed Kubernetes. Run supported workloads on EC2 for host control or **Fargate** to avoid provisioning and managing container servers. **ECR** stores container images.
  • **App Runner** builds and deploys supported web applications from source or container images. Managed deployment reduces infrastructure work while leaving application and access decisions with the customer.
  • **SQS** queues durable messages between components. **FIFO queues** provide ordering within message groups and deduplication. Queues decouple producers from consumers and absorb demand spikes.
  • **SNS** publishes to subscribers for fan-out notifications, including supported email and SMS delivery. **SES** handles application email. **EventBridge** routes events, such as an EC2 state change, to targets.
  • **Step Functions** coordinates workflow steps and retries. **API Gateway** exposes and manages APIs; **Amazon MQ** supplies managed message brokers for supported messaging protocols.

Object, block and file storage

  • **S3** stores objects in buckets through APIs, with virtually unlimited aggregate capacity. It suits static assets, backups and data lakes; it is not a native block device or shared filesystem.
  • **EBS** provides persistent block volumes for EC2 in an AZ. **EBS snapshots** create point-in-time backups; snapshots can support restoration and copying across Regions.
  • **Instance store** is temporary host-attached storage. Its data can be lost on stop, termination or host failure; use durable storage for data that must survive.
  • **EFS** provides managed elastic NFS file storage shared by multiple clients. **FSx for Windows File Server** supplies SMB shares; **FSx for Lustre** supports high-performance parallel file workloads.
  • **S3 static website hosting** serves static content. CloudFront can deliver S3 content over HTTPS; keep bucket access restricted where possible and grant only the required access.

S3 classes and protection

  • **S3 Standard** serves frequent access. **Standard-IA** reduces storage cost for infrequent access with immediate retrieval. **One Zone-IA** stores data in one AZ and suits recreatable infrequent data.
  • **Intelligent-Tiering** moves eligible objects among access tiers as usage changes. **S3 Express One Zone** targets very low-latency access within a single AZ.
  • **Glacier Instant Retrieval** provides immediate access to infrequent archive data. **Glacier Flexible Retrieval** and **Deep Archive** trade slower restoration for lower storage cost; select by retrieval urgency and retention needs.
  • **Lifecycle rules** transition or expire objects. **Versioning** retains previous versions after overwrites and deletion markers; **Object Lock** protects object versions using WORM retention or legal holds.
  • **Bucket policies**, IAM and **Block Public Access** govern exposure. **S3 Inventory** lists object metadata; **Storage Lens** summarizes storage usage. **Transfer Acceleration** speeds eligible long-distance transfers through edge locations.

Hybrid data movement and recovery

  • **Storage Gateway** connects local applications to cloud-backed storage: **S3 File Gateway** exposes NFS/SMB access to S3; **Volume Gateway** supplies block storage; **Tape Gateway** presents a virtual tape library.
  • **DataSync** automates online transfers between supported storage locations with encryption and integrity checks. **Transfer Family** exposes managed file-transfer protocols such as SFTP.
  • **Snow family** devices support physical data transfer and selected local processing when connectivity is constrained. Device availability, capacity and ordering depend on the offering; match the transfer method to bandwidth and timing.
  • **AWS Backup** centralizes supported backup policies, schedules and retention. **Elastic Disaster Recovery** replicates supported servers for recovery; backups preserve history while replication reduces recovery delay.

Relational, NoSQL and specialist databases

  • **RDS** manages relational engines such as MySQL, PostgreSQL, MariaDB, Oracle and SQL Server. **Aurora** is compatible with MySQL or PostgreSQL; **Aurora Serverless** adjusts supported database compute with demand.
  • **RDS Multi-AZ** provides availability and failover. **Read replicas** offload supported read workloads; read scaling and high availability are separate requirements. Snapshots and automated backups provide recovery points.
  • **DynamoDB** is a managed serverless key-value and document database with scalable capacity. **ElastiCache** holds hot data in memory to reduce latency and database load.
  • **Neptune** stores highly connected graph data. **DocumentDB** supports MongoDB-compatible document workloads; **Keyspaces** supports Cassandra-compatible workloads; **Timestream** serves time-series use cases.

VPC and private connectivity

  • **VPC** is a logically isolated regional network. **Subnets** belong to one AZ; **route tables** direct traffic. CIDR notation describes address ranges used in network and firewall configuration.
  • **Internet gateway** enables eligible internet connectivity when routes, addresses and security rules allow it. A **NAT gateway** lets private IPv4 workloads initiate outbound connections without accepting unsolicited inbound internet connections.
  • **Site-to-Site VPN** provides encrypted tunnels over network connections, often the internet. **Direct Connect** supplies dedicated private connectivity with more consistent performance; encryption requires an appropriate additional mechanism.
  • **VPC peering** connects two VPCs; **Transit Gateway** acts as a routing hub for many VPCs and on-premises networks. **PrivateLink** connects privately to supported services through private endpoints.
  • **Gateway VPC endpoints** provide private routes to S3 or DynamoDB without an internet gateway or NAT device. **Interface endpoints** use private IP addresses for supported service connectivity.

DNS, traffic routing and delivery

  • **Route 53** provides DNS, domain registration and routing policies such as latency and failover routing. DNS answers direct clients; DNS does not proxy application traffic.
  • **CloudFront** is a content delivery network that caches eligible content at edge locations. It accelerates delivery from origins such as S3 or web servers.
  • **Global Accelerator** uses static anycast IP addresses and the AWS global network to route traffic to healthy regional endpoints. It improves network routing rather than caching content.
  • **Application Load Balancer** routes HTTP(S), including host and path rules. **Network Load Balancer** handles transport-layer traffic. Load balancers operate within a Region and can use multiple AZs.

Operations and infrastructure as code

  • **CloudWatch** collects metrics and logs, displays dashboards and raises alarms. EC2 CPU and disk metrics support performance monitoring; **X-Ray** traces application requests and dependencies.
  • **AWS Health Dashboard** shows public service events and personalized account impacts. **Trusted Advisor** recommends improvements across areas such as cost, security, performance, fault tolerance and quotas.
  • **Systems Manager** supports fleet operations, patching, automation and **Session Manager** remote access. **EC2 Instance Connect** supports SSH access; Linux SSH keys differ from Windows RDP credentials.
  • **CloudFormation** provisions stacks from declarative templates. **CDK** defines infrastructure in supported programming languages and synthesizes CloudFormation templates. Reuse definitions for consistent environments.
  • **CodePipeline** orchestrates delivery stages; **CodeBuild** builds and tests; **CodeDeploy** automates releases to supported targets, including EC2 and on-premises servers. **Infrastructure Composer** offers visual infrastructure authoring.

Analytics and data integration

  • **Athena** runs serverless SQL queries over data such as files in S3. **Redshift** provides data warehousing; **Redshift Serverless** removes cluster infrastructure management.
  • **Glue** discovers, catalogs, prepares and integrates data, including ETL. **EMR** runs big-data frameworks such as Spark. **Lake Formation** helps build and govern data lakes.
  • **Kinesis Data Streams** ingests real-time streams. **OpenSearch Service** supports search and log analytics; **QuickSight** supplies interactive BI dashboards and natural-language analysis capabilities.
  • **Data Exchange** distributes third-party datasets. Select storage, cataloging, querying and visualization services as separate parts of a data pipeline.

AI and end-user services

  • **SageMaker** supports building, training and deploying ML models. **Personalize** creates recommendations; **Comprehend** extracts meaning, entities and sentiment from text.
  • **Rekognition** analyzes images and video. **Textract** extracts text and structured information from documents; **Kendra** supports intelligent enterprise search.
  • **Polly** converts text to speech; **Transcribe** converts speech to text; **Lex** builds conversational interfaces. **Elemental MediaConvert** transcodes media for playback formats.
  • **WorkSpaces** provides managed virtual desktops; **AppStream 2.0** streams applications. **Amazon Connect** supports contact centers with voice and chat. **Amplify** helps build and host web or mobile applications.

Billing, Pricing, and Support (12%)

EC2 purchasing decisions

  • **On-Demand** fits short, unpredictable or intermittent workloads without a long commitment. It avoids Spot interruption risk, but applications still need resilience against ordinary failures.
  • **Spot Instances** use spare EC2 capacity at a large discount and can be interrupted. Use checkpointing, queues and retries for flexible batch jobs, simulations or interruptible development work.
  • **Reserved Instances** exchange a one- or three-year commitment for matching discounts, with all, partial or no upfront payment options. **Standard RIs** favor stable configurations; **Convertible RIs** allow eligible exchanges. Eligible Standard RIs may be sold in the RI Marketplace.
  • **Savings Plans** discount eligible usage for a one- or three-year hourly-spend commitment. **Compute Savings Plans** span eligible EC2, Fargate and Lambda usage; **EC2 Instance Savings Plans** target an instance family in a Region.
  • **Dedicated Hosts** allocate a physical server for isolation or eligible license requirements. **Dedicated Instances** provide dedicated tenancy without the same host control. A **Capacity Reservation** reserves eligible capacity; discount commitments and capacity guarantees are distinct.

Pricing and cost optimization

  • **Pay as you go** charges for consumed resources; usage discounts and commitment discounts address different patterns. Eligible EC2 billing can be per second with a minimum charge; charges depend on the OS and offering.
  • **Data transfer in** is generally free; internet egress, cross-Region traffic and some cross-AZ transfers can incur charges. Estimate transfer direction and service-specific rules alongside compute and storage.
  • **Rightsizing** changes resource type or size to match measured demand. **Compute Optimizer** recommends supported resource configurations from utilization; **Cost Explorer** also provides cost and optimization insights.
  • **Stop idle compute**, schedule nonproduction workloads, scale with demand and use storage lifecycle policies. Stopping EC2 compute does not remove charges for retained volumes and other billable resources.
  • **IAM** has no additional service charge; resources it authorizes can incur charges. **Free Tier** offers have eligibility and usage limits; monitor the applicable terms rather than assuming an entire workload is free.

Estimates, analysis and allocation

  • **Pricing Calculator** estimates an architecture before deployment. **Cost Explorer** analyzes historical spending, usage and forecasts. **Cost and Usage Reports** provide detailed billing data for custom analysis.
  • **AWS Budgets** tracks cost or usage against thresholds and sends actual or forecast alerts. A budget does not automatically cap spending; optional budget actions need explicit configuration.
  • **Cost Anomaly Detection** flags unusual spending patterns. **CloudWatch billing alarms** provide a separate estimated-charge alert mechanism; operational resource alarms serve different monitoring needs.
  • **Cost allocation tags** categorize eligible costs by project, department or environment after activation. **Cost categories** group costs using business rules; separate accounts provide additional ownership and isolation boundaries.
  • **Consolidated billing** produces one organization bill and can combine eligible usage for volume pricing and shared discounts. It does not merge accounts or automatically grant cross-account resource access.

Support and expert guidance

  • **Basic Support** includes customer service, documentation, community access and core guidance. **Paid technical support** adds engineer access and capabilities based on the selected plan and severity.
  • **Business Support+** includes round-the-clock technical access and full Trusted Advisor checks. **Enterprise Support** adds a designated **TAM**, proactive guidance and billing concierge assistance.
  • **TAMs** help coordinate technical guidance and operational planning; **billing concierge** handles account and billing matters. Event-readiness engagements assess launch risks and scaling preparation.
  • **Professional Services** delivers paid expert engagements for adoption and migration. **AWS Partners** provide specialist solutions and consulting; **Managed Services** supplies ongoing operational support.
  • **AWS Marketplace** distributes third-party software and SaaS; the **RI Marketplace** serves eligible EC2 reservations. **Architecture Center** provides design guidance; **re:Post** and **Knowledge Center** provide community and troubleshooting resources.