Free AWS Cloud Practitioner sample questions (CLF-C02)

Try these CLF-C02 questions, then open each answer to see why it’s right and why every other option is wrong. They cover all 4 exam domains in roughly the same proportions as the real exam.

Original questions written from the official CLF-C02 exam guide and AWS documentation. Not real exam questions or dumps. Last reviewed Dec 3, 2026.

Cloud Technology and ServicesQuestion 1

Which statement correctly describes AWS Availability Zones?

Choose one.

  1. AThey are isolated locations within an AWS Region
  2. BThey are separate AWS accounts within an organization
  3. CThey are global DNS servers
  4. DThey are content caching sites at the network edge
Show answer

Answer: A

An Availability Zone is one or more discrete data centers with redundant power and networking, isolated from other Availability Zones within the same AWS Region.

The correct answer is They are isolated locations within an AWS Region. Each AWS Region contains multiple Availability Zones, and each Availability Zone consists of one or more discrete data centers with redundant power, networking, and connectivity. They are physically separated to reduce the chance of correlated failures but connected with low-latency links, allowing highly available, multi-AZ architectures. Availability Zones are not AWS accounts, which are billing and security boundaries. They are not global DNS servers, a role associated with Amazon Route 53. Content caching sites at the network edge describe edge locations used by Amazon CloudFront.

Cloud Technology and ServicesQuestion 2

Which Amazon EC2 instance family is best suited to workloads that require high CPU performance?

Choose one.

  1. ACompute optimized
  2. BMemory optimized
  3. CStorage optimized
  4. DAccelerated computing
Show answer

Answer: A

Compute optimized instances, such as the C family, offer a high ratio of CPU to memory for compute-bound workloads.

The correct answer is Compute optimized. Compute optimized instances, such as the C instance family, provide high-performance processors and are ideal for compute-bound applications like batch processing, high-performance web servers, scientific modeling, and gaming servers. Memory optimized instances, such as the R and X families, are designed for workloads that process large datasets in memory, such as in-memory databases. Storage optimized instances, such as the I family, provide high sequential read and write access to large local datasets. Accelerated computing instances use hardware accelerators such as GPUs for workloads like machine learning and graphics rather than general CPU-intensive processing.

Cloud Technology and ServicesQuestion 3

An administrator wants to connect to Amazon EC2 instances for maintenance without opening inbound SSH ports or managing SSH keys and bastion hosts. Which AWS Systems Manager capability supports this?

Choose one.

  1. ASession Manager
  2. BParameter Store
  3. CPatch Manager
  4. DAutomation
Show answer

Answer: A

Systems Manager Session Manager provides secure, auditable shell access to managed instances without open inbound ports, SSH keys, or bastion hosts.

The correct answer is Session Manager. Session Manager lets administrators open an interactive shell on managed instances from the console or AWS CLI through the SSM Agent, which makes outbound connections to the Systems Manager service. Because no inbound ports are required, security groups can stay closed, and there are no SSH keys or bastion hosts to manage. Access is controlled with IAM, and sessions can be logged to Amazon S3 or CloudWatch Logs for auditing. Parameter Store stores configuration data and secrets. Patch Manager automates operating system patching. Automation runs predefined runbooks for common operational tasks. None of these provides interactive shell access.

Cloud Technology and ServicesQuestion 4

A company needs very low latency for an application used mainly by customers in a large metropolitan area that does not have a nearby AWS Region. Which AWS infrastructure offering places compute and storage closer to that population center?

Choose one.

  1. AAWS Local Zones
  2. BAWS Direct Connect
  3. CAmazon CloudFront edge locations
  4. DAWS Snowball Edge
Show answer

Answer: A

AWS Local Zones extend a parent Region by placing compute, storage and other services close to large population and industry centers for latency-sensitive applications.

The correct answer is AWS Local Zones. A Local Zone is an extension of an AWS Region located in a large metropolitan area. It runs services such as Amazon EC2, Amazon EBS and Amazon VPC subnets, so latency-sensitive applications can achieve single-digit millisecond latency for nearby users. AWS Direct Connect provides private network connections from on-premises sites to AWS, not compute capacity near end users. Amazon CloudFront edge locations cache content close to users but do not host general-purpose EC2 instances and block storage. AWS Snowball Edge is a rugged device used for data transfer and edge processing in disconnected locations, not for serving a city's users.

