AWS Cloud Practitioner (CLF-C02) · 34% practice allocation

AWS CLF-C02: Cloud Technology and Services Practice Questions

5 free sample questions from the Cloud Technology and Services domain, with answers and explanations. The full CLF-C02 bank has 250 questions across 4 domains. Questions are scenario-based and written from the official AWS exam guide.

1.

A developer needs to run code that automatically resizes images whenever a new file is uploaded to an Amazon S3 bucket. The function runs for less than 5 seconds per image. The team wants to avoid managing any servers. Which AWS service is BEST suited for this requirement?

  • A. AWS Elastic Beanstalk
  • B. AWS Lambda✓ Correct
  • C. Amazon EC2 with Auto Scaling
  • D. Amazon ECS on EC2 launch type
Explanation

AWS Lambda is the best fit. It is a serverless, event-driven compute service that can be triggered directly by S3 events (e.g., ObjectCreated). It requires no server management, scales automatically per invocation, and is billed only for the milliseconds of execution time — perfect for short, event-driven tasks like image resizing. EC2 with Auto Scaling requires provisioning and managing instances; the team would need to poll S3 for new files rather than receiving automatic triggers. ECS on EC2 launch type involves running containers on EC2 instances that the team must manage, which violates the no-server-management requirement. Elastic Beanstalk is a PaaS for long-running applications; it still provisions EC2 instances underneath and is not event-driven by nature.

2.

A company needs to store files that are shared across multiple Amazon EC2 instances simultaneously. Different EC2 instances in the same VPC need to read from and write to the same file system at the same time. Which AWS storage service is the MOST appropriate for this use case?

  • A. Amazon EFS (Elastic File System)✓ Correct
  • B. AWS Storage Gateway
  • C. Amazon S3
  • D. Amazon EBS (Elastic Block Store)
Explanation

Amazon EFS is a fully managed, scalable file system that can be mounted simultaneously by multiple EC2 instances, making it ideal for shared file access within a VPC. Amazon EBS is block storage that attaches to a single EC2 instance at a time (Multi-Attach is available only for io1/io2 volumes in limited scenarios and is not the standard recommendation for general shared access). Amazon S3 is object storage, not a traditional file system that can be mounted and used for concurrent file-level reads and writes the way applications typically expect. AWS Storage Gateway is a hybrid storage service used to connect on-premises environments to AWS cloud storage, not a native shared file system for EC2 instances.

3.

A company wants to send a transactional email notification each time a new order is placed in their e-commerce platform. The notification must be sent to exactly one internal fulfillment system. The team also wants to ensure the messages are processed in the order they are received. Which AWS messaging service best fits this requirement?

  • A. Amazon SQS (Simple Queue Service) Standard Queue
  • B. Amazon SNS (Simple Notification Service) with a standard topic
  • C. Amazon SQS (Simple Queue Service) FIFO Queue✓ Correct
  • D. Amazon EventBridge with a default event bus
Explanation

Amazon SQS FIFO (First-In, First-Out) Queue guarantees that messages are processed exactly once and in the exact order they are sent, which matches the requirement for ordered processing by exactly one consumer (the fulfillment system). Amazon SNS with a standard topic is a pub/sub service designed to fan out messages to multiple subscribers — it does not guarantee ordering and is not ideal for a single-consumer, order-sensitive flow. Amazon SQS Standard Queue delivers messages at least once and does not guarantee ordering, so it would not satisfy the strict ordering requirement. Amazon EventBridge with a default event bus is an event routing service used for event-driven architectures across multiple services/targets; it is not designed for guaranteed ordered, single-consumer queuing.

4.

A company is planning to move their on-premises MySQL database to AWS. They want a managed service that automatically handles backups, patching, and failover to a standby instance in another Availability Zone if the primary instance fails. Which AWS service and feature combination best meets these requirements?

  • A. Amazon DynamoDB with global tables
  • B. Amazon Aurora with a single instance
  • C. Amazon RDS with Multi-AZ deployment✓ Correct
  • D. Amazon RDS with Read Replicas
Explanation

Amazon RDS with Multi-AZ deployment automatically provisions and maintains a synchronous standby replica in a different Availability Zone. In the event of a primary instance failure, RDS automatically fails over to the standby, minimizing downtime. It also handles automated backups and patching, meeting all stated requirements. Amazon RDS with Read Replicas improves read performance by creating asynchronous copies, but Read Replicas are not designed for automatic failover — they serve read traffic only. Amazon DynamoDB with global tables is a NoSQL solution for multi-region replication, not a MySQL replacement with Multi-AZ failover. Amazon Aurora with a single instance is a managed relational database but without a standby, it does not provide the automatic Multi-AZ failover the company requires.

5.

A company runs a business-critical application on AWS. The application uses an Amazon EC2 Auto Scaling group, an Application Load Balancer, Amazon RDS Multi-AZ, and static assets served from Amazon S3 via Amazon CloudFront. The company wants to define and enforce a maximum budget and automatically receive alerts when actual or forecasted spending is projected to exceed 80% of their monthly budget. Which combination of AWS services should they use? (Select TWO)

  • A. AWS Cost and Usage Report exported to Amazon S3
  • B. Amazon CloudWatch billing alarms set to the total monthly budget amount
  • C. AWS Budgets to define a monthly cost budget with alert thresholds✓ Correct
  • D. AWS Cost Explorer with Savings Plans recommendations
  • E. AWS Trusted Advisor cost optimization checks
  • F. AWS Budgets alert actions configured to notify via Amazon SNS✓ Correct
Explanation

AWS Budgets allows the company to set a defined monthly cost budget and configure alert thresholds (e.g., 80% of budgeted amount, or when forecasted spend is projected to exceed the threshold). AWS Budgets alert actions integrated with Amazon SNS automatically send notifications (emails, SMS, etc.) when those thresholds are breached, fulfilling the alerting requirement. AWS Cost Explorer provides visualization and analysis of past spending and Savings Plans recommendations, but it does not enforce budgets or send automated alerts based on thresholds. Amazon CloudWatch billing alarms can alert on actual charges but have more limited forecasting capability compared to AWS Budgets and require manual configuration of the threshold as an absolute dollar value; AWS Budgets is the purpose-built service for this use case. AWS Trusted Advisor cost optimization checks identify ways to reduce costs (e.g., idle resources) but do not monitor spending against a defined budget or send budget threshold alerts. AWS Cost and Usage Report exports raw billing data to S3 for analysis but does not provide alerting or budget enforcement functionality.

Test yourself across every CLF-C02 domain

The free CLF-C02 practice test mixes about 20 questions weighted like the exam. The full 250-question bank adds instant grading, flashcards and a timed mock exam.

Study this domain

Cloud Technology and Services study guide (CLF-C02) →

Other CLF-C02 domains

← All AWS Cloud Practitioner study resources