SaveMyCert
Log in
5 of 5 free questions left today·for 30 a day
CLF-C02 practice

CLF-C02 sample questions — 25 answered and explained

25 CLF-C02 sample questions written to the official AWS Certified Cloud Practitioner exam guide, grouped by exam domain and weighted like the real exam. Each shows the correct answer, why every other option is wrong, and the lesson that teaches it. None of them repeat the examples on the other CLF-C02 practice pages.

On this page
25
answers included
Full bank
581
on the practice page
Domains
4
weighted like the exam
Free, no account
5/day
a free account allows 30 a day

Domain 1: Cloud Concepts

24% of the CLF-C02 exam, so 6 of the 25 questions on this page.

Question 1Cloud Concepts

A media company based in Canada signs a contract to serve customers in South America and must have infrastructure running there within one week. On AWS, the team deploys its existing application to a South American Region in a single afternoon. Which benefit of the AWS Cloud does this describe?

Choose one.

  • a
    Elasticity

    Elasticity is about resources growing and shrinking automatically with demand; the scenario is about launching in a new geography quickly.

  • b
    Massive economies of scale

    Economies of scale explains low unit prices from aggregated usage; it has nothing to do with how fast the company reached South America.

  • c
    Stop guessing capacity

    Stop guessing capacity is about provisioning for actual demand instead of forecasts; the challenge here is location and deadline, not capacity sizing.

  • d
    Go global in minutes Correct

    Correct. Deploying an existing application into a Region on another continent in an afternoon, with no facilities to build, is the go-global-in-minutes advantage of the AWS global infrastructure.

The concept

Go global in minutes means the same application can be deployed to AWS Regions around the world through configuration choices, turning a months-long international buildout into hours of work.

Why that’s the answer

The scenario's signals are a new geography and a very short deadline met by deploying into an existing AWS Region. Because AWS already operates Regions worldwide, a company can expand internationally in minutes or hours instead of building or leasing a foreign data center. Elasticity and stop guessing capacity both concern how much capacity runs, not where it runs, and economies of scale concerns price, not speed.

How to reason it out
  1. Identify the requirement: infrastructure operating in a new geography within a week.
  2. Note the AWS outcome: the existing application was deployed to a South American Region in an afternoon.
  3. Match rapid deployment into a new geographic Region with go global in minutes.
  4. Eliminate options about demand fluctuation, unit pricing, and capacity forecasting.

Exam tip: New country or continent plus rapid deployment equals go global in minutes.

Benefits of the AWS Cloud: Value Proposition, Elasticity & Global Reach — the lesson that teaches this.

Question 2Cloud Concepts

Which benefits does the AWS global infrastructure of Regions, Availability Zones, and edge locations provide to customers? (Select TWO.)

Choose TWO.

  • a
    Data survives a Regional outage since AWS copies it to other Regions

    Data stays in the Region where you store it unless you configure replication; AWS does not copy it to other Regions on its own, so this benefit does not exist by default.

  • b
    AZs in different countries let one Region meet several residency rules

    All Availability Zones of a Region sit in the same geographic area, so one Region does not span several countries; meeting another country's residency rules means choosing a Region there.

  • c
    Applications can run close to users around the world, reducing latency Correct

    Correct. Regions and edge locations on several continents let customers place applications and content near their users, which lowers latency.

  • d
    New geographic markets can be served in minutes instead of months Correct

    Correct. Because the Regions already exist, a customer can deploy to a new part of the world quickly instead of building or leasing a data center there.

  • e
    Regions offer identical services, so designs port without changes

    Service availability and prices vary from Region to Region, so a design or cost estimate has to be checked for the chosen Region.

The concept

The AWS global infrastructure gives two headline benefits: global reach (deploy near users for lower latency) and speed of deployment (enter new geographies in minutes rather than months).

Why that’s the answer

Running close to users worldwide and reaching new markets in minutes are the two benefits the exam guide names for global infrastructure: global reach and speed of deployment. Automatic copying between Regions is a common misconception; data stays in its Region unless the customer sets up replication. The Availability Zones of a Region all lie in one geographic area, so a single Region cannot satisfy several countries' residency rules. Services and prices also differ between Regions, which is why the Region choice matters.

How to reason it out
  1. Recall the two global-infrastructure benefits: global reach and speed of deployment.
  2. Match lower latency for worldwide users to global reach.
  3. Match entering new geographies quickly to speed of deployment.
  4. Reject claimed benefits that assume AWS replicates data across Regions, that one Region spans several countries, or that every Region offers identical services.

Exam tip: Global infrastructure = global reach (low latency near users) + speed of deployment (new geographies in minutes).

Benefits of the AWS Cloud: Value Proposition, Elasticity & Global Reach — the lesson that teaches this.

Question 3Cloud Concepts

Which term describes the ability of a system to automatically acquire computing resources when demand increases and automatically release them when demand decreases?

Choose one.

  • a
    High availability

    High availability is about continuing to operate when components fail, not about matching capacity to demand.

  • b
    Elasticity Correct

    Correct. Elasticity is automatic, bidirectional scaling: resources grow with rising demand and shrink when demand falls.

  • c
    Agility

    Agility is the organizational ability to experiment and deliver quickly, not an automatic resource-scaling behavior.

  • d
    Durability

    Durability describes the long-term protection of stored data against loss, not the scaling of compute resources with demand.

The concept

Elasticity is scalability made automatic and bidirectional: the system acquires resources as demand rises and, crucially, releases them when demand falls so you stop paying for unneeded capacity.

Why that’s the answer

The stem contains both defining halves of elasticity: automatic acquisition when demand rises and automatic release when demand falls. High availability answers a different question, surviving failure rather than tracking demand, and is the most common swap on the exam. Agility describes how fast people and organizations can move, not how resources scale. Durability belongs to data storage, measuring protection against data loss, and has nothing to do with compute capacity.

How to reason it out
  1. Underline the two behaviors in the stem: acquire resources automatically on demand increase, release them on demand decrease.
  2. Recall that automatic plus bidirectional scaling is the definition of elasticity.
  3. Confirm no failure or downtime language exists that would suggest high availability.
  4. Select elasticity and discard the people-speed and data-protection terms.

