AWS Certified Solutions Architect – Professional (SAP-C02) — Question 132

A company runs a proprietary stateless ETL application on an Amazon EC2 Linux instances. The application is a Linux binary, and the source code cannot be modified. The application is single-threaded, uses 2 GB of RAM, and is highly CPU intensive. The application is scheduled to run every 4 hours and runs for up to 20 minutes. A solutions architect wants to revise the architecture for the solution.

Which strategy should the solutions architect use?

Answer options

Correct answer: C

Explanation

The correct answer is C because AWS Fargate allows for running containerized applications without managing servers, which is ideal for the stateless ETL application. Option A is incorrect because AWS Lambda has execution time limits that would not accommodate the 20-minute runtime. Option B is not suitable since AWS Batch is designed for batch processing and not for stateless applications. Option D is less optimal as EC2 Spot Instances may lead to interruptions, which would be problematic for a scheduled task.