# Free CLF-C02 practice questions

> 10 free CLF-C02 practice questions with the correct answer and an explanation.

Page: https://devopscodelab.com/exams/aws-clf-c02/free-practice-questions/
Practice exams: https://devopscodelab.com/exams/aws-clf-c02/

### Question 1 of 10

Which pillar of the AWS Well-Architected Framework focuses on minimizing the environmental impact of running cloud workloads?

- A. Operational Excellence
- B. Sustainability
- C. Performance Efficiency
- D. Cost Optimization

**Answer:** B

**Explanation:** The Sustainability pillar addresses energy consumption and environmental impact, for example maximizing utilization and choosing efficient hardware. Performance Efficiency is about using resources efficiently to meet requirements, Cost Optimization is about avoiding unnecessary spend, and Operational Excellence covers running and monitoring systems. They can help sustainability indirectly but are not its focus.

### Question 2 of 10

Which Reliability design principle recommends replacing one large resource with multiple smaller resources to reduce the impact of a single failure?

- A. Automatically recover from failure by monitoring health metrics
- B. Use serverless architectures to remove servers entirely
- C. Scale horizontally to increase aggregate workload availability
- D. Stop guessing capacity by provisioning for the expected peak

**Answer:** C

**Explanation:** Scaling horizontally distributes requests across many smaller resources so no single failure affects the whole workload, a Reliability design principle. Automatic recovery is a separate Reliability principle about detecting and replacing failed components. Stopping guessing capacity means scaling with demand rather than provisioning for peak, and serverless architectures is a Performance Efficiency principle.

### Question 3 of 10

A company's licensing cost for a commercial database is a significant part of its cloud bill. Which approach reflects AWS guidance for optimizing licensing costs when migrating?

- A. Keep the database on premises to avoid licensing questions
- B. Run all databases on the largest EC2 instance type to reduce license counts
- C. Evaluate bring-your-own-license options and open-source or managed engines
- D. Always buy new licenses from AWS Marketplace for every server

**Answer:** C

**Explanation:** Licensing optimization includes checking whether existing licenses can be brought to AWS (BYOL) and whether open-source or managed engines such as Amazon Aurora would remove license fees. Buying new licenses for everything ignores existing entitlements. Large instances often increase per-core license costs, and staying on premises avoids the migration rather than optimizing it.

### Question 4 of 10

How does the customer's share of security responsibility change when moving from Amazon EC2 to a service such as Amazon DynamoDB?

- A. It disappears entirely, because AWS becomes responsible for the data, IAM access permissions, and encryption settings
- B. It stays the same, because the customer always manages the operating system for every AWS service
- C. It increases, because customers must patch the DynamoDB storage nodes and manage their replication
- D. It decreases: AWS manages the OS and platform, while the customer still manages data, access, and settings

**Answer:** D

**Explanation:** For more abstracted managed services, AWS takes on more tasks such as OS and platform management, while customers still control data, IAM access and settings like encryption options. Customers never patch or replicate DynamoDB nodes themselves, and they do not manage an operating system for DynamoDB. The customer's share never disappears entirely, because data and access remain theirs.

### Question 5 of 10

A company manages 40 accounts in AWS Organizations and wants to centrally apply and enforce AWS WAF rules and security group policies across all of them, including new accounts. Which service should it use?

- A. AWS Shield Standard
- B. Amazon GuardDuty
- C. AWS Network Firewall
- D. AWS Firewall Manager

**Answer:** D

**Explanation:** AWS Firewall Manager centrally configures and enforces WAF rules, Shield Advanced protections, security group policies and Network Firewall policies across accounts in an organization. Network Firewall is a VPC firewall that must be deployed per VPC. GuardDuty detects threats, and Shield Standard is automatic DDoS protection without central rule management.

### Question 6 of 10

An administrator schedules deletion of a customer managed KMS key by mistake. What protection does AWS KMS provide?