Exam tip: Elasticity = automatic scaling in BOTH directions; the release-when-demand-falls half is the tell.

Benefits of the AWS Cloud: Value Proposition, Elasticity & Global Reach — the lesson that teaches this.

Question 4Cloud Concepts

Which term describes a workload that is designed to continue operating with minimal interruption even when an individual component or an entire data center fails?

Choose one.

  • a
    High availability Correct

    Correct. High availability means surviving component or facility failures with minimal downtime, typically through redundancy and automatic failover.

  • b
    Elasticity

    Elasticity matches resource capacity to changing demand; it does not describe surviving failures.

  • c
    Horizontal scaling

    Horizontal scaling adds more instances to handle more load; it is about capacity, and on its own it does not keep a workload running when a data center fails.

  • d
    Agility

    Agility is about how quickly an organization can experiment and deliver, not about system uptime during failures.

The concept

High availability is the property of staying operational through failures. It is achieved with redundancy, running the workload in more than one place, plus automatic detection and failover.

Why that’s the answer

Continuing to operate with minimal interruption when a component or a whole data center fails is the definition of high availability, achieved by running redundant copies in separate locations such as multiple Availability Zones. Elasticity and horizontal scaling are both about matching capacity to load, not surviving failure; more instances in the same data center still fail together. Agility is the organization's speed of experimentation, not a property of a running system.

How to reason it out
  1. Identify the event in the stem: a component or data center failure.
  2. Identify the desired outcome: the workload keeps running with minimal interruption.
  3. Match surviving failure with minimal downtime to high availability.
  4. Distinguish it from elasticity, which responds to demand rather than failure.

Exam tip: Failure plus minimal downtime = high availability; demand plus capacity change = elasticity.

Benefits of the AWS Cloud: Value Proposition, Elasticity & Global Reach — the lesson that teaches this.

Question 5Cloud Concepts

An online retailer receives ten times its normal traffic during holiday sales and very little traffic overnight. The retailer wants its AWS compute fleet to grow and shrink with this traffic so it pays only for the capacity in use at any moment. Which benefit of the AWS Cloud meets this requirement?

Choose one.

  • a
    High availability

    The retailer's concern is matching capacity to traffic, not surviving component failures, so high availability does not address the requirement.

  • b
    Elasticity Correct

    Correct. Fluctuating demand plus paying only for capacity in use is the signature elasticity scenario: resources scale out for peaks and back in for quiet periods.

  • c
    Agility

    Agility is about fast experimentation and time to market for the organization, not about a fleet automatically resizing with traffic.

  • d
    Global reach

    Global reach is about serving users worldwide through Regions and edge locations; the scenario involves traffic fluctuation, not geography.

The concept

Elasticity is the benefit that matches capacity to fluctuating demand automatically and in both directions, so the bill tracks actual usage.

Why that’s the answer

The scenario contains both elasticity triggers: demand that fluctuates, holiday peaks versus quiet nights, and the cost goal of paying only for capacity in use, which requires resources to be released when demand falls. High availability is the perennial look-alike, but nothing in the stem mentions failures or downtime; the system's challenge is demand, not fault tolerance. Agility would need language about experimentation or delivery speed. Global reach would need users in multiple geographies, which the stem does not mention.

How to reason it out
  1. Spot the demand pattern: large seasonal peaks and near-idle overnight periods.
  2. Spot the cost goal: pay only for capacity actually in use.
  3. Combine fluctuating demand with bidirectional cost tracking to identify elasticity.
  4. Confirm the absence of failure language, ruling out high availability.

Exam tip: Fluctuating traffic + pay only for what is used = elasticity.

Benefits of the AWS Cloud: Value Proposition, Elasticity & Global Reach — the lesson that teaches this.

Question 6Cloud Concepts

A software company reports that since moving to AWS it can provision development resources in minutes, test new product ideas with real users within days, and shut down unsuccessful projects without losing money on purchased hardware. Which benefit of the AWS Cloud is the company describing?

Choose one.

  • a
    Agility Correct

    Correct. Faster experimentation, shorter time to market, and a low cost of failure are the defining outcomes of agility.

  • b
    Scalability

    Scalability is a system's ability to grow to meet demand; the scenario is about the organization moving faster, not about handling load.

  • c
    High availability

    High availability concerns uptime through failures; nothing in the scenario involves outages or redundancy.

  • d
    Elasticity

    Elasticity is automatic resource scaling with demand; the scenario describes business experimentation speed, not fluctuating traffic.

The concept

Agility is a benefit for people and the business rather than a property of a running system: it is the speed at which an organization can experiment, build, change, and abandon ideas cheaply.

Why that’s the answer

All three facts in the stem are agility outcomes: provisioning in minutes removes waiting, testing ideas in days shortens time to market, and shutting down failures without sunk hardware costs makes experimentation cheap. Scalability and elasticity are system properties about handling load, and no load or traffic pattern appears in the scenario. High availability is about downtime during failures, which is also absent. The distinguishing move is noticing that the subject of every clause is the organization's speed, not the system's behavior.

How to reason it out
  1. Read what improved: provisioning time, experiment turnaround, and the cost of abandoning failures.
  2. Notice these describe organizational speed, not system load handling or uptime.
  3. Map faster experiments and cheap failure to agility.
  4. Eliminate the system-property terms: scalability, elasticity, and high availability.

Exam tip: When the benefit belongs to the business (experiment faster, fail cheap), the answer is agility.

Benefits of the AWS Cloud: Value Proposition, Elasticity & Global Reach — the lesson that teaches this.

Domain 2: Security and Compliance

30% of the CLF-C02 exam, so 8 of the 25 questions on this page.

Question 7Security and Compliance

Which TWO responsibilities stay with the customer on every AWS service, from Amazon EC2 to AWS Lambda? (Select TWO.)

