Skip to main content

DVA-C02 practice question · Development with AWS Services

An on-premises order system runs a self-managed, open source message broker cluster.

An on-premises order system runs a self-managed, open source message broker cluster. Producers publish over AMQP, and field devices subscribe over MQTT. The team wants AWS to handle broker setup, patching and maintenance, and it does not want to rewrite the existing messaging code. Which AWS service should the team use?

  • AAmazon MQ, running a managed broker that accepts the same standard messaging protocols
  • BAWS IoT Core, using its managed message broker for device publish and subscribe traffic
  • CAmazon MSK, running managed clusters that support existing open source client code unchanged
  • DAmazon SQS, using standard queues that scale automatically for producers and consumers
Show the answer and explanation

Correct answer: A) Amazon MQ, running a managed broker that accepts the same standard messaging protocols

Amazon MQ provides managed ActiveMQ and RabbitMQ brokers that speak standard protocols, so existing AMQP and MQTT applications can move without code changes. IoT Core supports MQTT but not AMQP, MSK uses the Kafka protocol, and SQS requires its own API.

Why each option is right or wrong

  • A) Correct. Amazon MQ is a managed message broker service for Apache ActiveMQ and RabbitMQ. It supports industry-standard messaging protocols, and existing brokers can be migrated to it without rewriting messaging code. AWS handles broker maintenance and version upgrades.
  • B) Incorrect. The IoT Core message broker supports MQTT, MQTT over WebSocket Secure and HTTPS. It doesn't accept AMQP, so the AMQP producers would have to be rewritten. It also isn't a drop-in replacement for a general-purpose open source broker.
  • C) Incorrect. Amazon MSK runs Apache Kafka. Existing Kafka clients work unchanged, but AMQP and MQTT clients don't, because MSK uses the Kafka protocol for producing and consuming data.
  • D) Incorrect. Applications reach SQS through its own API (SendMessage, ReceiveMessage, DeleteMessage), not through AMQP or MQTT broker connections. The messaging code would have to change.
Exam domain
Development with AWS Services · 32% of DVA-C02
Question type
Multiple choice (one answer)

Practise the full DVA-C02 exam

This question is one of a small free sample from the CertRidge DVA-C02 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with AWS; never copied from the real exam.

Worth reading: DVA-C02 cheat sheet, Lambda, DynamoDB, API Gateway, IAM and Cognito, messaging, CI/CD and X-Ray in tables, plus what DVA-C03 changes.