Courseiva
Question 498 of 988
Cloud Technology and ServicesmediumMultiple ChoiceObjective-mapped

CLF-C02 Cloud Technology and Services Practice Question

A company has a two-tier web application. The front-end web servers run on Amazon EC2 instances in a public subnet. The back-end application servers process jobs that are submitted by the front end. The company wants to decouple the front-end and back-end tiers so that the back-end servers can process jobs as they are submitted, even if the front-end servers experience a spike in traffic. The solution must be durable and fully managed, and must allow the front-end servers to send job requests without waiting for the back-end servers to be available. Which AWS service should the company use to send the job requests from the front end to the back end?

⚠ Common exam trap

It's easy for candidates to confuse SNS (push-based, no durability for offline consumers) with SQS (pull-based, durable queue), or they overcomplicate the solution by selecting Kinesis Data Streams for its streaming capability, not recognizing that the requirement is simply a decoupled job queue, not real-time analytics.

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 (SQS)

Amazon Simple Queue Service (SQS) is the correct choice because it provides a fully managed, durable, and decoupled message queue that allows front-end EC2 instances to send job requests as messages. The back-end application servers can then poll and process these messages asynchronously, ensuring that spikes in front-end traffic do not overwhelm the back-end, and the front-end does not need to wait for back-end availability.

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 Queue Service (SQS)

    Why this is correct

    Amazon SQS is a fully managed message queue service that decouples application components. Front-end servers can send job requests to an SQS queue, and back-end servers process them asynchronously. Messages are stored durably across multiple Availability Zones, and the front end can continue sending requests without waiting for the back end to be ready. This correctly meets the requirement for a durable, fully managed decoupling solution.

  • Amazon Simple Notification Service (SNS)

    Why it's wrong here

    Amazon SNS is a pub/sub notification service that pushes messages to subscribers, but it lacks a queue-based buffer; without a durable, pull-based queue, front-end servers would have to wait for back-end availability or risk losing messages during traffic spikes. It is tempting because SNS can fan out job notifications to multiple endpoints, and in scenarios requiring real-time alerts or parallel message distribution to many subscribers, it would be the correct choice.

    When this WOULD be correct

    A company needs to send real-time notifications to multiple subscribers (e.g., email, SMS, Lambda functions) when a new file is uploaded to S3. The solution must support fan-out to many endpoints and does not require durable message storage or asynchronous job processing.

  • Amazon Kinesis Data Streams

    Why it's wrong here

    Amazon Kinesis Data Streams is designed for real-time ingestion and processing of large, continuous streams of data, such as logs or clickstreams, for analytics. While it offers decoupling and durability, it is not optimised for discrete job requests that require a message queue's "process once and remove" semantic. Its shard-based model is geared towards parallel processing of data records, not individual task orchestration, making it unsuitable for simple job submission.

    When this WOULD be correct

    A company needs to ingest and process real-time clickstream data from a web application, analyze it with multiple consumers (e.g., for fraud detection and analytics), and retain the data for up to 7 days. Kinesis Data Streams would be correct for this streaming data ingestion and parallel consumption scenario.

  • AWS Step Functions

    Why it's wrong here

    AWS Step Functions is a serverless orchestration service that lets you coordinate multiple AWS services into a workflow. It is used to define state machines that sequence tasks, add branching logic, and handle errors. While Step Functions can call SQS, it is not itself a queue. It does not store messages durably for later processing by a fleet of workers; rather, it directly invokes services. For simple decoupling of front-end and back-end, SQS is the appropriate choice.

    When this WOULD be correct

    A company needs to coordinate a multi-step workflow that involves multiple AWS services (e.g., invoking a Lambda function, processing data, and then sending a notification) with error handling and retries. Step Functions would be the correct choice to manage the state machine and execution flow.

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 (SQS)Correct answer

Why this is correct

Amazon SQS is a fully managed message queue service that decouples application components. Front-end servers can send job requests to an SQS queue, and back-end servers process them asynchronously. Messages are stored durably across multiple Availability Zones, and the front end can continue sending requests without waiting for the back end to be ready. This correctly meets the requirement for a durable, fully managed decoupling solution.

Amazon Simple Notification Service (SNS)Wrong answer — click to see why

Why this is wrong here