Cloud Technology and ServicesQuestion 5

A company uses Amazon EC2, Amazon RDS, and Amazon EFS and wants to centrally schedule, manage, and monitor backups across all of these resources from a single service instead of configuring backups separately for each. Which AWS service meets this need?

Choose one.

  1. AAWS Backup
  2. BAWS Storage Gateway
  3. CAmazon S3 Glacier
  4. DAWS DataSync
Show answer

Answer: A

AWS Backup provides centralized, policy-based backup management across supported AWS services such as Amazon EC2, Amazon RDS and Amazon EFS.

The correct answer is AWS Backup. AWS Backup lets you define backup plans with schedules, retention rules and lifecycle policies, then assign resources from many services, including Amazon EC2, Amazon EBS, Amazon RDS, Amazon EFS and Amazon DynamoDB, from a single console. It also provides centralized monitoring, cross-Region and cross-account copies, and AWS Organizations integration. AWS Storage Gateway connects on-premises applications to AWS storage. Amazon S3 Glacier storage classes are low-cost archival storage, not a backup orchestration service. AWS DataSync moves and synchronizes data between storage systems, but it does not schedule or manage backups across AWS services.

Cloud Technology and ServicesQuestion 6

A global gaming company wants to improve availability and reduce latency for players connecting to its UDP-based game servers by routing traffic over the AWS global network instead of the public internet, without re-architecting the application. Which service should it use?

Choose one.

  1. AAWS Global Accelerator
  2. BAmazon CloudFront
  3. CAWS Direct Connect
  4. DAmazon Route 53
Show answer

Answer: A

AWS Global Accelerator provides static anycast IP addresses that route TCP and UDP traffic over the AWS global network to the optimal healthy application endpoint.

The correct answer is AWS Global Accelerator. Global Accelerator gives an application two static anycast IP addresses. Users enter the AWS global network at the nearest edge location, and traffic is then carried to the closest healthy endpoint, such as a Network Load Balancer or EC2 instance, with fast regional failover. It supports TCP and UDP, which suits real-time game traffic. Amazon CloudFront also uses edge locations, but it is a content delivery network designed for HTTP and HTTPS content and caching, not UDP game traffic. AWS Direct Connect links on-premises networks to AWS and does not serve end users. Amazon Route 53 is DNS and cannot carry traffic over the AWS backbone.

Cloud Technology and ServicesQuestion 7

A team needs to coordinate a sequence of AWS Lambda functions with retries, error handling, and parallel steps for an order-processing workflow. Which AWS service is purpose-built for orchestrating this kind of workflow?

Choose one.

  1. AAWS Step Functions
  2. BAmazon SQS
  3. CAmazon EventBridge
  4. DAWS CodePipeline
Show answer

Answer: A

AWS Step Functions orchestrates AWS services such as Lambda functions into state machine workflows with built-in retries, error handling, branching and parallel execution.

The correct answer is AWS Step Functions. Step Functions lets you define workflows as state machines using Amazon States Language and a visual designer. Each step can invoke a Lambda function or another AWS service, and the service provides built-in retry policies, catch blocks for error handling, Parallel and Map states, and a visual execution history for troubleshooting. Amazon SQS is a message queue that decouples components but does not define workflow logic. Amazon EventBridge routes events between services based on rules; it is event-driven choreography rather than orchestration of ordered steps. AWS CodePipeline orchestrates software release pipelines, not business workflows such as order processing.

Security and ComplianceQuestion 8

When a company uses AWS Lambda to run its application code, which responsibility belongs to AWS rather than the customer?

Choose one.

  1. AWriting the function code and business logic
  2. BPatching the underlying servers and operating system
  3. CGranting IAM permissions to the function
  4. DSetting environment variables for the function
Show answer

Answer: B

For serverless services such as AWS Lambda, AWS manages and patches the underlying servers, operating system and runtime infrastructure, and the customer manages code, configuration and permissions.

The correct answer is Patching the underlying servers and operating system. AWS Lambda is a serverless, abstracted service, so AWS operates the compute fleet, the operating system and the managed runtimes, including applying security patches. This shifts more responsibility to AWS than infrastructure services such as Amazon EC2. The customer remains responsible for security in the cloud, which for Lambda includes writing secure function code and business logic, granting least-privilege IAM permissions through the execution role, and managing configuration such as environment variables and the protection of any secrets they contain. All three of those distractors are therefore customer responsibilities.

