
Answer-first summary for fast verification
Answer: Deploy as an AWS Lambda function triggered by Amazon EventBridge every 10 minutes.
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.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
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?
A
Deploy as an AWS Lambda function triggered by Amazon EventBridge every 10 minutes.
B
Utilize AWS Batch with Fargate for scheduled execution every 10 minutes.
C
Run on Amazon ECS with Fargate using a scheduled task from the container image every 10 minutes.
D
Execute on Amazon ECS with Fargate using a standalone task managed by the Windows scheduler every 10 minutes.