Free CLF-C02 practice test

20 questions for the AWS Cloud Practitioner (CLF-C02) exam, taken from our 250-question bank and spread across its 4domains by their weighting. No sign-up needed: pick an answer to check it, or open “Show answer & explanation” under any question.

What this test covers

Question 1 · Cloud Concepts

An enterprise architect is designing a mission-critical payment processing system on AWS. The system must continue processing transactions even if multiple simultaneous component failures occur, with zero perceptible impact to users. The architect proposes an architecture where every component has a fully redundant standby that instantly takes over, at significant additional cost. A colleague proposes a simpler architecture that minimizes downtime but may have brief interruptions during failures. Which concepts do these two approaches BEST represent, respectively?

Show answer & explanation

Correct answer: D

  • D. Fault tolerance and high availability

Fault tolerance is the ability of a system to continue operating without any perceptible interruption even when components fail — achieved through full redundancy at every layer, typically at higher cost, which matches the first architect's proposal. High availability is the ability to minimize downtime and remain operational the vast majority of the time, accepting brief recovery periods during failures, which matches the colleague's simpler, less costly design. Option B reverses the definitions, incorrectly labeling the colleague's simpler design as fault tolerance. Options A and C describe unrelated concepts: elasticity/scalability relate to capacity management, and disaster recovery/business continuity relate to recovering from large-scale outages, not continuous operation during component failures.

Question 2 · Cloud Concepts

A global media company is architecting a new video streaming platform on AWS. The solutions team is applying the AWS Well-Architected Framework and must address three specific concerns: (1) protecting user data from unauthorized access, (2) minimizing the environmental impact of the workload, and (3) ensuring the system adapts resource usage based on actual viewer demand. Which three pillars of the Well-Architected Framework map to these three concerns respectively?

Show answer & explanation

Correct answer: A

  • A. Security, Sustainability, Performance Efficiency

Security, Sustainability, and Performance Efficiency is correct. (1) Protecting user data from unauthorized access maps to the Security pillar, which covers confidentiality, integrity, and access control. (2) Minimizing environmental impact maps to the Sustainability pillar, which focuses on reducing the environmental footprint of cloud workloads. (3) Adapting resource usage based on demand maps to the Performance Efficiency pillar, which covers using the right resource types and sizes and scaling appropriately. Option E is incorrect: Reliability addresses failure recovery, Cost Optimization addresses spend, and Operational Excellence addresses operations processes. Option C is incorrect because Reliability addresses availability/failure recovery, not demand-based resource adaptation. Option B is incorrect because Cost Optimization is about financial efficiency, not adapting resource types based on demand (though related, Performance Efficiency is the more precise match). Option D is incorrect because Elasticity is an AWS Cloud benefit, not a Well-Architected Framework pillar.

Question 3 · Cloud Concepts

A company is performing an AWS Cloud Adoption Framework (CAF) assessment. The team identifies that their challenge is helping employees develop new cloud skills, managing organizational change, and evolving company culture to embrace cloud adoption. Which AWS CAF perspective BEST addresses these challenges?

Show answer & explanation

Correct answer: D

  • D. People perspective

The People perspective of the AWS CAF focuses on culture, organizational structure, leadership, cloud fluency, workforce transformation, and change management — all of which directly address the described challenges. The Platform perspective covers architecture, provisioning, and modern application development practices. The Governance perspective focuses on managing risk, compliance, cloud financial management, and program oversight. The Operations perspective covers event management, incident management, and ensuring business operations continue and improve.

Question 4 · Cloud Concepts

A software company is considering three different ways to consume cloud services for different parts of its business: (1) hosting its own virtual machines, (2) deploying applications on a managed platform without managing OS patches, and (3) subscribing to ready-to-use business software. Which cloud service model correctly matches ALL THREE of these scenarios in order?

Show answer & explanation

Correct answer: B

  • B. IaaS, PaaS, SaaS