Security and ComplianceQuestion 9

A financial services company must store certain records so that they cannot be deleted or overwritten for a fixed retention period to meet regulatory requirements. Which Amazon S3 feature directly supports this requirement?

Choose one.

  1. AS3 Object Lock
  2. BS3 Transfer Acceleration
  3. CS3 Cross-Region Replication
  4. DS3 Intelligent-Tiering
Show answer

Answer: A

S3 Object Lock provides write-once-read-many (WORM) protection that prevents objects from being deleted or overwritten for a specified retention period or under a legal hold.

The correct answer is S3 Object Lock. Object Lock stores objects using a write-once-read-many (WORM) model. In compliance mode, no user, including the root user, can delete or overwrite a protected object version until its retention period expires, which helps meet regulations such as SEC Rule 17a-4. Governance mode and legal holds offer additional flexibility. S3 Transfer Acceleration speeds up uploads over long distances by using CloudFront edge locations. S3 Cross-Region Replication copies objects to a bucket in another Region for resilience or latency, but it does not prevent deletion. S3 Intelligent-Tiering automatically moves objects between access tiers to optimize cost and offers no immutability.

Security and ComplianceQuestion 10

An organization with dozens of AWS accounts wants to deploy the same set of compliance rules, such as requiring encryption on all S3 buckets, together with remediation actions across every account. Which AWS Config capability is designed for this?

Choose one.

  1. AConfiguration recorder
  2. BConformance packs
  3. CConfiguration aggregators
  4. DAdvanced queries
Show answer

Answer: B

AWS Config conformance packs bundle Config rules and remediation actions into a single unit that can be deployed consistently across accounts and Regions, including across an organization.

The correct answer is Conformance packs. A conformance pack is a collection of AWS Config rules and remediation actions defined in a template and deployed as one entity. Organization conformance packs can be deployed to every member account in AWS Organizations, which gives consistent compliance evaluation everywhere. The configuration recorder only captures resource configuration changes in a single account and Region; it does not define rules. Configuration aggregators collect configuration and compliance data from many accounts into one view, but they do not deploy rules to those accounts. Advanced queries let you search current resource configurations with SQL-like syntax and do not deploy or evaluate rules.

Security and ComplianceQuestion 11

An organization wants to set a maximum permissions guardrail so that no IAM user or role in any member account, including one with an administrator policy, can disable AWS CloudTrail logging. Which AWS Organizations feature supports this?

Choose one.

  1. AConsolidated billing
  2. BService control policies (SCPs)
  3. CCost allocation tags
  4. DCross-account IAM roles
Show answer

Answer: B

Service control policies define the maximum available permissions for member accounts in an organization, and they apply regardless of the permissions granted by IAM policies inside those accounts.

The correct answer is Service control policies (SCPs). SCPs are organization policies attached to the root, organizational units or individual accounts. They do not grant permissions; instead they set the maximum permissions available to IAM users and roles in member accounts. An SCP that denies cloudtrail:StopLogging and cloudtrail:DeleteTrail blocks those actions even for an administrator in a member account. SCPs do not affect the management account. Consolidated billing merges charges from all accounts into one bill. Cost allocation tags help categorize and report costs. Cross-account IAM roles grant access between accounts, which is the opposite of restricting maximum permissions.

Security and ComplianceQuestion 12

An administrator wants to ensure that a developer's IAM role can never exceed a defined set of permissions, even if the identity-based policy attached to the role is later broadened. Which IAM feature enforces this upper limit?

Choose one.

  1. APermissions boundary
  2. BIdentity federation
  3. CAccess key rotation
  4. DRole trust policy
Show answer

Answer: A

A permissions boundary is a managed policy that sets the maximum permissions an identity-based policy can grant to an IAM user or role.

The correct answer is Permissions boundary. A permissions boundary is an advanced IAM feature in which a managed policy is attached to a user or role as a ceiling. The effective permissions are the intersection of the identity-based policy and the boundary, so broadening the identity-based policy cannot grant anything outside the boundary. This is commonly used to safely delegate IAM administration to developers. Identity federation lets users from an external identity provider access AWS without IAM users. Access key rotation is a credential hygiene practice and does not limit permissions. A role trust policy controls who can assume a role, not which actions the role can perform.

Security and ComplianceQuestion 13

