Q65 — AWS SAA-C03 Ch.7

Question 65 of 65 | ← Chapter 7

Q495. A company uses an Amazon EC2 instance to run a script to poll for and process messages in an Amazon Simple Queue Service (Amazon SQS) queue. The company wants to reduce operational costs while maintaining its ability to process a growing number of messages that are added to the queue.What should a solutions architect recommend to meet these requirements?

Correct Answer: C. Migrate the script on the EC2 instance to an AWS Lambda function with the appropriate runtime.