Correct: IaaS (Infrastructure as a Service) provides virtual machines where the customer manages the OS and above. PaaS (Platform as a Service) provides a managed platform where the provider handles OS, runtime, and middleware. SaaS (Software as a Service) delivers fully managed, ready-to-use software applications. Wrong: A) PaaS, IaaS, SaaS reverses the first two — hosting your own VMs is IaaS, not PaaS. B) IaaS, SaaS, PaaS swaps the second and third scenarios — a managed platform is PaaS, and ready-to-use software is SaaS, not the reverse. D) SaaS, PaaS, IaaS is the complete reverse of the correct order.

Question 5 · Cloud Concepts

A company is designing an architecture on AWS. The solutions architect wants to ensure that if an entire AWS Availability Zone experiences a power failure, the application continues to serve users without interruption. What is the MINIMUM recommended approach to achieve this?

Show answer & explanation

Correct answer: B

  • B. Deploy resources across at least two Availability Zones within the same AWS Region, with load balancing between them.

Deploying resources across at least two AZs within the same Region is the standard recommendation for high availability against AZ-level failures. Each AZ has independent power, cooling, and networking, so a failure in one AZ does not affect another. Option C fails because a single-AZ deployment cannot survive an AZ-level outage. Option D is incorrect because AZs within a Region do NOT share power grids — each is physically isolated — making multi-Region unnecessarily costly for this requirement. Option A is incorrect because CloudTrail and CloudWatch are monitoring/logging services; they detect issues but do not by themselves provide redundancy or failover.

Question 6 · Security and Compliance

A company just created a new AWS account. The IT administrator wants to set up IAM following AWS security best practices from day one. Which TWO actions should the administrator take FIRST? (Select TWO)

Select 2 answers.

Show answer & explanation

Correct answers: B, D

  • B. Create an IAM user or role with administrative permissions for day-to-day management tasks instead of using the root account
  • D. Enable multi-factor authentication (MFA) on the root account user

The two highest-priority IAM best practices for a new account are: (1) enabling MFA on the root account to protect it from unauthorized access, and (2) creating a separate IAM administrative identity so the root account is not used for daily tasks. Option E is explicitly prohibited by AWS—root account access keys should never be created. Option A violates least privilege; not all users need administrative access. Option C violates individual accountability and is a severe security risk—root credentials must never be shared.

Question 7 · Security and Compliance

A company's IT administrator is setting up AWS IAM for a newly created AWS account. They want to follow AWS security best practices from the start. Which TWO actions should they take FIRST? (Select TWO)

Select 2 answers.

Show answer & explanation

Correct answers: D, E

  • D. Enable MFA on the AWS account root user
  • E. Create individual IAM users for each person who needs AWS access

Correct: 'Enable MFA on the AWS account root user' — the root user has unrestricted access to all resources, so enabling MFA immediately is a critical first step to protect it. Correct: 'Create individual IAM users for each person who needs AWS access' — creating individual IAM users allows unique credentials, individual permissions, and auditability for each person. | Wrong: 'Create IAM access keys for the root user' — AWS explicitly recommends never creating root user access keys; use IAM users or roles for programmatic access. | Wrong: 'Share the root user credentials' — credentials should never be shared; this violates the principle of least privilege and makes auditing impossible. | Wrong: 'Attach AdministratorAccess to every user' — this violates least privilege; users should receive only the permissions they need to perform their job functions.

Question 8 · Security and Compliance

A startup stores customer credit card data in an Amazon S3 bucket. A security auditor asks the team to produce evidence of AWS's compliance with PCI DSS. Which AWS service allows the team to download the official AWS PCI DSS Attestation of Compliance (AOC) report?

Show answer & explanation

Correct answer: D

  • D. AWS Artifact

