Courseiva
Cloud Technology and ServicesmediumMultiple ChoiceObjective-mapped

CLF-C02 Cloud Technology and Services Practice Question

Which AWS service provides a fully managed message broker supporting ActiveMQ and RabbitMQ protocols for migrating on-premises messaging systems to the cloud?

⚠ Common exam trap

It's easy for candidates to confuse Amazon MQ with Amazon SQS or SNS because all three are messaging services, but only Amazon MQ supports the specific ActiveMQ and RabbitMQ protocols needed for migrating existing on-premises brokers without code changes.

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 MQ

Amazon MQ is a fully managed message broker service that supports industry-standard protocols like AMQP (ActiveMQ) and MQTT/STOMP (RabbitMQ), making it ideal for migrating on-premises messaging systems without rewriting code. Unlike Amazon SQS or SNS, which are proprietary AWS services, Amazon MQ provides compatibility with existing ActiveMQ and RabbitMQ-based applications, enabling a seamless lift-and-shift migration to the cloud.

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 SQS

    Why it's wrong here

    Amazon SQS is a fully managed message queueing service, but it interacts via AWS-proprietary REST/Query APIs rather than industry-standard wire protocols such as AMQP, MQTT, OpenWire, or STOMP. A legacy on-premises application that uses the JMS interface with ActiveMQ or RabbitMQ cannot simply point its client at SQS because the connection library and messaging semantics are entirely different. Only by rewriting the application (or using an adapter) could it function, whereas Amazon MQ offers drop-in protocol compatibility.

  • Amazon SNS

    Why it's wrong here

    Amazon SNS is a pub/sub notification service that pushes messages to subscribers via HTTP/S, email, SMS, or AWS services like SQS and Lambda, not a protocol-compatible replacement for messaging brokers. Its API is AWS-specific and it does not implement the wire-level handshakes and frames that ActiveMQ or RabbitMQ clients use, so a Java Message Service (JMS) application would fail to connect. The service also provides no support for broker features such as exchanges/queues, routing keys, or message acknowledgment semantics used in RabbitMQ.

  • Amazon MQ

    Why this is correct

    Amazon MQ is a managed message broker service that provisions either Apache ActiveMQ or RabbitMQ clusters, giving you the exact endpoints (e.g., OpenWire, AMQP, MQTT, STOMP, or WebSocket) those engines expose. Because it natively speaks the same wire protocols and supports JMS, ActiveMQ artifacts, and RabbitMQ client libraries, an existing on-premises messaging workload can be lifted and shifted to AWS without rewriting application producer/consumer code. The service also provides automatic provisioning, failover via paired brokers, and durable storage, offloading operations while preserving compatibility.

  • Amazon Kinesis Data Streams

    Why it's wrong here

    Amazon Kinesis Data Streams is a massively scalable streaming ingestion service designed for real-time data analytics and big data pipelines, not for enterprise message brokering. Its API, through PutRecord and GetRecords actions, is AWS-proprietary and has no knowledge of ActiveMQ or RabbitMQ wire protocols, so a JMS/AMQP client cannot connect to it. Even architecturally it is different: consumers share the shard data and records expire after 24 hours (or up to 365 days with extended retention), whereas a message broker delivers an acknowledged message to a specific consumer.

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 →

How Courseiva writes practice questions · Editorial policy

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.