Free CLF-C02 practice questions: 20 with answers
Twenty original questions for the AWS Certified Cloud Practitioner exam (CLF-C02), spread over the four domains in proportion to the published weights: five on Cloud Concepts (24%), six on Security and Compliance (30%), seven on Cloud Technology and Services (34%) and two on Billing, Pricing, and Support (12%). They are written by this site at exam-guide level and are not taken from the real exam. The real exam also has multiple-response questions, which are written here as separate single-answer questions.
Foundational questions are short, so look for the keyword that decides the answer, such as lowest cost, managed, responsibility of the customer or without managing servers. Aim for 16 or more correct, and send misses back to the matching guide, for example security and compliance. The study plan shows how to schedule that review.
Cloud Concepts
Question 1. A company moves its existing application to AWS exactly as it is, with no code or architecture changes, to leave its data center quickly. Which migration strategy is this?
- A. Refactor
- B. Rehost
- C. Repurchase
- D. Retire
Show answer
Answer: B
Rehosting, also called lift and shift, moves an application to AWS without changing it. Refactoring redesigns the application to use cloud-native features, repurchasing replaces it with a different product such as a SaaS offering, and retiring decommissions applications that are no longer needed.
Want more questions like this? Full CLF-C02 practice tests →
Question 2. An online shop has ten times more visitors during a one-week sale. It wants capacity to grow automatically during the sale and shrink afterwards, so it pays only for what it uses. Which cloud benefit describes this?
- A. Durability
- B. Fixed capacity planning
- C. Elasticity
- D. Hardware refresh cycles
Show answer
Answer: C
Elasticity is the ability to add and remove resources as demand changes. Durability describes how well data survives failures, a fixed capacity plan is the opposite of what the shop wants, and a dedicated data center refresh is an on-premises approach with up-front purchases.
Want more questions like this? Full CLF-C02 practice tests →
Question 3. A startup does not want to buy servers up front and prefers to pay for computing as it consumes it. Which cloud economics concept does this describe?
- A. Trading fixed capital expense for variable expense
- B. Buying hardware sized for peak load
- C. Signing a three-year data center lease
- D. Building a private data center
Show answer
Answer: A
Moving from up-front capital expense to variable, pay-as-you-go operating expense is a core cloud economics benefit. Buying hardware for peak load is a capital expense, a three-year data center lease is also a fixed commitment, and building a private data center needs the large up-front investment the startup wants to avoid.
Want more questions like this? Full CLF-C02 practice tests →
Question 4. Which pillar of the AWS Well-Architected Framework is about a workload's ability to recover from failures and to keep meeting demand?
- A. Cost Optimization
- B. Performance Efficiency
- C. Operational Excellence
- D. Reliability
Show answer
Answer: D
The Reliability pillar covers recovering from failures and meeting demand. Cost Optimization is about avoiding unnecessary spend, Performance Efficiency is about using resources efficiently for the requirements, and Operational Excellence is about running and improving operations and processes.
Want more questions like this? Full CLF-C02 practice tests →
Question 5. A team must create identical test environments again and again and wants to avoid manual configuration errors. Which approach fits best?
- A. Create each environment by hand in the console
- B. Describe the environment in an AWS CloudFormation template
- C. Email a setup checklist to the team
- D. Buy a dedicated server for each test
Show answer
Answer: B
Infrastructure as code with AWS CloudFormation builds the same set of resources from a template each time, which makes environments repeatable and cuts manual errors. Clicking through the console by hand reintroduces errors, emailing a checklist is still manual, and buying a dedicated server per test does not make provisioning repeatable.
Want more questions like this? Full CLF-C02 practice tests →
Security and Compliance
Question 6. A company runs a web application on Amazon EC2 instances. Who is responsible for installing operating system patches on the guest operating system?
- A. The customer
- B. AWS
- C. A third-party auditor
- D. AWS Support
Show answer
Answer: A
For EC2, the customer manages the guest operating system, including patches, as well as applications and security group configuration. AWS manages the physical hardware and the virtualization layer, so it is not responsible for guest OS patching. A third-party auditor and the AWS Support team do not own this task either.
Want more questions like this? Full CLF-C02 practice tests →
Question 7. Which of the following is the responsibility of AWS under the shared responsibility model?
- A. Deciding which employees may access the company’s data
- B. Configuring IAM permissions for the company’s account
- C. Physical security of the data centers
- D. Classifying the company’s data
Show answer
Answer: C
AWS is responsible for security of the cloud, which includes the physical security of its data centers. The customer is responsible for security in the cloud, such as choosing who can access its data, configuring IAM permissions and deciding how its data is classified.
Want more questions like this? Full CLF-C02 practice tests →
Question 8. A company has just created a new AWS account. Which action best protects the account root user?
- A. Create access keys for the root user and give them to developers
- B. Share the root password with the whole operations team
- C. Use the root user for all daily administration
- D. Enable multi-factor authentication and avoid using the root user for everyday tasks
Show answer
Answer: D
AWS recommends securing the root user with multi-factor authentication and using it only for the few tasks that require it, creating an administrative user for everyday work. Creating access keys for the root user is discouraged, sharing the password widens exposure, and using root for daily tasks goes against the guidance.
Want more questions like this? Full CLF-C02 practice tests →
Question 9. Which AWS service automatically scans Amazon EC2 instances, container images and Lambda functions for software vulnerabilities?
- A. AWS Artifact
- B. Amazon Inspector
- C. AWS Shield
- D. AWS Budgets
Show answer
Answer: B
Amazon Inspector is the vulnerability management service that scans these workloads and reports findings. AWS Artifact provides compliance reports, AWS Shield protects against DDoS attacks and AWS Budgets tracks costs, so none of them scan workloads for vulnerabilities.
Want more questions like this? Full CLF-C02 practice tests →
Question 10. A security team wants a managed threat detection service that analyzes AWS logs and can flag signs such as compromised credentials or unusual activity. Which service should it enable?
- A. Amazon GuardDuty
- B. AWS Trusted Advisor
- C. AWS Cost Explorer
- D. AWS Config
Show answer
Answer: A
Amazon GuardDuty uses threat intelligence and machine learning on sources such as CloudTrail events, VPC flow logs and DNS logs to detect suspicious activity, including compromised credentials. Trusted Advisor gives best-practice recommendations, Cost Explorer analyzes spending and AWS Config tracks configuration changes.
Want more questions like this? Full CLF-C02 practice tests →
Question 11. A company wants baseline protection against common DDoS attacks for its AWS resources without paying extra. What should it know about AWS Shield?
- A. Shield must be purchased for every resource before it protects anything
- B. Shield only produces compliance reports
- C. Shield Standard is included automatically at no extra charge
- D. Shield only works for on-premises servers
Show answer
Answer: C
AWS Shield Standard is provided automatically at no additional charge to all AWS customers, while Shield Advanced is the paid option with higher protection. It is not true that DDoS protection must be bought separately for every resource, and Shield is not a billing or compliance report service.
Want more questions like this? Full CLF-C02 practice tests →
Cloud Technology and Services
Question 12. A developer wants to run a short piece of code whenever a file is uploaded, without provisioning or managing servers, and pay only while the code runs. Which service fits?
- A. Amazon EC2
- B. AWS Lambda
- C. Amazon RDS
- D. An EC2 Dedicated Host
Show answer
Answer: B
AWS Lambda runs code in response to events without servers to manage and charges for the time the code runs. An EC2 instance runs and bills continuously until stopped and needs managing, Amazon RDS is a managed database rather than a compute service for code, and a dedicated host is physical server capacity.
Want more questions like this? Full CLF-C02 practice tests →
Question 13. A media company wants users around the world to load its videos and images faster by serving cached copies from locations close to them. Which service should it use?
- A. Amazon EBS
- B. AWS Direct Connect
- C. Amazon RDS
- D. Amazon CloudFront
Show answer
Answer: D
Amazon CloudFront is a content delivery network that caches content at edge locations near users. Amazon EBS is block storage for a single instance, AWS Direct Connect is a dedicated network link from a data center, and Amazon RDS is a managed relational database.
Want more questions like this? Full CLF-C02 practice tests →
Question 14. An application needs a fully managed NoSQL key-value database that scales to large workloads with consistently low latency. Which service fits?
- A. Amazon DynamoDB
- B. Amazon RDS for MySQL
- C. Amazon Redshift
- D. Amazon S3
Show answer
Answer: A
Amazon DynamoDB is a managed NoSQL key-value and document database built for low-latency access at scale. Amazon RDS is a managed relational service, Amazon Redshift is a data warehouse for analytics, and Amazon S3 is object storage rather than a database.
Want more questions like this? Full CLF-C02 practice tests →
Question 15. A company wants a relational database in which AWS handles backups, patching of the database software and hardware maintenance, so the team can focus on the data model. What is the best choice?
- A. Install a database on an EC2 instance
- B. Amazon S3
- C. Amazon RDS
- D. Amazon SQS
Show answer
Answer: C
Amazon RDS is a managed relational database service where AWS runs routine administration such as backups and patching of the database engine. Installing a database on EC2 leaves that administration to the customer, while Amazon S3 and Amazon SQS are object storage and queueing services, not relational databases.
Want more questions like this? Full CLF-C02 practice tests →
Question 16. A company wants a logically isolated section of the AWS Cloud in which it defines IP address ranges, subnets and route tables. Which service provides this?
- A. Amazon Route 53
- B. Amazon VPC
- C. Amazon CloudFront
- D. AWS Backup
Show answer
Answer: B
Amazon VPC lets you define a logically isolated virtual network with your own IP ranges, subnets and routing. Route 53 resolves DNS names, CloudFront delivers content, and AWS Backup manages backup policies, so none of them define a private network.
Want more questions like this? Full CLF-C02 practice tests →
Question 17. A company wants to route users to its application by domain name and manage its DNS records on AWS. Which service should it use?
- A. Amazon SNS
- B. AWS Lambda
- C. Amazon Macie
- D. Amazon Route 53
Show answer
Answer: D
Amazon Route 53 is the AWS DNS service that translates domain names and routes users to endpoints. Amazon SNS sends notifications, AWS Lambda runs code and Amazon Macie finds sensitive data in S3, so none of them manage DNS records.
Want more questions like this? Full CLF-C02 practice tests →
Question 18. A company wants to detect objects and text in photos using a pre-trained AI service, without building or training its own machine learning model. Which service fits?
- A. Amazon Rekognition
- B. Amazon Polly
- C. Amazon Transcribe
- D. Amazon Comprehend
Show answer
Answer: A
Amazon Rekognition is a managed image and video analysis service that applies pre-trained models. Amazon Polly turns text into speech, Amazon Transcribe turns speech into text and Amazon Comprehend analyzes text, so none of them analyze image content.
Want more questions like this? Full CLF-C02 practice tests →
Billing, Pricing, and Support
Question 19. A finance team wants an automatic email alert when the account's monthly cost is forecast to exceed a set amount. Which service should it use?
- A. AWS Pricing Calculator
- B. AWS Budgets
- C. AWS Cost Explorer
- D. AWS Artifact
Show answer
Answer: B
AWS Budgets lets you set a cost budget and notify people when actual or forecasted spending exceeds a threshold. The Pricing Calculator estimates cost before you build, Cost Explorer visualizes past and forecast spend but is not an alerting threshold tool, and AWS Artifact provides compliance reports.
Want more questions like this? Full CLF-C02 practice tests →
Question 20. A company has several AWS accounts and wants a single bill, with usage combined across accounts to share volume discounts. Which feature provides this?
- A. Cost allocation tags
- B. AWS Config
- C. Consolidated billing in AWS Organizations
- D. A different payment card for each account
Show answer
Answer: C
Consolidated billing in AWS Organizations gives one bill for multiple accounts and combines usage so volume pricing discounts can be shared, at no additional cost. Cost allocation tags label resources for reporting, AWS Config tracks configuration and a separate payment method per account keeps the bills apart.
Want more questions like this? Full CLF-C02 practice tests →
After the test
Count your score per domain. Two or more misses in one area mean a fresh read of that guide: cloud concepts, security and compliance, technology and services or billing, pricing and support. The sample questions give five more in the same style, and the cheat sheet condenses the decision rules.