- A. The key is deleted immediately, but AWS Support can restore it within 24 hours
- B. A mandatory 7 to 30 day waiting period during which deletion can be cancelled
- C. KMS automatically creates a replacement key with the same key material
- D. Deletion is blocked until every object encrypted with the key is removed from S3

**Answer:** B

**Explanation:** KMS enforces a waiting period of 7 to 30 days before deleting a key, and the deletion can be cancelled during that time. Keys are not deleted immediately, and AWS cannot restore a key after deletion completes. KMS does not create replacement keys with the same material, and it does not check for or block on encrypted S3 objects; data encrypted under a deleted key becomes unreadable.

### Question 7 of 10

A company wants to migrate an on-premises Oracle database to Amazon Aurora PostgreSQL with minimal downtime and needs help converting the schema. Which AWS service combination is designed for this?

- A. AWS Application Migration Service to replicate the database server to EC2
- B. AWS Database Migration Service (AWS DMS) with its schema conversion feature
- C. AWS Backup to copy the database and AWS Storage Gateway to present it to Aurora
- D. AWS Snowball Edge to ship the data and AWS DataSync to keep it in sync

**Answer:** B

**Explanation:** AWS DMS migrates databases with minimal downtime through continuous replication, and DMS Schema Conversion (or the AWS Schema Conversion Tool) converts schemas between engines such as Oracle and PostgreSQL. Snowball and DataSync move files and bulk data without converting schemas, Application Migration Service rehosts servers as they are rather than changing the engine, and Backup with Storage Gateway handles backups and hybrid storage.

### Question 8 of 10

A manufacturer must run AWS services in its own factory because of low-latency requirements to on-site equipment, using the same APIs and tools as in the AWS Cloud. Which option fits?

- A. AWS Wavelength
- B. AWS Local Zones
- C. AWS Snowball Edge
- D. AWS Outposts

**Answer:** D

**Explanation:** AWS Outposts delivers AWS-managed infrastructure and services to customer premises with the same APIs and tools. Wavelength embeds AWS compute in telecom 5G networks. Local Zones are AWS-operated locations in cities, not the customer's facility, and Snowball Edge is a portable device for data transfer and limited edge compute rather than an on-premises extension of an AWS Region.

### Question 9 of 10

A team compares running PostgreSQL on Amazon EC2 with using Amazon RDS for PostgreSQL. Which statement is accurate?

- A. On RDS, AWS handles backups, patching, and hardware provisioning; on EC2 the customer does
- B. On RDS, the customer can log in to the host operating system over SSH to install monitoring agents
- C. On EC2, AWS manages database engine patching for PostgreSQL installed from an AWS-provided AMI
- D. Both options give the same division of responsibilities because each runs on EC2 hardware

**Answer:** A

**Explanation:** Amazon RDS automates administration such as backups, patching and provisioning, whereas running the database on EC2 makes the customer responsible for those tasks. AWS does not patch databases you install yourself on EC2, even from an AWS AMI. Standard RDS does not give OS-level SSH access, and the responsibilities clearly differ regardless of the underlying hardware.

### Question 10 of 10

A software vendor's license terms require that its product run on a physical server whose sockets and cores are visible to the customer. Which EC2 option satisfies this?

- A. Dedicated Instances
- B. Dedicated Hosts
- C. Compute Savings Plans
- D. Spot Instances

**Answer:** B

**Explanation:** Dedicated Hosts give you a physical server with visibility into sockets and cores, supporting bring-your-own-license scenarios. Dedicated Instances run on single-tenant hardware but without host-level visibility or control. Spot is a pricing model with interruptions, and Savings Plans are a billing discount, not a tenancy option.

Ready for a timed run? Take the free 15-question CLF-C02 mini exam: https://devopscodelab.com/app/exams/aws-clf-c02/mini/

DevOpsCode Lab is not affiliated with AWS. CLF-C02 and related names are trademarks of their owners. We write every question ourselves; these are not real exam questions.