An organization uses AWS Organizations and manages AWS WAF rules and AWS Shield Advanced protections separately in each of its 20 AWS accounts. It wants to apply consistent rules across all accounts from one place. Which AWS service centralizes this management?

Choose one.

  1. AAWS Firewall Manager
  2. BAmazon Inspector
  3. CAWS Secrets Manager
  4. DAWS Config
Show answer

Answer: A

AWS Firewall Manager centrally configures and manages firewall rules, such as AWS WAF rules and Shield Advanced protections, across the accounts in an organization.

The correct answer is AWS Firewall Manager. Firewall Manager is a security management service that uses AWS Organizations to apply AWS WAF rules, AWS Shield Advanced protections, security group policies, AWS Network Firewall and Route 53 Resolver DNS Firewall rules consistently across accounts. It also automatically applies protections to new accounts and resources as they are added. Amazon Inspector scans workloads such as EC2 instances and container images for software vulnerabilities. AWS Secrets Manager stores and rotates secrets such as database credentials. AWS Config records resource configurations and evaluates compliance, but it does not centrally deploy firewall rules.

Cloud ConceptsQuestion 14

Which AWS Well-Architected pillar focuses on recovering workloads from failures and meeting demand reliably?

Choose one.

  1. ACost Optimization
  2. BReliability
  3. CSustainability
  4. DOperational Excellence
Show answer

Answer: B

The Reliability pillar focuses on a workload performing its intended function correctly and consistently, including recovering from failures and meeting demand.

The correct answer is Reliability. The Reliability pillar of the AWS Well-Architected Framework covers the ability of a workload to perform its intended function correctly and consistently, including automatically recovering from failure, testing recovery procedures, scaling horizontally, and managing change. Cost Optimization focuses on avoiding unnecessary costs and getting the most value for money. Sustainability focuses on minimizing the environmental impact of cloud workloads. Operational Excellence focuses on running and monitoring systems and continuously improving processes and procedures. Although each pillar touches on resilience in some way, recovery from failures and meeting demand reliably is the core concern of Reliability.

Cloud ConceptsQuestion 15

A team wants to improve its architecture by reviewing operational procedures, monitoring, and continuous improvement. Which AWS Well-Architected Framework pillar is most relevant?

Choose one.

  1. AOperational Excellence
  2. BPerformance Efficiency
  3. CSecurity
  4. DCost Optimization
Show answer

Answer: A

The Operational Excellence pillar focuses on running and monitoring systems to deliver business value and continually improving processes and procedures.

The correct answer is Operational Excellence. This pillar of the AWS Well-Architected Framework covers how an organization supports development and runs workloads effectively, gains insight into their operation through monitoring, and continuously improves supporting processes and procedures. Practices include performing operations as code, making frequent small reversible changes, and learning from operational events. Performance Efficiency focuses on using computing resources efficiently as demand changes. Security focuses on protecting data, systems, and assets. Cost Optimization focuses on avoiding unnecessary spending. Only Operational Excellence centers on operational procedures, monitoring, and continuous improvement.

Cloud ConceptsQuestion 16

A company changes an on-premises application's architecture from a monolith to microservices as part of migrating it to AWS so it can use cloud-native capabilities. Which migration strategy from the AWS 7 Rs does this describe?

Choose one.

  1. ARehost
  2. BReplatform
  3. CRefactor
  4. DRetire
Show answer

Answer: C

Refactoring, also called re-architecting, changes an application's architecture to take advantage of cloud-native features, which goes beyond the limited changes made in replatforming.

The correct answer is Refactor. Refactoring, or re-architecting, reimagines how an application is built, for example by breaking a monolith into microservices or adopting serverless services, so it can use cloud-native capabilities. It usually requires the most effort but delivers the most agility and scalability. Rehost, known as lift and shift, moves an application to AWS without changing it. Replatform, sometimes called lift, tinker and shift, makes a few cloud optimizations, such as moving to a managed database, without changing the core architecture. Retire means decommissioning an application that is no longer needed. AWS now describes seven migration strategies, adding Relocate to the original six.

Cloud ConceptsQuestion 17

A student wants to experiment with core AWS services, such as a small Amazon EC2 instance and Amazon S3 storage, without incurring charges at limited usage levels. Which AWS offering supports this?

Choose one.

  1. AAWS Free Tier
  2. BSavings Plans
  3. CAWS Budgets
  4. DConsolidated billing