AWS Artifact is the self-service portal where customers can download AWS compliance reports, including PCI DSS AOCs, SOC reports, ISO certifications, and more, as well as accept agreements like the BAA for HIPAA. — AWS Trusted Advisor (C) provides cost, performance, and security best-practice checks but does not host compliance documentation. Amazon GuardDuty (B) is a threat detection service and has no compliance report downloads. AWS Security Hub (A) aggregates security findings from multiple services but does not provide AWS's own third-party audit reports.

Question 9 · Security and Compliance

A developer is building an application on EC2 that needs to retrieve a third-party API key stored securely. The security team requires that the API key be rotated automatically every 30 days without any application code changes. Which AWS service best meets this requirement?

Show answer & explanation

Correct answer: C

  • C. AWS Secrets Manager

Correct: 'AWS Secrets Manager' is purpose-built for storing, retrieving, and automatically rotating secrets such as API keys, database credentials, and other application secrets. It supports configurable automatic rotation schedules and integrates natively with Lambda for custom rotation logic, requiring no application code changes. | Wrong: 'AWS Systems Manager Parameter Store (Standard tier)' can store secrets securely but does NOT support automatic rotation — the team would need to build custom rotation logic themselves. | Wrong: 'AWS KMS' manages cryptographic keys used for encryption/decryption; it does not store application secrets or manage rotation of API keys. | Wrong: 'AWS Certificate Manager' manages SSL/TLS certificates for AWS services and handles their renewal; it is not designed to store or rotate application API keys.

Question 10 · Security and Compliance

A company runs hundreds of EC2 instances and Lambda functions. The security team wants AWS to automatically scan these compute resources for software vulnerabilities (such as unpatched CVEs) and unintended network exposure, generating findings with severity scores and remediation guidance. Which AWS service fulfills this requirement?

Show answer & explanation

Correct answer: A

  • A. AWS Inspector

Correct: 'AWS Inspector' is an automated vulnerability management service that continuously scans EC2 instances and Lambda functions for software vulnerabilities (CVEs) and unintended network reachability. It produces prioritized findings with severity scores and recommended remediations. | Wrong: 'Amazon Macie' is focused on discovering and classifying sensitive data in Amazon S3, such as PII and financial data; it does not perform vulnerability scanning on compute resources. | Wrong: 'AWS Config' tracks resource configuration changes and evaluates them against compliance rules; it does not scan for CVEs or software vulnerabilities. | Wrong: 'Amazon GuardDuty' detects active threats and anomalous behavior by analyzing logs; it does not perform proactive vulnerability assessments of software packages.

Question 11 · Security and Compliance

A company uses AWS KMS to encrypt sensitive data at rest across multiple services. The security team wants to ensure that all encryption operations are logged, that keys cannot be used unless the requesting resource is in a specific VPC, and that key usage can be audited historically. Which THREE AWS KMS features or integrations support these requirements? (Select THREE)

Select 3 answers.

Show answer & explanation

Correct answers: B, D, E

  • B. KMS key policies with a condition that restricts key usage to requests originating from a specific VPC endpoint (aws:sourceVpce condition key)
  • D. AWS Config integration, which tracks changes to KMS key policies and resource configurations over time
  • E. AWS CloudTrail integration, which logs every KMS API call including Encrypt, Decrypt, and GenerateDataKey

Correct: 'AWS CloudTrail integration' — every KMS API call (Encrypt, Decrypt, GenerateDataKey, etc.) is automatically recorded in CloudTrail, providing a complete historical audit trail of key usage, including who used the key and when. Correct: 'KMS key policies with aws:sourceVpce condition' — key policies support IAM condition keys such as aws:sourceVpce, which restricts key usage to requests arriving through a specific VPC endpoint, enforcing the VPC boundary requirement. Correct: 'AWS Config integration' — AWS Config tracks changes to KMS key policies, key enablement/disablement, and other configuration changes, supporting auditability of the key's configuration history. | Wrong: 'Automatic key rotation' rotates the backing key material for security purposes but does not enforce VPC restrictions or serve as an audit mechanism for key usage. | Wrong: 'KMS key deletion waiting period' is a safeguard against accidental deletion; it is not an audit mechanism. | Wrong: 'Amazon Macie' classifies sensitive data in S3 and does not interact with or audit KMS key metadata.