Choose TWO.

  • a
    Granting IAM permissions and rotating access credentials Correct

    Access decisions are security IN the cloud on every service; AWS provides IAM but never chooses the permissions.

  • b
    Patching the operating system that runs the workload

    This shifts by service: the customer patches the guest OS on EC2, but AWS patches the OS behind Lambda.

  • c
    Securing physical access to the data center facilities

    Physical security is AWS's on every service, the opposite anchor of the model.

  • d
    Choosing encryption keys and settings for stored data Correct

    Even where a service encrypts data at rest by default, choosing the keys and settings that meet the customer's requirements stays with the customer on every service.

  • e
    Replacing and securely disposing of failed storage hardware

    Hardware lifecycle is part of security OF the cloud and belongs to AWS on every service.

The concept

Some responsibilities shift between services (operating system and platform patching); others never move (data, encryption key and setting choices, and access management stay with the customer; physical infrastructure stays with AWS).

Why that’s the answer

IAM permissions and encryption choices depend on the customer's intent, so they stay with the customer on every service. Services such as Amazon S3 and Amazon DynamoDB now encrypt data at rest by default, but choosing the keys and settings that meet the customer's own requirements is still the customer's decision. Operating system patching is the tempting distractor because it is customer work on EC2, but on Lambda AWS manages the OS, so it does not hold on every service. Physical security and hardware disposal are constant too, but on AWS's side.

How to reason it out
  1. Test each option against two services at opposite ends: EC2 and Lambda.
  2. Keep only duties that are the customer's on both.
  3. Remove OS patching, which moves to AWS on Lambda.
  4. Remove facilities and hardware, which are always AWS's.

Exam tip: Constant on the customer side: data, encryption choices, IAM. Constant on the AWS side: facilities and hardware.

AWS Shared Responsibility Model: Security OF the Cloud vs IN the Cloud — the lesson that teaches this.

Question 8Security and Compliance

Under the AWS shared responsibility model, which control is a shared responsibility between AWS and the customer?

Choose one.

  • a
    Data center security

    Physical security of facilities is an inherited control: AWS performs it end to end and the customer builds on it.

  • b
    IAM permissions

    Granting permissions is entirely the customer's responsibility; AWS has no layer of it to perform.

  • c
    Hypervisor updates

    The hypervisor belongs to AWS's infrastructure, so updating it is AWS's alone.

  • d
    Patch management Correct

    Patch management is a shared control: AWS patches infrastructure and managed platforms, the customer patches guest operating systems and its applications.

The concept

AWS names three shared controls, where both parties act in their own layer: patch management, configuration management, and awareness and training.

Why that’s the answer

Patch management is shared because each party patches a different layer: AWS the infrastructure, host OS and managed-service software, the customer the guest OS and applications it installs. Data center security and hypervisor updates are AWS's alone, and IAM permissions are the customer's alone, so none of them is shared.

How to reason it out
  1. Recall the three shared controls.
  2. Check whether both parties have a layer of the task to perform.
  3. Rule out purely AWS tasks (facilities, hypervisor) and purely customer tasks (IAM).

Exam tip: Shared controls: patch management, configuration management, awareness and training.

AWS Shared Responsibility Model: Security OF the Cloud vs IN the Cloud — the lesson that teaches this.

Question 9Security and Compliance

Awareness and training is a shared control in the AWS shared responsibility model. Which statement correctly describes how it is shared?

Choose one.

  • a
    AWS delivers the security training that the customer's employees complete.

    AWS does not train the customer's workforce under the model; the customer trains its own staff.

  • b
    The customer trains its own employees, and AWS certifies that training.

    AWS does not certify or approve customers' training programs; each party runs, and answers for, the training of its own people.

  • c
    AWS trains its own employees, and the customer relies on that same program.

    AWS's training covers AWS staff only. The customer's staff need the customer's own training, which is why the control is shared.

  • d
    AWS trains its own employees, and the customer trains its own employees. Correct

    Each party trains its own people, which is how this shared control is split.

The concept

Awareness and training is a shared control: each party trains its own workforce.

Why that’s the answer

The control is shared because both organisations have people who can make security mistakes. AWS trains AWS employees; the customer trains its own staff, since AWS cannot stop a customer administrator from falling for a phishing email. The near-twin that lets the customer rely on AWS's program gets the first half right and drops the customer's half.

How to reason it out
  1. Recall that awareness and training is one of the three shared controls.
  2. Ask whose employees each party can actually train.
  3. Pick the option where each party trains its own staff.

Exam tip: Awareness and training: AWS trains AWS staff, the customer trains customer staff.

AWS Shared Responsibility Model: Security OF the Cloud vs IN the Cloud — the lesson that teaches this.

Question 10Security and Compliance

Which TWO controls does AWS classify as shared controls in the shared responsibility model? (Select TWO.)

Choose TWO.

  • a
    Configuration management Correct

    AWS configures its infrastructure devices and host systems while the customer configures their own instances, databases, and security groups, so both act in their own layer.

  • b
    Data classification

    Classifying data depends entirely on the customer's knowledge of their own information, making it a customer-specific control with no AWS counterpart.

  • c
    Hypervisor patching

    The hypervisor is operated solely by AWS, so patching it is a pure AWS responsibility, not shared.

  • d
    Awareness and training Correct

    AWS trains its employees and the customer trains their own staff, making it one of the three named shared controls.

  • e
    Physical and environmental controls at data centers

    Facility controls are implemented end to end by AWS; customers inherit them rather than performing any part of them.

The concept

AWS names exactly three shared controls, patch management, configuration management, and awareness and training, distinguishing them from inherited controls (fully AWS) and customer-specific controls (fully customer).

Why that’s the answer

Configuration management and awareness and training both fit the shared pattern: AWS configures its infrastructure and trains its workforce, while the customer configures their resources and trains their staff, so the same control is genuinely performed on both sides at different layers. The distractors each fall into a single-party category. Data classification is customer-specific because only the customer knows which of their data is sensitive and AWS has no equivalent activity to perform. Hypervisor patching sits entirely inside AWS's virtualization layer. Physical and environmental controls are the classic inherited controls: AWS implements them, auditors verify them, and customers simply build on the verified foundation.

How to reason it out
  1. List the three shared controls from memory: patch management, configuration management, awareness and training.
  2. Match the options: configuration management and awareness and training appear on the list.
  3. Classify data classification as customer-specific, since AWS performs no counterpart activity.
  4. Classify hypervisor patching and physical controls as pure AWS controls that customers inherit rather than share.

