Free AWS Cloud Practitioner Practice Exam (CLF-C02)
A full-length AWS Cloud Practitioner practice exam for CLF-C02: 65 questions in 90 minutes on cloud concepts, security, services and billing, every answer explained, and your score by domain.
1. Choose a set
2. Choose a mode
same as the real exam
Bayside Learning must create identical test, staging and production environments, each with a VPC, EC2 instances and a database, and rebuild them on demand. Which service should it use?
AWS CloudFormation uses templates to provision and manage resources as code, so the same stack can be created repeatedly and consistently. Elastic Beanstalk deploys and manages web applications, but it is not a general tool for defining any combination of infrastructure as code.
Maple Analytics runs its application on Amazon EC2 instances. Under the shared responsibility model, which task belongs to Maple Analytics?
EC2 is infrastructure as a service, so the customer is responsible for the guest operating system, including updates and security patches, plus its applications and security group settings. The hypervisor and physical hosts are part of the infrastructure that AWS secures.
Brightleaf Bakery, a startup, wants to launch an online ordering site but cannot afford to buy servers upfront. Which AWS Cloud benefit addresses this concern most directly?
Paying only for the resources you consume, instead of buying hardware before you know how you will use it, is the trade capital expense for variable expense benefit. Economies of scale lower AWS prices over time, but they do not remove the need for an upfront purchase.
Fairview Clinic runs a database server on one specific EC2 instance type 24 hours a day and expects to keep it for three years. It cannot tolerate interruptions and wants a large discount in exchange for a commitment. Which pricing option fits BEST?
Standard Reserved Instances give a significant discount over On-Demand pricing in exchange for a one-year or three-year commitment, which suits steady, always-on workloads. Spot Instances can be cheaper but can be interrupted, which is not acceptable for a database that must run constantly.
A German health insurer must keep customer data inside Germany to meet local law. What is the FIRST thing it should decide when choosing where to deploy on AWS?
Data stored in a Region stays in that Region unless you move it, so compliance and data residency rules should drive the Region choice first, here the Europe (Frankfurt) Region. Price matters, but it cannot override a legal requirement to keep data in the country.
An auditor asks Quarry Bank for AWS's SOC 2 report and ISO certifications so it can review AWS's controls. Where can the bank download these documents on demand?
AWS Artifact is a self-service portal that provides on-demand access to AWS security and compliance reports, such as SOC and ISO reports, and to select online agreements. AWS Audit Manager helps you collect evidence about your own AWS usage, but it does not provide AWS's third-party audit reports.
A ticket sales company sees traffic jump tenfold for a few hours when concert tickets go on sale, then drop back. Which cloud characteristic lets it add capacity for the spike and release it afterward automatically?
Elasticity is the ability to acquire resources when demand rises and release them when it falls, so you pay only for what the spike needs. High availability keeps a system running through failures, but it does not by itself match capacity to demand.
Solstice Photo has customers worldwide who complain that images load slowly from its single US Region. Which service caches content at edge locations close to viewers?
Amazon CloudFront is a content delivery network that caches content at edge locations around the world, reducing latency for viewers. Global Accelerator also uses the AWS edge network, but it routes traffic to application endpoints rather than caching content.
Thistle Design just created its AWS account. Which action follows AWS best practices for the root user?
AWS recommends protecting the root user with MFA, not creating root access keys, and using it only for the few tasks that require it, while daily work is done with other identities. Root access keys give unrestricted access to the account, so creating them increases risk.
A logistics firm wants its order system to recover automatically when a component fails and to keep working if one data center goes offline. Which Well-Architected Framework pillar focuses on this goal?
The reliability pillar covers a workload's ability to perform its intended function correctly and recover from failures, for example by using multiple Availability Zones. Performance efficiency is about using resources efficiently as demand changes, not about recovery.
A visual effects studio in Los Angeles needs single-digit millisecond latency to AWS compute for artists in that city, but it does not want to run AWS hardware in its own building. Which option fits BEST?
Local Zones place AWS compute, storage and other services close to large population and industry centers, such as Los Angeles, for single-digit millisecond latency. AWS Outposts also gives low latency, but it installs AWS hardware in your own facility, which the studio wants to avoid.
Zephyr Media has 40 developers who all need the same permissions, and new developers join every month. What is the MOST efficient way to manage their permissions?
An IAM group lets you attach permissions once and grant them to every user you add, which makes onboarding and changes simple. Attaching policies to each user works but becomes hard to manage and audit as the team grows.
Quartz Studios renders animation frames in batch jobs that can stop and restart at any time without harm. It wants the lowest possible compute cost. Which option fits BEST?
Spot Instances use spare EC2 capacity at discounts of up to 90 percent compared with On-Demand prices, and they can be interrupted with a two-minute warning, which flexible batch jobs can tolerate. Reserved Instances require a long-term commitment and suit steady workloads rather than interruptible jobs.
Wildflower Prints wants to resize each image as soon as it is uploaded to S3, without managing servers and paying only when code runs. Which service fits BEST?
AWS Lambda runs code in response to events, such as an S3 upload, without provisioning servers, and you pay only for the compute time used. EC2 would require managing instances that keep running even when no images arrive.
Granite Insurance is moving to AWS, and many staff fear their roles will change. Leaders want a plan for training, culture change and new job roles. Which AWS Cloud Adoption Framework (AWS CAF) perspective covers this work?
The People perspective helps an organization with culture, workforce transformation, training and organizational change during cloud adoption. Governance focuses on managing risk, the cloud portfolio and benefits, not on staff skills and culture.
An application on an EC2 instance at Saffron Foods needs to read files from an S3 bucket. What is the MOST secure way to give it access?
An IAM role attached to an instance provides temporary credentials that AWS rotates automatically, so no long-term keys are stored on the server. Storing an IAM user's access keys on the instance works, but those long-term keys can leak and must be rotated manually.
Tern Analytics runs a large in-memory database that needs a very high ratio of RAM to vCPU. Which EC2 instance category should it choose?
Memory optimized instances, such as the R family, deliver fast performance for workloads that process large data sets in memory. Compute optimized instances favor high CPU performance relative to memory, which suits batch processing or game servers instead.
Harbor Clinic must leave its leased data center in six weeks. It plans to move its virtual machines to Amazon EC2 with no code changes and optimize later. Which migration strategy is this?
Rehost, often called lift and shift, moves applications as they are, which is the fastest way to meet a tight deadline. Replatform makes a few cloud optimizations along the way, such as switching to a managed database, which adds work.
A contractor at Velvet Events only needs to upload images to one S3 bucket. Which principle should guide the IAM policy you create?
Least privilege means granting only the permissions needed to perform a task, here uploading to one bucket. Enabling MFA makes sign-in stronger, but it does not limit what an overprivileged identity can do once signed in.
A startup runs containers on Amazon ECS and does not want to provision, patch or scale the underlying EC2 instances. Which option should it use?
AWS Fargate is a serverless compute engine for containers that works with ECS and EKS, so you do not manage servers or instance clusters. EC2 Auto Scaling adjusts the number of instances, but you still manage and patch those instances.
Moss Lane Startups wants an email alert when its forecasted AWS spend for the month is expected to go over $500. Which service should it use?
AWS Budgets lets you set custom cost or usage budgets and sends alerts when actual or forecasted amounts exceed your thresholds. Cost Explorer visualizes and forecasts spending, but alerting on a budget threshold is what AWS Budgets is built for.
A developer at Ginkgo Tea has a Java web application and wants AWS to handle capacity provisioning, load balancing and health monitoring after simply uploading the code. Which service fits?
Elastic Beanstalk lets you upload application code while it automatically handles deployment, capacity provisioning, load balancing, scaling and health monitoring. CloudFormation can build the same resources, but you must define each of them yourself in templates.
Tidewater Energy wants a managed service that continuously analyzes CloudTrail events, VPC Flow Logs and DNS logs to detect threats such as cryptocurrency mining on its instances. Which service should it enable?
Amazon GuardDuty is a threat detection service that analyzes sources such as CloudTrail events, VPC Flow Logs and DNS logs to find malicious or unexpected activity. Amazon Inspector scans workloads for software vulnerabilities, not for active threats in log data.
During a migration assessment, Pinecrest Media finds an old reporting application that nobody has used in a year. What is the MOST appropriate migration strategy for it?
Retire means decommissioning applications that are no longer useful, which removes their cost and risk instead of moving them. Retain means keeping an application in its current environment for now, which would leave the unused system running.
Orchard Credit Union must keep scanned loan files for 10 years. The files are almost never read, and a retrieval time of up to 12 hours is acceptable. Which S3 storage class is the MOST cost-effective?
S3 Glacier Deep Archive is the lowest-cost S3 storage class, designed for long-term retention of rarely accessed data, with standard retrievals completing within 12 hours. Glacier Instant Retrieval offers millisecond access at a higher storage price, which this use case does not need.
Lumen Health stores millions of documents in Amazon S3 and must find which buckets contain personal data such as names and Social Security numbers. Which service should it use?
Amazon Macie uses machine learning and pattern matching to discover and report sensitive data, such as personally identifiable information, stored in Amazon S3. GuardDuty looks for threats and suspicious activity, not for sensitive data inside objects.
A finance student asks why AWS has been able to cut its prices many times over the years. Which benefit of the cloud BEST explains this?
Because usage from hundreds of thousands of customers is aggregated in the cloud, AWS achieves higher economies of scale and passes savings on as lower pay-as-you-go prices. Elasticity helps a single customer match capacity to demand, but it does not explain falling list prices.
An EC2 instance at Redfern Clinic needs a persistent block storage volume for its operating system and database that keeps data when the instance stops. Which option provides this?
Amazon EBS provides persistent block storage volumes that attach to EC2 instances and keep data independently of the instance's life. Instance store volumes are physically attached to the host and lose their data when the instance stops or terminates.
Finance staff at Sorrel Media want to view graphs of AWS spending over the last 12 months, broken down by service, to spot trends. Which tool fits BEST?
AWS Cost Explorer provides an interface to visualize, understand and manage AWS costs and usage over time, with filters by service, account and tag. AWS Pricing Calculator estimates the cost of planned workloads, not historical spending.
An online gaming company has been hit by large DDoS attacks. It wants enhanced protection, 24/7 access to the AWS Shield Response Team and cost protection for scaling during attacks. What should it subscribe to?
AWS Shield Advanced adds enhanced DDoS detection and mitigation, access to the Shield Response Team and protection against scaling charges caused by attacks. Shield Standard is automatic and free for all customers, but it does not include the response team or cost protection.
Kestrel Games, based in Canada, is launching in Japan and Australia and wants low latency for players there without building data centers. Which benefit of AWS makes this possible?
Go global in minutes: AWS Regions worldwide let a company deploy close to its users with a few clicks, lowering latency. Lower prices from economies of scale reduce cost but do not put the application near players in Asia Pacific.
Twenty Linux web servers at Cobble Media, spread across several Availability Zones, must read and write the same set of files at the same time. Which storage service fits BEST?
Amazon EFS is a managed NFS file system that many Linux instances across multiple Availability Zones can mount at the same time. An EBS volume normally attaches to one instance in one Availability Zone, so it cannot serve twenty servers across zones.
Ember Retail's web application, delivered through CloudFront, is receiving requests that attempt SQL injection. Which service can block these requests using rules the company defines?
AWS WAF is a web application firewall that inspects HTTP and HTTPS requests and can block common attacks such as SQL injection and cross-site scripting with rules. Security groups filter traffic by protocol, port and IP address, so they cannot inspect request content.
Mill Creek Library wants its on-premises file servers to store files in Amazon S3 while keeping frequently used files cached locally for low latency. Which service fits?
AWS Storage Gateway is a hybrid cloud storage service, and its S3 File Gateway lets on-premises applications store files as S3 objects while caching recently used data locally. S3 Transfer Acceleration speeds up long-distance uploads, but it does not provide a local file share or cache.
Evergreen Foods wants to measure and reduce the environmental impact of its cloud workloads, for example by cutting idle resources and using more efficient hardware. Which Well-Architected pillar addresses this?
The sustainability pillar focuses on minimizing the environmental impact of workloads, including maximizing utilization and adopting more efficient hardware and services. Cost optimization often leads to similar actions, but its goal is avoiding unnecessary spend rather than reducing energy and carbon impact.
Cedar Payments needs to create, control and rotate the encryption keys used to encrypt its data in Amazon S3 and Amazon EBS, with every key use logged in CloudTrail. Which service should it use?
AWS Key Management Service (AWS KMS) lets you create and manage cryptographic keys, integrates with services such as S3 and EBS, and records key usage in AWS CloudTrail. Secrets Manager stores and rotates secrets like database passwords, not the keys that encrypt S3 and EBS data.
Ridgeline Holdings has five AWS accounts. It wants one monthly bill and to combine usage across the accounts so it reaches volume pricing tiers sooner. What should it use?
Consolidated billing in AWS Organizations gives one bill for all member accounts and treats their combined usage as one for volume pricing and discount sharing. Cost allocation tags help categorize costs, but they do not merge bills or combine usage for pricing tiers.
A mobile game needs a fully managed NoSQL key-value database that delivers single-digit millisecond performance at any scale. Which service should it use?
Amazon DynamoDB is a serverless NoSQL key-value and document database that delivers single-digit millisecond performance at any scale. Amazon RDS is a relational database service, which is not the NoSQL key-value model the game requires.
Lakeside University is comparing its on-premises costs with AWS in a total cost of ownership (TCO) study. Which on-premises cost should the study include along with the hardware purchase price?
A fair TCO comparison includes indirect on-premises costs such as power, cooling, real estate and the people who run the facility, not just server prices. Data transfer between Availability Zones is an AWS charge, so it does not belong on the on-premises side.
A production S3 bucket at Hillcrest Media was deleted overnight, and managers want to know which IAM user deleted it and when. Which service records this information?
AWS CloudTrail records API calls in your account, including who made each call, from where and when, so it shows who deleted the bucket. CloudWatch collects metrics and logs for monitoring performance, but it is not the record of who made API calls.
Bluestone Retail wants a MySQL-compatible relational database that performs better than standard MySQL and automatically keeps six copies of its data across three Availability Zones. Which service is this?
Amazon Aurora is a MySQL and PostgreSQL compatible relational database that stores six copies of data across three Availability Zones and offers higher throughput than standard MySQL. DynamoDB is a NoSQL database, so it is not MySQL compatible.
A small IT team at Copperline Retail spends many hours each month patching and backing up its self-managed MySQL servers. Which approach reduces this undifferentiated heavy lifting the MOST?
Amazon RDS is a managed service that automates tasks such as database patching, backups and hardware provisioning, freeing the team to work on the business. Running MySQL on EC2 still leaves the team responsible for the operating system, database patches and backups.
Glacier Bay Freight must keep a history of how its security group rules change over time and be alerted when a resource drifts from its internal configuration rules. Which service fits BEST?
AWS Config records resource configurations and their history, and Config rules evaluate whether resources match your desired settings. CloudTrail logs the API calls behind a change, but it does not keep configuration snapshots or evaluate resources against rules.
Analysts at Fieldstone Grocers want to run complex SQL queries across petabytes of historical sales data for reporting. Which service is designed for this?
Amazon Redshift is a fully managed, petabyte-scale data warehouse built for analytics queries over large data sets. Amazon RDS for MySQL is built for transactional workloads and does not scale to petabyte analytics in the same way.
A large enterprise wants a designated technical account manager (TAM) who knows its environment and provides proactive guidance. Which AWS Support plan includes a designated TAM?
Enterprise Support includes a designated technical account manager who provides proactive guidance and advocacy for the customer. Business Support offers 24/7 access to cloud support engineers, but it does not include a designated TAM.
A network engineer at Hilltop Telecom needs to block traffic from one specific IP address for an entire subnet. The rules must be stateless and support explicit deny entries. What should the engineer use?
Network ACLs act at the subnet level, are stateless and support both allow and deny rules, so they can block one IP address. Security groups work at the instance level, are stateful and support only allow rules, so they cannot explicitly deny an address.
A small company on the Basic Support plan wants a free automated check that flags risks such as S3 buckets with open access and a root user without MFA. Which service provides these checks?
AWS Trusted Advisor inspects your account and, even with Basic Support, provides core security checks such as S3 bucket permissions and MFA on the root account. Amazon Macie discovers sensitive data in S3, but it does not check account settings like root MFA.
Before moving to AWS, Northwind Labs bought servers based on a three-year traffic forecast, and half of them sat idle. Which cloud benefit directly removes this problem?
In the cloud you can scale up or down as demand changes, so you no longer buy capacity based on forecasts that may be wrong. Speed and agility is about provisioning resources quickly for experiments, which is related but does not target idle, overprovisioned hardware.
Lindenwood Apps runs its application in two Regions and wants DNS to send each user to the Region that gives the lowest latency. Which service provides this?
Amazon Route 53 is a managed DNS service with routing policies such as latency-based routing, which directs users to the Region with the lowest latency. Elastic Load Balancing distributes traffic within a Region, not across Regions through DNS.
Orion Consulting has 12 AWS accounts in AWS Organizations and wants employees to sign in once with their existing corporate identities to reach the accounts they need. Which service should it use?
IAM Identity Center provides single sign-on to multiple AWS accounts and applications, and it can connect to an existing identity provider. Amazon Cognito is designed for sign-up and sign-in to customer-facing web and mobile apps, not workforce access to AWS accounts.
A DevOps team at Bluebird Travel wants to define its infrastructure as code, make frequent small reversible changes and learn from operational failures. Which Well-Architected pillar do these design principles belong to?
Performing operations as code, making frequent small reversible changes and learning from all operational failures are design principles of the operational excellence pillar. Reliability also values automation, but its focus is recovering from failure and meeting demand, not how teams run and improve operations.
Granary Bank moves large volumes of data between its data center and AWS every day. It needs a private, dedicated connection with consistent network performance that does not use the public internet. Which service fits?
AWS Direct Connect provides a dedicated private network connection between your premises and AWS, giving more consistent performance than internet-based links. A Site-to-Site VPN is encrypted, but it travels over the public internet, so its performance can vary.
Hazel Point University wants to see its AWS costs for each department, such as Biology and Physics, in its billing reports. What should it do?
Cost allocation tags, once applied to resources and activated in the Billing console, let you group and filter costs by tag values such as department in Cost Explorer and cost reports. Using different Regions does not label costs by department and could raise latency and prices.
Under the shared responsibility model, which responsibility does AWS handle for Quillfeather Books?
AWS is responsible for security of the cloud, which includes the physical facilities, hardware and global network. Security groups, access to buckets and encryption choices are security in the cloud, which the customer controls.
Analysts at Brookline Media want to run standard SQL queries directly on log files stored in Amazon S3 without loading the data into a database or managing servers. Which service should they use?
Amazon Athena is a serverless, interactive query service that analyzes data in S3 using standard SQL, and you pay per query. Amazon Redshift is a data warehouse that typically involves loading data and running a cluster or serverless workgroup.
Cost reviews show that many of Orchid Health's EC2 instances run at under 10 percent CPU all month. Which action BEST applies cost optimization?
Rightsizing means matching instance types and sizes to actual workload needs, so underused instances move to smaller, cheaper types. Buying Reserved Instances for oversized instances only locks in a discount on capacity that is not needed.
Pebble Pay wants its website to use HTTPS and needs free public TLS certificates that renew automatically when used with its Application Load Balancer. Which service should it use?
AWS Certificate Manager provides public SSL/TLS certificates at no extra cost for use with integrated services such as Elastic Load Balancing and CloudFront, and it renews them automatically. AWS Private Certificate Authority issues private certificates for internal use and is a paid service.
Harborview Security wants to automatically detect people and objects in video from its building cameras without building its own machine learning models. Which service fits?
Amazon Rekognition is a pretrained computer vision service that identifies objects, people, text and activities in images and videos. Amazon SageMaker AI could build a custom model, but that requires the machine learning work the company wants to avoid.
Riverbend Bank wants a free, guided way to review its workloads against AWS best practices and get a list of high-risk issues to fix. Which AWS service should it use?
The AWS Well-Architected Tool walks you through questions for each pillar, compares your workload to best practices and lists high and medium risks with improvement plans, at no extra charge. Trusted Advisor runs automated checks on account resources, but it does not conduct a question-based review of a workload's architecture.
Fairhaven Bank uses GuardDuty, Inspector and Macie across several accounts. It wants one place to see all their findings and to check its accounts against security best practice standards. Which service should it use?
AWS Security Hub aggregates and prioritizes findings from services such as GuardDuty, Inspector and Macie, and it runs automated checks against best practice standards. Trusted Advisor offers its own account checks, but it is not the central place to collect findings from other security services.
When orders spike, Sunfield Market's order service overwhelms its slower payment service. The team wants orders to wait in a buffer until the payment service can process them. Which service fits?
Amazon SQS is a managed message queue that decouples components, so producers keep sending messages while consumers process them at their own pace. Amazon SNS pushes messages to subscribers immediately, so it does not hold work in a queue for later processing.
Before migrating, Bridgewater Dental wants to estimate the monthly cost of three EC2 instances, an RDS database and S3 storage on AWS. Which tool should it use?
AWS Pricing Calculator lets you model planned services and configurations to estimate monthly costs before you deploy anything. Cost Explorer analyzes costs you have already incurred, so it cannot help before any usage exists.
Summit Legal runs a self-hosted customer relationship management (CRM) application on old servers. It decides to drop it and subscribe to a software as a service (SaaS) CRM product instead. Which migration strategy is this?
Repurchase, sometimes called drop and shop, means moving to a different product, often a SaaS offering, instead of migrating the existing application. Refactor means rewriting the application itself to use cloud-native features, which is not what Summit Legal is doing.
Marlow Studios notices that an IP address hosted on AWS is sending spam and port scans to its servers. Which AWS resource should it contact to report this activity?
The AWS Trust & Safety team handles reports of AWS resources being used for abusive or illegal purposes, such as spam, port scanning and DDoS attacks. The AWS Partner Network connects customers with third-party firms and is not the channel for reporting abuse.
Operators at Wavecrest Hotels want a notification when the average CPU utilization of their EC2 instances stays above 80 percent for 10 minutes. Which feature should they use?
Amazon CloudWatch collects metrics such as EC2 CPU utilization, and CloudWatch alarms can send notifications when a metric crosses a threshold for a set period. CloudTrail records API calls and does not monitor performance metrics.
The real AWS Cloud Practitioner exam at a glance
Score 80% or more on two different sets before you book the real exam. Need a plan for your weak topics? See how No Pass, No Pay works.
AWS Cloud Practitioner exam questions, answered
Straight answers for candidates booking the AWS Certified Cloud Practitioner exam.
Exam facts checked November 2026. Prices and versions change, so confirm on aws.amazon.com before you book.
How many questions are on the AWS Cloud Practitioner exam?
CLF-C02 has 65 questions in 90 minutes: 50 scored and 15 unscored questions AWS is trying out. You cannot tell which are unscored, so answer every one. This practice exam uses the same 65 questions and 90-minute timer.
What is the passing score for CLF-C02?
You need 700 on a scale of 100 to 1000. AWS scores the exam as a whole, so you do not have to pass each domain separately.
How much does the AWS Cloud Practitioner exam cost?
The exam costs $100 in the US. Once you pass any AWS certification, you get a 50% discount voucher for your next AWS exam.
What does the CLF-C02 exam cover?
Four domains: Cloud Concepts (24%), Security and Compliance (30%), Cloud Technology and Services (34%), and Billing, Pricing and Support (12%). This practice exam scores you by domain, so you know where to focus.
How long is the AWS Cloud Practitioner certification valid?
It is valid for 3 years. You can renew it by passing the current exam again or by earning a higher-level AWS certification, such as an Associate exam.
Is this AWS Cloud Practitioner practice exam free?
Yes. Both sets, including AWS Cloud Practitioner practice exam Set 2, are free with no signup. Want live classes with hands-on labs? See our AWS Cloud Practitioner training.
More free AWS practice tests
Original practice questions written by CertOcean in the style of the AWS Cloud Practitioner exam. They are not real exam questions. AWS Cloud Practitioner and Amazon Web Services are trademarks of their owners. Real exam format: 65 questions (50 scored, 15 unscored) · 90 minutes · passing score 700 on a 100-1000 scale.