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?
- A. Increase the size of the EC2 instance to process messages faster.
- B. Use Amazon EventBridge to turn off the EC2 instance when the instance is underutilized.
- C. Migrate the script on the EC2 instance to an AWS Lambda function with the appropriate runtime. ✓
- D. Use AWS Systems Manager Run Command to run the script on demand.