Amazon SNS is a pub/sub messaging service that pushes messages to subscribers, but it does not provide durable storage or allow decoupling where the front end sends requests without waiting for the back end. SNS would require the back end to be available to receive messages, and it lacks the queue-based buffering needed for spike handling.

★ When this WOULD be the correct answer

A company needs to send real-time notifications to multiple subscribers (e.g., email, SMS, Lambda functions) when a new file is uploaded to S3. The solution must support fan-out to many endpoints and does not require durable message storage or asynchronous job processing.

Why candidates choose this

Candidates may confuse SNS with SQS because both are messaging services, and they might think SNS can queue messages for later processing, but SNS is designed for push notifications, not decoupled job queues.

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 job requests between tiers. It requires consumers to poll or use KCL, and does not inherently provide the durable, fully managed queue semantics needed for job processing without waiting.

★ When this WOULD be the correct answer

A company needs to ingest and process real-time clickstream data from a web application, analyze it with multiple consumers (e.g., for fraud detection and analytics), and retain the data for up to 7 days. Kinesis Data Streams would be correct for this streaming data ingestion and parallel consumption scenario.

Why candidates choose this

Candidates may confuse Kinesis Data Streams with a message queue, thinking it can decouple components, but it is optimized for streaming data, not for individual job requests with durable, asynchronous processing.

AWS Step FunctionsWrong answer — click to see why

Why this is wrong here

AWS Step Functions is a serverless orchestration service that coordinates multiple AWS services into workflows, but it is not designed for decoupling front-end and back-end tiers with durable, asynchronous job queuing. It does not provide a buffer for spikes in traffic or allow front-end servers to send requests without waiting for back-end availability.

★ When this WOULD be the correct answer

A company needs to coordinate a multi-step workflow that involves multiple AWS services (e.g., invoking a Lambda function, processing data, and then sending a notification) with error handling and retries. Step Functions would be the correct choice to manage the state machine and execution flow.

Why candidates choose this

Candidates may confuse Step Functions as a solution for decoupling because it can manage asynchronous tasks and integrate with other services, but they overlook that it lacks the durable message queuing capability required for buffering requests during traffic spikes.

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

192.168.1.0 /24 256 addresses (254 usable) 192.168.1.0 /25 Subnet A 128 addr (126 usable) 192.168.1.128 /25 Subnet B 128 addr (126 usable) Borrowing 1 bit from host portion creates 2 subnets (/25)

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

2 more ways 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 monolithic order processing application on a single Amazon EC2 instance. During peak hours, the instance receives a sudden burst of orders that exceeds its processing capacity. Orders are dropped and customers do not receive confirmations. The company needs a solution that buffers incoming orders, stores them durably, and allows the application to process them at a manageable pace. The solution must be fully managed and ensure that no orders are lost. Which AWS service should the company use to meet these requirements?

medium
  • A.Amazon Simple Queue Service (SQS)
  • B.Amazon Simple Notification Service (SNS)
  • C.Amazon Kinesis Data Firehose
  • D.Amazon ElastiCache

Why A: Amazon Simple Queue Service (SQS) is a fully managed message queuing service that decouples application components. It durably stores incoming orders in a queue, allowing the EC2 instance to poll and process them at its own pace, preventing order loss during traffic bursts. SQS guarantees at-least-once delivery and provides a buffer that absorbs spikes in demand.

Variation 2. A company runs a monolithic web application on Amazon EC2 that processes user-uploaded files synchronously. During peak hours, the application experiences slow response times because the file processing blocks the web server. The company wants to decouple the upload process from the file processing to improve responsiveness and allow each component to scale independently. The file processing backend must poll for new work and handle failures gracefully by retrying failed messages. Which AWS service should the company use to implement this decoupling?

medium
  • A.Amazon Simple Notification Service (SNS)
  • B.Amazon Simple Queue Service (SQS)
  • C.Amazon Kinesis Data Streams
  • D.Amazon MQ

Why B: Amazon Simple Queue Service (SQS) is the correct choice because it provides a fully managed message queue that decouples the upload process from the file processing backend. The web server can immediately return a response after placing a message in the SQS queue, while the backend workers poll the queue for new work. SQS also supports dead-letter queues and configurable redrive policies to handle failures gracefully by retrying failed messages.

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.