
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A company containerized a Windows job that runs on .NET 6 Framework under a Windows container. The company wants to run this job in the AWS Cloud. The job runs every 10 minutes. The job's runtime varies between 1 minute and 3 minutes.
Which solution will meet these requirements MOST cost-effectively?
A
Create an AWS Lambda function based on the container image of the job. Configure Amazon EventBridge to invoke the function every 10 minutes.
B
Use AWS Batch to create a job that uses AWS Fargate resources. Configure the job scheduling to run every 10 minutes.
C
Use Amazon Elastic Container Service (Amazon ECS) on AWS Fargate to run the job. Create a scheduled task based on the container image of the job to run every 10 minutes.
D
Use Amazon Elastic Container Service (Amazon ECS) on AWS Fargate to run the job. Create a standalone task based on the container image of the job. Use Windows task scheduler to run the job every 10 minutes.
Explanation:
Correct Answer: A
Why Option A is the most cost-effective solution:
AWS Lambda with container image support: AWS Lambda now supports container images as deployment packages, which allows you to run Windows containers with .NET 6 Framework.
Pay-per-use pricing model: Lambda charges based on:
For a job that runs every 10 minutes for only 1-3 minutes each time, this is highly cost-effective because:
EventBridge scheduling: Amazon EventBridge can schedule Lambda invocations precisely every 10 minutes with minimal cost.
Why other options are less cost-effective:
Option B (AWS Batch with Fargate):
Option C (ECS on Fargate with scheduled tasks):
Option D (ECS on Fargate with Windows task scheduler):
Key Considerations:
Cost Comparison: