Ultimate access to all questions.
A company seeks a cost-effective AWS solution to run a containerized Windows job based on .NET 6, executed every 6 minutes with variable runtime from 1 to 3 minutes. Which deployment strategy is most suitable?
Explanation:
The correct answer is A: Deploy as an AWS Lambda function triggered by Amazon EventBridge every 10 minutes. This is because AWS Lambda is a serverless compute service that allows you to run code without provisioning or managing servers. By using Amazon EventBridge to trigger the function, you only pay for the compute time you consume, which makes it highly cost-effective for jobs with short execution times, such as the one described. Options B, C, and D involve using AWS Fargate, which, while also serverless, may incur higher costs for frequent, short-duration tasks compared to Lambda.