Exam tip: Only patch management, configuration management, and awareness and training are shared; everything else belongs wholly to one party.

AWS Shared Responsibility Model: Security OF the Cloud vs IN the Cloud — the lesson that teaches this.

Question 11Security and Compliance

A company runs a web application on Amazon EC2 instances running Linux. Who is responsible for applying security updates to the Linux operating system on those instances?

Choose one.

  • a
    The customer, for the guest OS on each instance it runs Correct

    On EC2 the customer controls the guest operating system, so patching it is security IN the cloud.

  • b
    AWS, for instances launched from Amazon Linux AMIs

    Who published the AMI does not matter; once launched, the instance's OS is the customer's to patch.

  • c
    AWS, as part of the shared patch management control

    Patch management is shared by layer: AWS patches the host and hypervisor, and the guest OS on EC2 is the customer's layer.

  • d
    AWS, through the hypervisor that runs the instances

    The hypervisor isolates instances but does not update the software inside them.

The concept

On Amazon EC2, an infrastructure service, the customer is responsible for the guest operating system, including security updates.

Why that’s the answer

EC2 gives the customer control of the instance's operating system, so the customer patches it, whichever AMI it came from. Shared patch management is the tempting distractor, but the share is by layer: AWS takes the host and hypervisor, the customer takes the guest OS and applications. The hypervisor runs instances; it does not patch them.

How to reason it out
  1. Identify the service: EC2, an infrastructure service.
  2. Identify the layer: the guest operating system inside the instance.
  3. Apply the rule: on EC2 the guest OS is the customer's.

Exam tip: On EC2, you patch the guest OS; AWS patches what is under it.

AWS Shared Responsibility Model: Security OF the Cloud vs IN the Cloud — the lesson that teaches this.

Question 12Security and Compliance

A company uses Amazon RDS for MySQL. Under the AWS shared responsibility model, who is responsible for applying patches to the MySQL database engine?

Choose one.

  • a
    The customer, by installing engine patches during the maintenance window

    The customer chooses the maintenance window, but AWS schedules and applies required engine patches within it (minor version upgrades apply automatically only if the customer turns that setting on).

  • b
    The customer, by running AWS Systems Manager Patch Manager on the DB host

    RDS does not give customers access to the database host; Patch Manager is for instances and servers the customer manages.

  • c
    AWS, as part of operating the managed database service Correct

    RDS is a managed service: AWS patches the underlying OS and the database engine.

  • d
    AWS for the operating system, and the customer for the MySQL engine

    This is the EC2 split applied to RDS. On RDS, AWS patches the engine as well as the OS.

The concept

On Amazon RDS, AWS patches the operating system and the database engine; the customer keeps the data, access controls and settings such as the maintenance window.

Why that’s the answer

Moving a database to RDS shifts platform maintenance to AWS, including database engine patching. The customer still chooses when maintenance happens through the maintenance window, which is why the window-based distractor is tempting, but AWS applies the patches. The OS-only split is how a self-managed database on EC2 would look if AWS handled the OS, and on EC2 even the OS is the customer's.