Question 12 · Cloud Technology and Services

A company is migrating a large on-premises Oracle data warehouse (approximately 80 TB) to AWS for analytics modernization. They want to re-platform to a fully managed AWS service optimized for complex analytical queries across large datasets, and they want to minimize ongoing administrative effort. Which combination of AWS services represents the BEST migration and target architecture approach? (Select TWO)

Select 2 answers.

Show answer & explanation

Correct answers: D, E

  • D. Use AWS Snowball Edge to physically transfer the 80 TB dataset to AWS
  • E. Load the migrated data into Amazon Redshift as the target analytics database

AWS Snowball Edge is correct for the data transfer. At 80 TB, transferring data over the internet or Direct Connect would take an extremely long time and incur high data transfer costs. Snowball Edge is a physical device that AWS ships to the customer; data is loaded locally and shipped back to AWS for high-speed ingestion — the ideal approach for large-scale, one-time migrations. Amazon Redshift is correct as the target platform. It is AWS's fully managed, petabyte-scale cloud data warehouse specifically optimized for OLAP (complex analytical queries) with columnar storage and massively parallel processing (MPP) — the direct modern replacement for an on-premises Oracle data warehouse. AWS DMS is a strong tool for ongoing, incremental data replication and schema conversion but for an 80 TB initial bulk load, Snowball Edge is far more practical and efficient; DMS alone would be very slow at this scale. Amazon RDS for Oracle is a managed relational database service but is designed for OLTP workloads, not data warehousing — it would not provide the analytical query performance of Redshift and still uses an Oracle license cost. Amazon SageMaker is a machine learning platform for building and deploying ML models — it is not a data warehouse or general analytics query engine. Amazon DynamoDB is a NoSQL key-value and document database optimized for millisecond-latency OLTP workloads, not for complex multi-table analytical queries typical of a data warehouse.

Question 13 · Cloud Technology and Services

A company needs to host a MySQL-compatible database on AWS that automatically replicates data across three Availability Zones, provides up to five times the throughput of standard MySQL, and is fully managed. Which AWS service meets these requirements?

Show answer & explanation

Correct answer: A

  • A. Amazon Aurora

Amazon Aurora is the correct answer. It is MySQL- and PostgreSQL-compatible, provides up to five times the throughput of standard MySQL, and automatically replicates data six ways across three Availability Zones. Amazon RDS for MySQL is managed but does not offer the same performance multiplier or the same multi-AZ replication architecture as Aurora. Amazon DynamoDB is a NoSQL key-value and document database — it is not MySQL-compatible. Amazon Redshift is a data warehousing service optimized for analytical queries on large datasets, not an OLTP relational database.

Question 14 · Cloud Technology and Services

A company stores sensitive customer records in Amazon S3. The compliance team requires that all S3 objects be encrypted at rest and that the company manage their own encryption keys, retaining full control over key rotation and usage auditing. Which S3 encryption option satisfies this requirement?

Show answer & explanation

Correct answer: B

  • B. SSE-C (Server-Side Encryption with Customer-provided keys)

