AWS Certified Cloud Practitioner — Question 513
An ecommerce application uses Java Message Service (JMS) messaging to communicate between its fulfillment center and the application after an order has been placed. The company wants to migrate its messaging application to AWS. The company also wants to minimize the effort used to rewrite the messaging code.
Which AWS service will meet these requirements?
Answer options
- A. Amazon Simple Notification Service (Amazon SNS)
- B. Amazon Simple Email Service (Amazon SES)
- C. Amazon Pinpoint
- D. Amazon MQ
Correct answer: D
Explanation
Amazon MQ is a managed message broker service that supports industry-standard APIs and protocols, including Java Message Service (JMS), making it the ideal choice for migrating legacy messaging systems to AWS with minimal code changes. Other services like Amazon SNS, Amazon SES, and Amazon Pinpoint do not natively support JMS and would require extensive rewriting of the application's messaging code.