How to reason it out
  1. Identify the service: RDS, a managed database.
  2. Recall that on RDS AWS patches both the OS and the engine.
  3. Separate scheduling (the customer's maintenance window) from applying the patches (AWS).

Exam tip: RDS: AWS patches the OS and the engine; you own the data, access and settings.

AWS Shared Responsibility Model: Security OF the Cloud vs IN the Cloud — the lesson that teaches this.

Question 13Security and Compliance

A development team deploys code to AWS Lambda. Under the AWS shared responsibility model, which of the following is AWS responsible for?

Choose one.

  • a
    Reviewing the function code for security vulnerabilities

    The function code is the customer's application, so reviewing it is security IN the cloud.

  • b
    Defining the IAM execution role that the function assumes

    The execution role's permissions are a customer access decision on every service.

  • c
    Deciding which data the functions are allowed to process

    What data a workload handles is the customer's decision and responsibility.

  • d
    Patching the managed runtime that the functions run in Correct

    With Lambda managed runtimes, AWS manages the infrastructure, the OS and the runtime, including their security updates.

The concept

On AWS Lambda with a managed runtime, AWS manages the infrastructure, operating system and language runtime, while the customer's responsibility shrinks to the function code, its permissions and the data. (With a container image or an OS-only runtime, the customer maintains the runtime it packages.)

Why that’s the answer

With Lambda there is no server, OS, or runtime for the customer to patch: AWS operates and updates the execution environment, including security fixes to the managed language runtime, which is exactly why the shared-responsibility line sits highest on serverless services. The distractors enumerate what remains with the customer even at this level of management: the function code is customer-authored application logic, the IAM execution role encodes the customer's permission choices, and decisions about which data to process are always customer data decisions. The pattern to internalize is that serverless transfers operational work to AWS while code, access, and data stay with the customer.

How to reason it out
  1. Identify the service: Lambda, a serverless compute service.
  2. Apply the Lambda rule: AWS manages everything up through the language runtime.
  3. Assign runtime patching to AWS as part of operating the execution environment.
  4. Keep code quality, IAM execution roles, and data decisions on the customer's side, since those never transfer.

Exam tip: On Lambda, AWS patches the runtime and everything below it; you own the code, its permissions, and the data.

AWS Shared Responsibility Model: Security OF the Cloud vs IN the Cloud — the lesson that teaches this.

Question 14Security and Compliance

A company migrates a self-managed PostgreSQL database from an Amazon EC2 instance to Amazon RDS for PostgreSQL. Which responsibility transfers from the customer to AWS as a result of the migration?

Choose one.

  • a
    Protecting the data stored in the database

    Customer data never transfers to AWS on any service; it remains the customer's responsibility before and after the migration.

  • b
    Configuring the security group rules that control access to the database

    Network access configuration stays with the customer on RDS just as it did on EC2; the customer still decides which sources can reach the database.

  • c
    Patching the operating system and the database engine Correct

    On EC2 the customer patched both; on RDS, AWS operates the OS and the PostgreSQL engine, so this operational work moves to AWS.

  • d
    Managing the IAM permissions and database credentials

    Access management is always the customer's responsibility and is unaffected by moving to a managed service.

The concept

Moving from EC2 to a managed service like RDS transfers operational security work, OS and database engine patching, to AWS, while data, access, and configuration choices stay with the customer.

Why that’s the answer

On EC2, the customer patched the Linux guest OS and PostgreSQL itself; RDS moves the line up so AWS handles both, which is the defining benefit of the managed service and the precise answer to what transfers. The three distractors name responsibilities that never move. The data remains the customer's on every service, security group rules still encode the customer's decision about which sources may reach the database port, and IAM permissions plus database credentials remain customer access decisions. The exam frames this exact migration to test whether you know that management level shifts operational layers only, never data, access, or configuration ownership.

How to reason it out
  1. Compare the two columns: on EC2 the customer owns guest OS and database software patching; on RDS, AWS owns both.
  2. Identify what changed between the columns: OS and engine patching moved to AWS.
  3. Apply the anchors to the distractors: data, network configuration, and IAM never transfer.
  4. Conclude that only the operational patching work transfers in an EC2-to-RDS migration.

Exam tip: EC2 to RDS transfers OS and database-engine patching to AWS; never the data, security groups, or IAM.

AWS Shared Responsibility Model: Security OF the Cloud vs IN the Cloud — the lesson that teaches this.

Domain 3: Cloud Technology and Services

34% of the CLF-C02 exam, so 8 of the 25 questions on this page.

Question 15Cloud Technology and Services

Which TWO are benefits of managing AWS infrastructure with AWS CloudFormation instead of manual configuration? (Select TWO.)

Choose TWO.

  • a
    Manual changes to deployed resources are reverted by CloudFormation itself

    Drift detection can report that a resource no longer matches its template, but it does not undo the manual change; the stack has to be updated to bring it back in line.

  • b
    Templates can be kept in version control, reviewed and rolled back Correct

    Correct. Templates are text files, so infrastructure gains history, review, diffing and rollback through source control.

  • c
    Deploying one template again produces a matching environment each time Correct

    Correct. Deploying the same template repeatedly yields consistent environments without the drift of manual builds.

  • d
    Created resources scale up and down with demand on their own

    CloudFormation builds the resources once as declared; scaling with demand comes from services such as Amazon EC2 Auto Scaling, which must be defined and configured.

  • e
    Each stack is also copied to a second AWS Region for disaster recovery

    A stack is deployed only where you deploy it; running copies in other Regions is a deliberate choice (for example, deploying the template again or using StackSets), not an automatic benefit.

The concept

The exam-level benefits of infrastructure as code with CloudFormation are that environments become repeatable, consistent, less error-prone, and version-controllable.

Why that’s the answer

The two real benefits are the ones the exam guide stresses for infrastructure as code. Templates are plain text, so they can be versioned, reviewed and rolled back like application code. One template deployed many times yields identical environments, removing the drift that manual builds accumulate. The distractors credit CloudFormation with things other features or services do: drift detection only reports manual changes and does not revert them, scaling with demand needs Auto Scaling configuration, and copies in other Regions exist only if you deploy them there.

How to reason it out
  1. Recall the IaC benefit words: repeatable, consistent, version-controlled, less error-prone.
  2. Match version control and rollback to templates being text files.
  3. Match consistency to redeploying the same template.
  4. Reject claims that CloudFormation automatically reverts changes, scales resources or copies stacks to other Regions.

Exam tip: CloudFormation gives repeatable, consistent, version-controlled infrastructure; it does not revert drift, scale resources or replicate stacks on its own.

Deploying and Operating in AWS: Console, CLI, SDKs, IaC, and Connectivity — the lesson that teaches this.

Question 16Cloud Technology and Services

An administrator needs to enable a single account-level setting one time. The setting will never need to be changed again, and no other accounts are involved. What is the most efficient way to perform this task?

Choose one.

  • a
    Write an AWS CloudFormation template to manage the setting

    IaC pays off through repetition; authoring and maintaining a template for a single never-repeated change is unnecessary overhead.

  • b
    Change the setting manually in the AWS Management Console Correct

    For a genuinely one-time task, the console is the most efficient choice — automating something that runs once costs more than it saves.

  • c
    Develop a custom application with an AWS SDK to change the setting

    Building software for a one-time click is the heaviest possible approach; SDKs are for applications that call AWS as part of their normal operation.

  • d
    Write and schedule an AWS CLI script to apply the setting nightly

    Scheduling a recurring script for a change that happens once misreads the requirement; there is nothing to repeat.

The concept

Task 3.1 tests the judgment between one-time operations and repeatable processes: one-time manual tasks are legitimately done in the console, while repeated tasks should be captured as code.

Why that’s the answer

The stem stresses every signal of a one-time operation: a single setting, changed once, never again, one account. In that situation the console is not merely acceptable — it is the most efficient answer, because the cost of writing, testing, and maintaining automation would exceed the cost of one careful manual action. The CloudFormation option overengineers a non-repeating task. The SDK option is even heavier, building an application where no application behavior exists. The scheduled CLI script actively contradicts the requirement by making a one-time change recur. The calculus flips only when a task repeats.

How to reason it out
  1. Classify the task: one-time or repeatable? Here it is explicitly one-time.
  2. Recall the rule: one-time tasks may be manual; repeated tasks must be code.
  3. Choose the console as the lowest-effort correct tool for a single manual change.
  4. Eliminate template, custom app, and scheduled script as automation with no repetition to justify it.

Exam tip: A genuinely one-time task belongs in the console; automation earns its cost only through repetition.

Deploying and Operating in AWS: Console, CLI, SDKs, IaC, and Connectivity — the lesson that teaches this.

Question 17Cloud Technology and Services

An engineering team wants to define its AWS infrastructure in a programming language it already uses, such as TypeScript or Python, instead of writing JSON or YAML templates by hand. Which AWS offering supports this approach?

Choose one.

  • a
    AWS Command Line Interface (AWS CLI)

    The CLI runs imperative commands in a terminal; it does not let a team declare infrastructure in a general-purpose programming language.

  • b
    AWS CloudFormation

    CloudFormation is infrastructure as code, but its templates are the JSON or YAML the team wants to stop writing by hand.

  • c
    AWS Cloud Development Kit (AWS CDK) Correct

    The CDK lets developers define infrastructure in general-purpose programming languages and synthesizes CloudFormation templates under the hood.

  • d
    AWS SDK for Python (Boto3)

    An SDK lets application code call AWS services at runtime; it is not a framework for declaring and provisioning infrastructure.

The concept

The AWS Cloud Development Kit (CDK) is a code-first path to infrastructure as code: developers write infrastructure definitions in languages like TypeScript or Python, and the CDK generates CloudFormation templates from that code.

Why that’s the answer

The stem asks for infrastructure defined in a familiar programming language rather than hand-written JSON or YAML, which is what the AWS CDK provides. The CDK synthesizes standard CloudFormation templates from that code, so CloudFormation still does the provisioning. CloudFormation on its own is the near-twin: it is infrastructure as code, but authored in exactly the template formats the team wants to avoid. An SDK also uses a programming language, but for runtime service calls from applications, and the CLI runs imperative commands.

How to reason it out
  1. Spot the requirement: infrastructure as code, authored in a general-purpose language.
  2. Recall that plain CloudFormation uses JSON or YAML templates.
  3. Identify the CDK as the code-first layer that generates CloudFormation templates.
  4. Distinguish the CDK (defines infrastructure) from SDKs (call services at runtime).

Exam tip: The AWS CDK defines infrastructure in real programming languages and generates CloudFormation templates behind the scenes.

Deploying and Operating in AWS: Console, CLI, SDKs, IaC, and Connectivity — the lesson that teaches this.

Question 18Cloud Technology and Services

A startup with no existing IT infrastructure builds and runs every part of its new application on AWS. Which cloud deployment model does this describe?

Choose one.

  • a
    Hybrid deployment

    Hybrid requires connecting cloud resources to existing on-premises infrastructure, and this startup has no on-premises infrastructure at all.

  • b
    On-premises deployment

    On-premises means running workloads in the organization's own data center on hardware it owns — the opposite of building everything on AWS.

  • c
    Private cloud deployment

    Private cloud is the on-premises model with cloud-style virtualization in your own facility, which this startup does not have or want.

  • d
    Cloud deployment Correct

    All parts of the application run on AWS with nothing on premises — the definition of a cloud, or cloud-native, deployment.

The concept

CLF-C02 defines three deployment models by where workloads run: cloud (everything on AWS), on-premises or private cloud (everything in your own data center), and hybrid (the two connected together).

Why that’s the answer

A startup with no existing infrastructure that builds entirely on AWS is the textbook cloud deployment: every component lives on AWS, giving the full value proposition of pay-as-you-go pricing, elasticity, and no hardware ownership. Hybrid is wrong because there is no on-premises environment to connect to — hybrid specifically means cloud and on-premises operating together. On-premises is wrong because nothing runs in a company-owned data center. Private cloud is the on-premises model dressed in virtualization tooling, so it fails for the same reason. New applications with no legacy footprint default to the cloud model.

How to reason it out
  1. Ask where the workloads run: entirely on AWS in this scenario.
  2. Match all-on-AWS to the cloud deployment model.
  3. Rule out hybrid because there is no on-premises side to connect.
  4. Rule out on-premises and private cloud because the company owns no data center.

Exam tip: Everything running on AWS with no on-premises footprint is a cloud deployment.

Deploying and Operating in AWS: Console, CLI, SDKs, IaC, and Connectivity — the lesson that teaches this.

Question 19Cloud Technology and Services

A company runs a new web application on AWS while its legacy billing database remains in the company's own data center. The two environments are connected by a private link and operate together. Which deployment model does this describe?

Choose one.

  • a
    Cloud deployment

    A cloud deployment means everything runs on AWS, but here the billing database still runs in the company's own data center.

  • b
    On-premises deployment

    On-premises means everything stays in the company's data center, but the web application here runs on AWS.

  • c
    Hybrid deployment Correct

    Cloud-based resources connected to and operating with existing on-premises infrastructure is precisely the hybrid model.

  • d
    Multi-cloud deployment

    Multi-cloud would involve multiple public cloud providers; this scenario involves one cloud provider plus the company's own facility.

The concept

A hybrid deployment connects cloud-based resources to existing on-premises infrastructure so they operate as one environment, typically over a private link such as a VPN or Direct Connect.

Why that’s the answer

The scenario is the classic hybrid pattern the exam favors: a legacy database staying in the corporate data center while the new tier runs on AWS, with the two connected. The key recognition phrase is connecting existing on-premises infrastructure to AWS. Cloud deployment fails because a significant workload remains on premises. On-premises fails because the web application demonstrably runs on AWS. Multi-cloud is a distractor outside the three CLF-C02 models — it would require a second public cloud provider, and nothing here suggests one; a company data center is not another cloud.

How to reason it out
  1. Locate each workload: web application on AWS, billing database on premises.
  2. Note the connection between the two environments operating together.
  3. Match cloud plus connected on-premises to the hybrid model.
  4. Eliminate pure cloud, pure on-premises, and the out-of-scope multi-cloud option.

Exam tip: AWS resources connected to workloads in your own data center define a hybrid deployment.

Deploying and Operating in AWS: Console, CLI, SDKs, IaC, and Connectivity — the lesson that teaches this.

Question 20Cloud Technology and Services

Which TWO situations commonly lead an organization to choose a hybrid deployment model instead of moving everything to the AWS Cloud? (Select TWO.)

Choose TWO.

  • a
    A startup is building a new application with no existing infrastructure

    With no legacy footprint there is nothing to connect to; a new build defaults to a pure cloud deployment, not hybrid.

  • b
    The organization plans to close its data centers within a few months

    Eliminating data centers is the goal of a full cloud migration; hybrid deliberately keeps on-premises infrastructure in the picture.

  • c
    The organization wants to pay for computing capacity as it consumes it

    Pay-as-you-go pricing is a benefit of the cloud model itself and gives no reason to keep any workload on premises.

  • d
    A legacy application is too costly or risky to migrate at this time Correct

    Legacy systems that cannot move economically or safely are a classic hybrid trigger: they stay on premises while new workloads run on AWS.

  • e
    Regulations require some data to stay in a company-controlled facility Correct

    Data residency and compliance rules that pin data to a particular facility force part of the environment to stay on premises, producing a hybrid model.

The concept

Hybrid deployments arise when something anchors part of the environment on premises; the exam's recurring triggers are legacy applications, data residency or compliance requirements, and gradual migration.

Why that’s the answer

The two correct options are two of the three canonical hybrid triggers. A legacy application that is too expensive or risky to move keeps one foot in the data center while modern workloads run on AWS. Data residency rules that require data to stay in a specific certified facility have the same effect for regulated data. The distractors all describe drivers of a pure cloud model: a startup with no infrastructure has nothing to hybridize, a company racing to close its data centers is executing a full migration, and pay-as-you-go economics is a reason to be in the cloud, not a reason to stay partly out of it.

How to reason it out
  1. Recall the hybrid triggers: legacy systems, data residency or compliance, gradual migration.
  2. Match the immovable legacy application to the first trigger.
  3. Match the facility-bound data requirement to the residency trigger.
  4. Reject the remaining options as motivations for a pure cloud deployment rather than hybrid.

Exam tip: Hybrid happens when legacy systems, compliance, or phased migration keep part of the environment on premises.

Deploying and Operating in AWS: Console, CLI, SDKs, IaC, and Connectivity — the lesson that teaches this.

Question 21Cloud Technology and Services

A company runs all of its workloads on virtualized servers with self-service provisioning tools, entirely within a data center that it owns and operates. It uses no public cloud services. Which deployment model is this?

Choose one.

  • a
    On-premises deployment Correct

    Correct. Everything runs on company-owned hardware in the company's own facility; virtualization and self-service tooling make it what is often called a private cloud, which is still the on-premises model.

  • b
    Cloud deployment

    A cloud deployment runs on a cloud provider's infrastructure. Cloud-style tooling on the company's own servers does not move any workload into the cloud.

  • c
    Hybrid deployment

    Hybrid needs on-premises resources actually connected to and working with cloud resources; this company uses no public cloud services at all.

  • d
    Multi-cloud deployment

    Multi-cloud means using services from more than one cloud provider; this company uses none.

The concept

An on-premises deployment runs entirely in an organization's own data center on hardware it owns; when it uses cloud-style virtualization and self-service tooling it is often called a private cloud, but the model is still on-premises.

Why that’s the answer

The location of the workloads decides the model, not the tooling. Everything here runs in a company-owned facility with no public cloud involvement, which is the on-premises model; virtualization plus self-service tooling on owned hardware is what is often called a private cloud. A cloud deployment is tempting because of the cloud-style tools, but those tools do not change where the hardware sits or who owns it. Hybrid needs cloud and on-premises resources connected and working together now, and multi-cloud needs at least one, in fact two, cloud providers.

How to reason it out
  1. Determine where the workloads run: entirely in a company-owned data center.
  2. Recognize virtualization plus self-service on owned hardware as the private cloud description.
  3. Classify private cloud under the on-premises deployment model.
  4. Reject cloud, hybrid and multi-cloud, because no public cloud resources are in use.

Exam tip: A private cloud is still an on-premises deployment: where the hardware sits decides the model, not the tooling.

Deploying and Operating in AWS: Console, CLI, SDKs, IaC, and Connectivity — the lesson that teaches this.

Question 22Cloud Technology and Services

A company needs a secure, encrypted connection between its on-premises network and its AWS environment, and the connection must be operational within a few days at low cost. Which connectivity option should the company choose?

Choose one.

  • a
    AWS Direct Connect

    Direct Connect requires provisioning a physical circuit, which takes weeks or longer and costs significantly more — it cannot be live in a few days.

  • b
    The public internet with no additional configuration

    Plain internet access does not create the private, encrypted network-to-network tunnel between the on-premises environment and AWS that the company requires.

  • c
    AWS Client VPN

    Client VPN connects individual users’ devices to AWS or on-premises networks; it is not the network-to-network link between a data center and AWS.

  • d
    AWS Site-to-Site VPN Correct

    A Site-to-Site VPN creates an encrypted IPsec tunnel over the internet and is quick and inexpensive to set up — typically configuration rather than physical work.

The concept

AWS Site-to-Site VPN establishes an encrypted tunnel between an on-premises network and AWS over the public internet, offering fast setup and low cost at the price of variable performance.

Why that’s the answer

The stem stacks the Site-to-Site VPN triggers: an encrypted network-to-network connection that is quick to establish and low cost. Because a VPN is configuration on both ends rather than physical installation, it can be running in days, and its IPsec tunnels provide the encryption. Direct Connect fails on setup time and cost because a physical circuit must be provisioned. Client VPN is the near-twin: it is also an AWS VPN, but it connects individual users' devices rather than an entire on-premises network. The bare public internet provides no network-to-network tunnel.

How to reason it out
  1. List the requirements: network-to-network, encrypted, days-not-weeks setup, low cost.
  2. Match an encrypted tunnel over the internet with fast setup to Site-to-Site VPN.
  3. Separate Site-to-Site VPN (whole networks) from Client VPN (individual users).
  4. Eliminate Direct Connect on provisioning time and cost.

Exam tip: Quick, cheap, and encrypted site connectivity to AWS means a Site-to-Site VPN.

Deploying and Operating in AWS: Console, CLI, SDKs, IaC, and Connectivity — the lesson that teaches this.

Domain 4: Billing, Pricing, and Support

12% of the CLF-C02 exam, so 3 of the 25 questions on this page.

Question 23Billing, Pricing, and Support

A company bought Standard Reserved Instances, then moved its workloads to a newer EC2 instance family, and the reservations stopped matching. Which characteristic of a Compute Savings Plan would have kept the company's discount?

Choose one.

  • a
    Its discount applies to EC2 instances in any instance family, size, or Region Correct

    The commitment is dollars per hour, not instance attributes, so the discount follows the workload to a new family or Region.

  • b
    It reserves launch capacity for the workload in each Availability Zone that it uses

    Savings Plans reserve no capacity; capacity assurance comes from Capacity Reservations or zonal RIs, and it would not have kept a discount.

  • c
    It can be canceled without a penalty when the workload changes its instance family

    Savings Plans carry one- or three-year terms like RIs; they are not canceled when the workload changes.

  • d
    It gives a deeper maximum discount than Standard RIs for the new instance family

    The Compute Savings Plan discount ceiling is lower than a Standard RI's; its advantage is flexibility, not a bigger discount.

The concept

Reserved Instances tie their discount to specific instance attributes, while a Compute Savings Plan ties it to an hourly spend level, so usage can change underneath the commitment.

Why that’s the answer

The company's discount was stranded because Standard RIs cannot change instance family. A Compute Savings Plan avoids this by design: the commitment is a dollar-per-hour spend, and the discount applies to eligible usage in any instance family, size, OS, tenancy or Region, and to Fargate and Lambda. The distractors credit Savings Plans with things they do not do: they reserve no capacity, they have real one- or three-year terms, and their maximum discount is lower than a Standard RI's, not higher.

How to reason it out
  1. Diagnose the failure: the Standard RI discount was bound to instance attributes, and the migration broke the match.
  2. Recall the Compute Savings Plan commitment unit: dollars per hour of compute spend.
  3. Conclude the discount would have followed the workload to the new family.
  4. Reject capacity, cancellation and bigger-discount claims as false for Savings Plans.

Exam tip: Compute Savings Plans keep their discount through instance-family and Region changes that would strand a Standard RI.

AWS Pricing Models Explained: On-Demand, Reserved, Spot & Savings Plans — the lesson that teaches this.

Question 24Billing, Pricing, and Support

A company runs a nightly batch-processing job that can be stopped and restarted at any point without business impact. The team wants the lowest possible EC2 cost for this job. Which purchasing option should it choose?

Choose one.

  • a
    Spot Instances Correct

    The job is fault-tolerant and restartable, which is exactly the profile Spot rewards with discounts of up to 90 percent off On-Demand.

  • b
    On-Demand Instances

    On-Demand carries no discount; for an interruptible job it leaves the deepest available savings on the table.

  • c
    Dedicated Instances

    Dedicated Instances provide hardware isolation at a price premium; they solve a compliance problem, not a cost problem.

  • d
    Standard Reserved Instances

    RIs discount steady, always-on usage by up to 72 percent; a nightly interruptible batch job earns a deeper discount on Spot.

The concept

Spot Instances sell AWS's spare EC2 capacity at up to 90 percent off On-Demand, in exchange for the risk that AWS reclaims the instance with a two-minute warning.

Why that’s the answer

The stem states the two facts that make Spot safe and optimal: the job can stop and restart without business impact, and the goal is the lowest possible cost. Spot's up-to-90-percent discount is the deepest AWS offers, beating the up-to-72-percent ceiling of RIs and Savings Plans, so for interruption-tolerant work it is the unambiguous winner. On-Demand pays full price, Dedicated Instances add an isolation premium the scenario does not need, and an RI both discounts less and poorly fits a job that runs only at night.

How to reason it out
  1. Check interruption tolerance: the job restarts freely, so Spot's reclaim risk is acceptable.
  2. Compare discount ceilings: Spot up to 90 percent versus RI and Savings Plans up to 72 percent.
  3. Note the nightly schedule fits Spot's flexible capacity model better than an always-on commitment.
  4. Eliminate On-Demand (no discount) and Dedicated Instances (isolation premium, irrelevant here).
  5. Choose Spot as the cheapest suitable option.

Exam tip: Fault-tolerant, restartable batch work at lowest cost means Spot Instances.

AWS Pricing Models Explained: On-Demand, Reserved, Spot & Savings Plans — the lesson that teaches this.

Question 25Billing, Pricing, and Support

Which statement accurately describes Amazon EC2 Spot Instances?

Choose one.

  • a
    They run on capacity held for the account in one Availability Zone at the On-Demand rate

    Capacity held in one Availability Zone at the On-Demand rate describes an On-Demand Capacity Reservation, not Spot.

  • b
    They run on spare EC2 capacity at a steep discount, and AWS reclaims them when it needs it Correct

    Spot sells spare capacity at up to 90 percent off On-Demand, and AWS takes the capacity back with a two-minute warning when it needs it.

  • c
    They run on a physical server allocated to the account, with visibility into its cores

    A whole physical server with core visibility is a Dedicated Host, which targets licensing and compliance needs.

  • d
    They run on capacity committed for a one- or three-year term at a discount of up to 72 percent

    A one- or three-year term at up to 72 percent off describes Reserved Instances and Savings Plans; Spot has no term commitment.

The concept

Spot Instances let customers use AWS's spare, unused EC2 capacity at up to 90 percent off On-Demand pricing, with the trade-off that AWS can interrupt them at short notice.

Why that’s the answer

Spot's definition has two halves that travel together: the source of the discount (spare capacity AWS would otherwise leave idle) and the condition attached (AWS reclaims it with a two-minute warning when it needs the capacity). Each distractor describes a different purchasing option: capacity held in one AZ at the On-Demand rate is a Capacity Reservation, a whole server with core visibility is a Dedicated Host, and a one- or three-year term at up to 72 percent belongs to RIs and Savings Plans.

How to reason it out
  1. Recall Spot's source: spare, unused EC2 capacity.
  2. Recall Spot's price: up to 90 percent off On-Demand.
  3. Recall Spot's condition: AWS can reclaim the instance when it needs the capacity.
  4. Match each distractor to its real owner: Capacity Reservation, Dedicated Host, RIs or Savings Plans.

Exam tip: Spot = spare capacity at up to 90 percent off, reclaimable by AWS with a two-minute warning.

AWS Pricing Models Explained: On-Demand, Reserved, Spot & Savings Plans — the lesson that teaches this.

Keep going with CLF-C02

CLF-C02 practice by domain

CLF-C02 sample questions: your questions

No. Real exam questions are confidential. These are original questions written to the skills in the official CLF-C02 exam guide, so they test the same knowledge in the same style without being copies of the exam.

Source

The domains and weights on this page come from the official CLF-C02 exam guide.