
Answer-first summary for fast verification
Answer: Provision EC2 instances in an Auto Scaling group to poll the messages from an SQS queue
Provision EC2 instances in an Auto Scaling group to poll the messages from an SQS queue As each message takes more than 15 minutes to process, therefore the development team cannot use Lambda for message processing. To build a scalable solution, the EC2 instances must be provisioning via an Auto Scaling group to handle variations in the message processing workload.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A data analytics company is currently facing a challenge where it ingests a large number of messages and stores them in an Amazon RDS database using AWS Lambda functions. Due to the increased payload size, the processing time for each message has exceeded 15 minutes, which is beyond the maximum allowable execution time for Lambda functions.
As an AWS Certified Developer Associate, which of the following options would you recommend to efficiently process each message in the MOST scalable manner?
A
Contact AWS Support to increase the Lambda timeout to 60 minutes
B
Provision EC2 instances in an Auto Scaling group to poll the messages from an SQS queue
C
Use DynamoDB instead of RDS as database
D
Provision an EC2 instance to poll the messages from an SQS queue
No comments yet.