Q9 — AWS SAA-C03 Ch.12

Question 9 of 100 | ← Chapter 12

Q809. A company has a multi-tier payment processing application that is based on virtual machines (VMs). The communication between the tiers occurs asynchronously through a third-party middleware solution that guarantees exactly-once delivery.The company needs a solution that requires the least amount of infrastructure management. The solution must guarantee exactly-once delivery for application messaging.Which combination of actions will meet these requirements? (Choose two.)

Correct Answer: A. Use AWS Lambda for the compute layers in the architecture., D. Use Amazon Simple Queue Service (Amazon SQS) FIFO queues as the messaging component between the compute layers.

Explanation

To meet the requirements of a solution that requires the least amount of infrastructure management while guaranteeing exactly-once delivery for application messaging in a multi-tier payment processing application, the recommended combination of actions is:A. Use AWS Lambda for the compute layers in the architecture.D. Use Amazon Simple Queue Service (Amazon SQS) FIFO queues as the messaging component between the compute layers.\1. Using AWS Lambda for the compute layers eliminates the need to manage virtual machines (VMs). AWS Lambda is a serverless compute service that automatically scales based on demand and only charges for the actual compute time consumed. This reduces infrastructure management overhead.\2. Using Amazon SQS FIFO queues as the messaging component ensures exactly-once delivery. FIFO queues maintain the order of messages and guarantee exactly-once delivery. The third-party middleware solution may still be used, but using SQS FIFO queues simplifies the messaging architecture by providing reliable and ordered message delivery.Here's why the other options are not the best fit for the given requirements:B. Using Amazon EC2 instances for the compute layers would require managing and scaling virtual machines, which adds infrastructure management overhead. It does not provide the serverless benefits of automatic scaling and reduced management.C. Using Amazon Simple Notification Service (Amazon SNS) as the messaging component is a publish/subscribe model and may not guarantee exactly-once delivery. While SNS can be used for messaging between tiers, it does not provide the same level of message ordering and exactly-once delivery guarantees as FIFO queues.E. Using containers based on Amazon Elastic Kubernetes Service (Amazon EKS) would still require managing the underlying infrastructure of the Kubernetes cluster. While containers provide some level of abstraction, they still require infrastructure management for the cluster setup, scaling, and maintenance.Therefore, the recommended combination of actions to meet the requirements is:A. Use AWS Lambda for the compute layers in the architecture.D. Use Amazon Simple Queue Service (Amazon SQS) FIFO queues as the messaging component between the compute layers.