SSE-C (Server-Side Encryption with Customer-Provided Keys) is correct when the customer must manage and retain full control of the encryption keys outside of AWS. The customer provides the key with each request; AWS uses it to encrypt/decrypt and then discards it without storing it. SSE-S3 uses keys fully managed by Amazon S3 — the customer has no control over the keys, which does not satisfy the requirement. SSE-KMS uses keys managed within AWS Key Management Service; while customers can control KMS key policies and audit usage via CloudTrail, the keys are stored and managed within AWS, meaning AWS retains some level of access — this may not satisfy requirements for keys that must be entirely outside AWS control. Client-side encryption is another valid option for external key control, but the question specifies server-side encryption ('encrypted at rest' via S3's encryption mechanism), and SSE-C is the server-side option that gives customers full key control.

Question 15 · Cloud Technology and Services

A company stores user-uploaded images in Amazon S3. They want images to be immediately accessible for the first 30 days, then moved to a lower-cost storage class that still provides millisecond retrieval, and finally deleted after 365 days. Which combination of S3 features should they use?

Show answer & explanation

Correct answer: C

  • C. S3 Lifecycle policy transitioning to S3 Standard-IA after 30 days, then expiring objects at 365 days

An S3 Lifecycle policy can automatically transition objects to S3 Standard-Infrequent Access (Standard-IA) after 30 days, which maintains millisecond retrieval latency at a lower storage cost, and then expire (delete) objects at 365 days — exactly matching the requirements. | S3 Glacier Deep Archive provides the lowest storage cost but has retrieval times of 12–48 hours, which violates the millisecond access requirement after day 30. | S3 Versioning maintains multiple versions of objects for data protection but does not automate tiering or deletion by age. Transfer Acceleration speeds up uploads and is unrelated to storage cost management. | S3 Replication copies objects to another bucket but does not automate deletion or reduce costs based on age.

Question 16 · Cloud Technology and Services

A global retail company wants to improve the performance of their web application for international users. Static assets such as images, CSS, and JavaScript are stored in Amazon S3 in the us-east-1 region. Users in Europe and Asia-Pacific report slow load times. Which AWS service should the company implement to MOST effectively reduce latency for these users?

Show answer & explanation

Correct answer: A

  • A. Amazon CloudFront

Amazon CloudFront is AWS's Content Delivery Network (CDN). It caches static content (images, CSS, JS) at edge locations around the world, so international users retrieve content from a nearby edge location rather than all the way from us-east-1. This dramatically reduces latency for static asset delivery. | Wrong options: AWS Global Accelerator (D) improves availability and performance for dynamic, non-cacheable traffic by routing through the AWS global network, but it does not cache content at the edge — it is not a CDN and won't eliminate the latency of fetching static files from a single origin bucket. Route 53 with latency-based routing (B) routes DNS queries to the nearest regional endpoint, but if the S3 bucket only exists in us-east-1, all users still fetch content from that one region; it also does not cache content. Elastic Load Balancing (C) distributes traffic across multiple targets within a region; it is not designed to reduce latency for globally distributed users and does not cache content.

Question 17 · Cloud Technology and Services

A company's security team requires that all traffic between their Amazon VPC and Amazon S3 must never traverse the public internet. The company does not want to use AWS Direct Connect. Which solution meets this requirement?

Show answer & explanation

Correct answer: A

  • A. Create a VPC Gateway Endpoint for Amazon S3

A VPC Gateway Endpoint for Amazon S3 allows traffic between the VPC and S3 to flow privately over the AWS network without traversing the public internet. No internet gateway, NAT device, VPN connection, or Direct Connect connection is required. Configuring an internet gateway routes S3 traffic over the public internet, which violates the security requirement. A NAT gateway allows instances in private subnets to initiate outbound connections to the internet, including to S3 public endpoints — this still sends traffic over the public internet. An Application Load Balancer cannot be placed in front of an S3 bucket to proxy requests; ALBs route traffic to EC2 targets, IP targets, or Lambda functions, not to S3.

Question 18 · Cloud Technology and Services

A company is evaluating AWS purchasing options for their Amazon EC2 workloads. They have three workload types: (1) a production database that runs 24/7 for the next 3 years, (2) a development environment used sporadically during business hours, and (3) a nightly batch job that processes data for 4 hours and can be stopped and restarted if interrupted. Which combination of purchasing options provides the MOST cost-effective solution for all three workloads? (Select TWO)

Select 2 answers.

Show answer & explanation

Correct answers: C, D

  • C. Reserved Instances (3-year term) for the production database
  • D. Spot Instances for the nightly batch job

Reserved Instances (3-year term) for the production database offer the deepest discount (up to 72%) for a steady, predictable, always-on workload running for 3 years — this is the classic use case for Reserved Instances. Spot Instances for the nightly batch job are ideal because the job can tolerate interruptions (it can be stopped and restarted), and Spot Instances offer discounts of up to 90% off On-Demand prices for fault-tolerant, flexible workloads. On-Demand Instances for the production database would be significantly more expensive than Reserved for a 3-year continuous workload. Spot Instances for the development environment are not ideal because Spot Instances can be interrupted at any time; a development environment used during business hours benefits from predictable availability, making On-Demand more appropriate (though On-Demand for dev is not selected here, it is more suitable than Spot for interactive use). On-Demand Instances for the development environment are more appropriate than Spot for interactive dev use, but not as cost-optimal as the two correct answers in the context of this question. Reserved Instances (1-year term) for the nightly batch job would be wasteful — a 4-hour nightly job does not need a reservation commitment when Spot provides massive savings for interruptible workloads.

Question 19 · Billing, Pricing, and Support

A company wants to purchase a third-party security software solution to deploy on their AWS infrastructure. They want to procure the software through a managed channel where billing is consolidated into their AWS bill, and they can quickly deploy pre-configured software on AWS. Which THREE statements accurately describe AWS Marketplace? (Select THREE)

Select 3 answers.

Show answer & explanation

Correct answers: A, B, C

  • A. AWS Marketplace includes contract-based pricing models such as annual subscriptions and private offers for enterprise negotiations
  • B. AWS Marketplace offers pre-configured software that can be launched quickly on AWS services like EC2
  • C. Software purchased on AWS Marketplace can be billed directly through the AWS account, consolidating vendor charges into the AWS invoice

Consolidated billing (option C) is correct—AWS Marketplace charges are included in the customer's AWS bill, simplifying procurement by eliminating separate vendor invoices. Pre-configured deployments (option B) is correct—Marketplace listings often include AMIs, CloudFormation templates, and SaaS integrations that enable rapid deployment without manual installation. Contract pricing models (option A) is correct—AWS Marketplace supports multiple pricing models including annual subscriptions, pay-as-you-go, free trials, and private offers negotiated between buyers and sellers. First-party only (option E) is wrong—AWS Marketplace is specifically a platform for third-party independent software vendors (ISVs); AWS's own services are accessed through the console, not the Marketplace. No additional cost (option D) is wrong—most third-party software on Marketplace carries its own software licensing fee on top of underlying AWS infrastructure costs. Replacing Support plans (option F) is wrong—AWS Marketplace vendors may offer their own support, but this is entirely separate from AWS Support plans, which cover AWS infrastructure and services.

Question 20 · Billing, Pricing, and Support

A retail company runs a batch data processing workload every night between 2 AM and 5 AM. The workload is fault-tolerant and can be restarted if interrupted. The company wants to minimize EC2 compute costs for this job. Which purchasing option should they use?

Show answer & explanation

Correct answer: A

  • A. Spot Instances

Spot Instances are correct because they offer up to 90% discount off On-Demand pricing and are ideal for fault-tolerant, interruption-tolerant workloads like batch processing. Since the job can be restarted if interrupted, the risk of Spot interruption is acceptable. On-Demand Instances have no discount and are best for short-term, unpredictable workloads—not for cost-minimization on a repeatable batch job. Reserved Instances provide significant savings but require a 1- or 3-year commitment; since the batch job runs only 3 hours per night, committing to full reserved capacity 24/7 is wasteful. Savings Plans (Compute) also require a 1- or 3-year hourly spend commitment and would provide less savings than Spot for a workload that can tolerate interruptions.

Pick an answer on each question to check it. 20 questions in this test.

230 more CLF-C02 questions

Sign up free to start practising, or subscribe (from $4.97/mo) for the full 250-question bank, flashcards and timed mock exams.

AWS Cloud Practitioner course overview and study guides →