An insurance firm is designing a serverless system to process customer claims. The system receives claim applications that must be processed in the exact sequence they are submitted to prevent audit trail errors. The processing involves two steps: first, parsing and extracting metadata from the claim application (which takes less than 2 seconds); second, running a continuous claim verification model that analyzes historical database patterns over several hours. Which two AWS configurations will meet these requirements most cost-effectively? (Select two.)
- Configure an Amazon Simple Queue Service (Amazon SQS) FIFO queue to receive the claim applications and preserve message ordering.Answer
- Use an Amazon Elastic Container Service (Amazon ECS) service on AWS Fargate to run the continuous claim verification model.Answer
- CConfigure an Amazon SQS standard queue to receive the claim applications to maximize throughput.
- DUse an AWS Lambda function to run the continuous claim verification model.
- EProvision an Amazon DynamoDB table in Provisioned Capacity Mode to act as a buffer for the incoming claim applications.
Answer
Configure an Amazon SQS FIFO queue to receive the claim applications and preserve message ordering, and use an Amazon ECS service on AWS Fargate to run the continuous claim verification model.
To process claim applications in the exact sequence they are submitted, the architecture must utilize an Amazon SQS FIFO queue, which guarantees first-in, first-out delivery. For the claim verification model, because the process runs continuously for several hours, deploying the application as a container task on Amazon ECS with AWS Fargate is the most cost-effective and viable choice. Fargate provides a serverless execution environment with no time limit, unlike AWS Lambda, which is restricted to 15 minutes.
Step-by-Step Solution
Key Concept
Decoupling components using SQS FIFO queues for sequence preservation while pairing with containerized compute (Fargate) for long-running processes to optimize architectural cost and reliability.
Estimated Time:2m 0s