CLF-C02 Cloud Technology and Services Practice Question
A company runs a web application on Amazon EC2 instances that accepts user uploads. The uploads need to be processed by a backend service that performs virus scanning and thumbnail generation. The backend processing can take up to 30 seconds per upload. Users should not experience delays when submitting their files. The company wants to decouple the web tier from the processing tier so that the web application can immediately return a response to the user while the processing happens asynchronously. The solution must be fully managed, durable, and scale automatically with demand. Which AWS service should the company use?
⚠ Common exam trap
Test-takers frequently confuse SNS with SQS because both are messaging services, but SNS is push-based and not designed for decoupled asynchronous processing where the consumer needs to pull messages at its own pace.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Amazon Simple Queue Service (Amazon SQS)
Amazon SQS is the correct choice because it provides a fully managed, durable, and scalable message queue that decouples the web tier from the processing tier. When a user uploads a file, the web application can immediately return a response after sending a message to an SQS queue, while the backend service polls the queue and processes the upload asynchronously, handling the up-to-30-second processing time without blocking the user.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Amazon Simple Notification Service (Amazon SNS)
Why it's wrong here
Amazon SNS is a publish/subscribe messaging service that pushes messages to subscribers (e.g., email, SMS, or HTTP endpoints). It does not provide a message queue where a consumer can poll and process at its own pace. If the backend is unavailable when a message is sent, the message could be lost or require complex retry logic. SNS is not designed for decoupling asynchronous work queues.
When this WOULD be correct
A company needs to send real-time notifications (e.g., email, SMS, HTTP endpoints) to multiple subscribers when a new file is uploaded, without requiring durable queuing or asynchronous processing. SNS would be correct for broadcasting alerts.
- ✓
Amazon Simple Queue Service (Amazon SQS)
Why this is correct
Amazon SQS is a fully managed message queuing service that allows you to decouple application components. The web application can send a message to a queue immediately after user upload, and the backend service can poll and process messages asynchronously. SQS stores messages durably and scales automatically, making it ideal for this use case.
- ✗
Amazon Kinesis Data Streams
Why it's wrong here
Amazon Kinesis Data Streams is designed for real-time ingestion of large data streams with multiple consumers, not for decoupling a request-response web tier from a long-running backend where each upload must be durably stored and processed once per file. The requirement for a fully managed, durable queue that holds each upload until the backend finishes virus scanning and thumbnail generation is met by Amazon Simple Queue Service (SQS), which provides exactly-once delivery and automatic scaling without the need for custom consumer logic. Kinesis would be tempting because it handles high-throughput streaming data, such as clickstreams or IoT telemetry, where records are processed in near-real-time by multiple applications, but it lacks the built-in per-message durability and single-consumer semantics needed for asynchronous job processing.
When this WOULD be correct
A company needs to ingest and process real-time clickstream data from millions of users, analyze it with multiple consumers (e.g., real-time dashboards and long-term storage), and requires low-latency data delivery. Amazon Kinesis Data Streams would be the correct choice because it supports multiple consumers processing the same stream concurrently and handles high-throughput data ingestion.
- ✗
Amazon MQ
Why it's wrong here
Amazon MQ is a managed message broker for ActiveMQ or RabbitMQ, but it does not natively support the fully managed, serverless, durable queue that automatically scales to handle asynchronous upload processing without provisioning infrastructure. The correct service, Amazon SQS, provides a fully managed, durable, and automatically scaling queue that decouples the web tier from the processing tier, allowing immediate user responses. Amazon MQ is tempting because it offers familiar JMS-compatible messaging for legacy applications, and would be correct if the company required compatibility with existing message-oriented middleware protocols rather than a native AWS queue service.
When this WOULD be correct
A company needs to migrate an existing on-premises application that uses JMS-compatible message brokers (like ActiveMQ or RabbitMQ) to AWS without rewriting the application code. Amazon MQ would be the correct choice because it provides a managed broker that supports standard messaging protocols and APIs, allowing a lift-and-shift migration.
Option-by-option analysis
Why each answer is right or wrong
Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The CLF-C02 exam frequently reuses these exact scenarios with slightly different constraints.
✓Amazon Simple Queue Service (Amazon SQS)Correct answer▾
Why this is correct
Amazon SQS is a fully managed message queuing service that allows you to decouple application components. The web application can send a message to a queue immediately after user upload, and the backend service can poll and process messages asynchronously. SQS stores messages durably and scales automatically, making it ideal for this use case.
✗Amazon Simple Notification Service (Amazon SNS)Wrong answer — click to see why▾
Why this is wrong here
Amazon SNS is a pub/sub messaging service for fan-out notifications, not for decoupling asynchronous processing with durable message queues. It does not provide the message retention, polling, or processing guarantees needed for backend tasks like virus scanning.
★ When this WOULD be the correct answer
A company needs to send real-time notifications (e.g., email, SMS, HTTP endpoints) to multiple subscribers when a new file is uploaded, without requiring durable queuing or asynchronous processing. SNS would be correct for broadcasting alerts.
Why candidates choose this
Candidates may confuse SNS with SQS because both are messaging services, but SNS is push-based and lacks the queue-based decoupling and durability required for asynchronous processing tasks.
✗Amazon Kinesis Data StreamsWrong answer — click to see why▾
Why this is wrong here
Amazon Kinesis Data Streams is designed for real-time streaming of large data volumes, not for decoupling a web tier from a processing tier with individual messages that need to be processed asynchronously. It lacks the built-in message visibility timeout and individual message lifecycle management that SQS provides for this use case.
★ When this WOULD be the correct answer
A company needs to ingest and process real-time clickstream data from millions of users, analyze it with multiple consumers (e.g., real-time dashboards and long-term storage), and requires low-latency data delivery. Amazon Kinesis Data Streams would be the correct choice because it supports multiple consumers processing the same stream concurrently and handles high-throughput data ingestion.
Why candidates choose this
Candidates may confuse Kinesis Data Streams with a message queue service because both handle asynchronous data flow, but Kinesis is optimized for streaming analytics rather than decoupling application components with individual message processing.
✗Amazon MQWrong answer — click to see why▾
Why this is wrong here
Amazon MQ is a managed message broker service for ActiveMQ and RabbitMQ, which is not fully managed in the sense of serverless scaling and requires provisioning and managing broker instances. It does not provide the same level of automatic scaling and durability as Amazon SQS, and is overkill for simple decoupling of web and processing tiers.
★ When this WOULD be the correct answer
A company needs to migrate an existing on-premises application that uses JMS-compatible message brokers (like ActiveMQ or RabbitMQ) to AWS without rewriting the application code. Amazon MQ would be the correct choice because it provides a managed broker that supports standard messaging protocols and APIs, allowing a lift-and-shift migration.
Why candidates choose this
Candidates may confuse Amazon MQ with a fully managed messaging service, not realizing that it still requires provisioning and managing broker instances, unlike the serverless SQS. They might also think that because it supports multiple protocols, it is more flexible and thus better for decoupling.
Analysis generated from the official CLF-C02blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”
Visual reference
Go deeper
Related to this question
About these practice questions
One of 988 original CLF-C02 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more way this is tested on CLF-C02
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A company runs a web application that accepts customer orders. During peak hours, the order processing component often becomes overloaded, causing orders to be dropped. The company wants to ensure that every order is reliably stored and processed, and that the web tier and the processing tier can scale independently without losing data. Which AWS service should the company use to decouple the application components and provide a durable buffer for incoming orders?
medium- ✓ A.Amazon Simple Queue Service (SQS)
- B.Amazon Simple Notification Service (SNS)
- C.Amazon Kinesis Data Streams
- D.AWS Step Functions
Why A: Amazon Simple Queue Service (SQS) is the correct choice because it provides a fully managed, durable, and scalable message queue that decouples the web tier from the processing tier. Orders are reliably stored in an SQS queue until the processing component retrieves them, ensuring no orders are dropped even during peak loads. SQS guarantees at-least-once delivery and supports independent scaling of producers and consumers without data loss.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This CLF-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CLF-C02 exam.