Show answer

Answer: A

The AWS Free Tier lets customers use many AWS services at no charge within defined limits, through always-free offers and introductory benefits for new accounts.

The correct answer is AWS Free Tier. The AWS Free Tier lets customers try AWS services at no cost within specific usage limits. It includes always-free offers on services such as AWS Lambda and Amazon DynamoDB, along with introductory benefits for new accounts, which since mid-2025 are provided as Free Tier credits that can be applied to services such as Amazon EC2 and Amazon S3. Savings Plans reduce compute costs in exchange for a one- or three-year usage commitment, so they lower prices rather than make usage free. AWS Budgets tracks spending and sends alerts when thresholds are reached, but it does not provide free usage. Consolidated billing combines charges from multiple accounts in AWS Organizations into a single bill.

Cloud ConceptsQuestion 18

A company moves its email and file servers to managed AWS services so its IT staff can focus on building customer-facing features instead of maintaining hardware. Which cloud economics concept does this illustrate?

Choose one.

  1. AReducing undifferentiated heavy lifting
  2. BIncreasing fixed capital expenditure
  3. CPaying in advance for peak capacity
  4. DRelying only on vertical scaling
Show answer

Answer: A

Managed AWS services take over routine infrastructure work, so staff can spend time on activities that differentiate the business instead of on undifferentiated heavy lifting.

The correct answer is Reducing undifferentiated heavy lifting. Undifferentiated heavy lifting is the work of racking, patching, maintaining and operating infrastructure, which every company must do but which does not set the business apart. When managed AWS services handle these tasks, IT staff time is redirected to customer-facing features, which is an important part of the business value of the cloud beyond direct cost savings. Increasing fixed capital expenditure is the opposite of the cloud model, which replaces up-front investment with variable expense. Paying in advance for peak capacity describes the traditional on-premises approach that the cloud helps avoid. Relying only on vertical scaling is a technical scaling choice, not an economics benefit.

Billing, Pricing, and SupportQuestion 19

A company transfers a large dataset from its on-premises servers into an Amazon S3 bucket, then later serves that data to users who download it over the internet. Which statement about the data transfer costs is generally accurate?

Choose one.

  1. AData transfer in is generally free, and data transfer out to the internet is charged per GB
  2. BData transfer in and data transfer out to the internet are both always free of charge
  3. CData transfer in and data transfer out are always charged at the same per-GB rate
  4. DData transfer in is charged per GB, and data transfer out to the internet is free
Show answer

Answer: A

AWS generally does not charge for data transferred into AWS from the internet, but data transferred out to the internet is charged per GB beyond a monthly free allowance.

The correct answer is Data transfer in is generally free, and data transfer out to the internet is charged per GB. AWS does not charge for inbound data transfer from the internet into services such as Amazon S3, which makes it inexpensive to move data into AWS. Outbound data transfer to the internet is billed per GB using tiered pricing, although AWS includes a monthly free allowance of 100 GB of data transfer out to the internet. Using Amazon CloudFront can further reduce the cost of serving content. The statement that both directions are always free is wrong because outbound transfer is billed. Equal per-GB rates in both directions is wrong because inbound is free. The final option reverses the actual pricing model.

Billing, Pricing, and SupportQuestion 20

A developer wants to search community-contributed questions and answers, along with content curated by AWS experts, to troubleshoot a service issue without opening a formal support case. Which AWS resource is designed for this?

Choose one.

  1. AAWS re:Post
  2. BAWS Trusted Advisor
  3. CAWS Health Dashboard
  4. DAWS Artifact
Show answer

Answer: A

AWS re:Post is a community-driven question-and-answer service where AWS customers, partners and AWS experts share knowledge to help solve technical issues.

The correct answer is AWS re:Post. AWS re:Post replaced the AWS Forums and provides a community question-and-answer experience in which answers can come from other customers, AWS Partners and AWS employees. It also includes the re:Post Knowledge Center with articles and videos curated by AWS experts, and it is free to use without a support plan. AWS Trusted Advisor inspects an account and recommends improvements for cost, security, performance and fault tolerance. AWS Health Dashboard reports AWS service events and scheduled changes that affect your resources. AWS Artifact provides on-demand access to AWS compliance reports and agreements. None of these is a community knowledge forum.

Ready for more?

Practice the full CLF-C02 question set one at a time, weighted like the real exam, with every answer explained.