Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C03 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C03 exam

Exam AWS Certified Solutions Architect - Associate SAA-C03 topic 1 question 483 discussion

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.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
baba365
Highly Voted 1 year, 1 month ago
Lambda supports only Linux-based container images. https://docs.aws.amazon.com/lambda/latest/dg/images-create.html
upvoted 14 times
awsgeek75
10 months, 2 weeks ago
Not really. Lambda supports .Net 6 directly: https://aws.amazon.com/blogs/compute/introducing-the-net-6-runtime-for-aws-lambda/
upvoted 5 times
...
...
AmrFawzy93
Highly Voted 1 year, 6 months ago
Selected Answer: C
By using Amazon ECS on AWS Fargate, you can run the job in a containerized environment while benefiting from the serverless nature of Fargate, where you only pay for the resources used during the job's execution. Creating a scheduled task based on the container image of the job ensures that it runs every 10 minutes, meeting the required schedule. This solution provides flexibility, scalability, and cost-effectiveness.
upvoted 8 times
...
muhammadahmer36
Most Recent 3 months, 3 weeks ago
A A A A A A
upvoted 1 times
...
zinabu
7 months, 2 weeks ago
selected answer : A AWS Lambda now supports .NET 6 as both a managed runtime and a container base image
upvoted 3 times
...
xBUGx
7 months, 2 weeks ago
Selected Answer: A
https://aws.amazon.com/about-aws/whats-new/2022/02/aws-lambda-adds-support-net6/
upvoted 2 times
...
awsgeek75
10 months, 2 weeks ago
The question is weirdly phrased for .Net based containers. "A company containerized a Windows job that runs on .NET 6 Framework under a Windows container." This could mean that the job requires .Net 6 Framework OR it could mean the job requires Windows and .Net Framework 6. If the job is just based on .Net 6 then Lambda can run it. I am just a bit cautious about language because other parameters fall under Lambda. Question may have been wrongly quoted here.
upvoted 3 times
...
pentium75
10 months, 3 weeks ago
Selected Answer: C
I guess this is an old question from before August 2023, when AWS Batch did not support Windows containers, while ECS already did since September 2021. Thus it would be C, though now B does also work. Since both Batch and ECS are free, we'd pay only for the Fargate resources (which are identical in both cases), now B and C would be correct. A doesn't work because Lambda still does not support Windows containeres. D doesn't make sense because the container would have to run 24/7
upvoted 6 times
...
ftaws
11 months, 1 week ago
I think that Batch with Fargate is more cheaper than ECS.
upvoted 1 times
pentium75
10 months, 3 weeks ago
Both Batch and ECS are free. https://aws.amazon.com/de/ecs/pricing/ https://aws.amazon.com/de/batch/pricing/
upvoted 1 times
...
...
kt7
1 year ago
Selected Answer: B
Batch supports fargate now
upvoted 5 times
...
ccmc
1 year ago
Selected Answer: B
aws batch supports fargate
upvoted 2 times
...
deechean
1 year, 2 months ago
Selected Answer: C
C works. For A, the lambda support container image, but the container image much implement the Lambda Runtime API.
upvoted 1 times
markoniz
1 year, 2 months ago
Absolutely agree with this one ... Lambda do not support Windows container, on the other hand ECS is adequate solution
upvoted 2 times
...
...
Hades2231
1 year, 2 months ago
Selected Answer: B
As they support Batch on Fargate now (Aug 2023), the correct answer should be B?
upvoted 3 times
RDM10
1 year, 2 months ago
that's exactly my question too. In one of the discussions, they same lambda is for jobs for 15 min. But for other question, they same batch is the best. I do not understand why we cant use batch?
upvoted 1 times
...
...
Smart
1 year, 2 months ago
Selected Answer: A
https://docs.aws.amazon.com/lambda/latest/dg/csharp-image.html#csharp-image-clients
upvoted 1 times
pentium75
10 months, 3 weeks ago
But it's clearly "a Windows job". Lambda does not support Windows containers. (.NET 6 could also run under Linux, but they'd need to modify the container in any case.)
upvoted 1 times
...
...
Guru4Cloud
1 year, 3 months ago
Selected Answer: C
C is the most cost-effective solution for running a short-lived Windows container job on a schedule. Using Amazon ECS scheduled tasks on Fargate eliminates the need to provision EC2 resources. You pay only for the duration the task runs. Scheduled tasks handle scheduling the jobs and scaling resources automatically. This is lower cost than managing your own scaling via Lambda or Batch. ECS also supports Windows containers natively unlike Lambda (option A). Option D still requires provisioning and paying for full time EC2 resources to run a task scheduler even when tasks are not running.
upvoted 2 times
...
cd93
1 year, 3 months ago
August 2023, AWS Batch now support Windows container https://docs.aws.amazon.com/batch/latest/userguide/fargate.html#when-to-use-fargate
upvoted 1 times
cd93
1 year, 2 months ago
https://aws.amazon.com/blogs/containers/running-windows-containers-with-amazon-ecs-on-aws-fargate/
upvoted 1 times
...
...
wRhlH
1 year, 4 months ago
For those wonder why not B AWS Batch doesn't support Windows containers on either Fargate or EC2 resources. https://docs.aws.amazon.com/batch/latest/userguide/fargate.html#when-to-use-fargate:~:text=AWS%20Batch%20doesn%27t%20support%20Windows%20containers%20on%20either%20Fargate%20or%20EC2%20resources.
upvoted 2 times
lemur88
1 year, 2 months ago
They have now added support, which now makes B true? https://aws.amazon.com/about-aws/whats-new/2023/07/aws-batch-fargate-linux-arm64-windows-x86-containers-cli-sdk/
upvoted 1 times
cyber_bedouin
1 year, 1 month ago
the actual exam is not up-to-date, it came out in August 30, 2022
upvoted 1 times
...
...
...
mattcl
1 year, 5 months ago
A: Lambda supports containerized applications
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...