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 (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
baba365
Highly Voted 1 year, 2 months ago
Lambda supports only Linux-based container images. https://docs.aws.amazon.com/lambda/latest/dg/images-create.html
upvoted 14 times
awsgeek75
11 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 7 times
...
...
AmrFawzy93
Highly Voted 1 year, 7 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
...
LeonSauveterre
Most Recent 2 weeks, 4 days ago
Selected Answer: C
For B: Even though AWS Batch is free, I think it's more suitable for large-scale or relatively complex workloads, not lightweight periodic jobs. So B is not cost-effective (The cost depends on the compute resources you provision to execute the jobs, and maybe "cost-effective" somewhat involves less operational overhead because you have spent your money) If you require queueing for task prioritization or processing a backlog of tasks, or work on data processing over datasets where Batch excels, AWS Batch would be better!
upvoted 1 times
...
muhammadahmer36
4 months, 3 weeks ago
A A A A A A
upvoted 2 times
...
zinabu
8 months, 2 weeks ago
selected answer : A AWS Lambda now supports .NET 6 as both a managed runtime and a container base image
upvoted 4 times
...
xBUGx
8 months, 3 weeks ago
Selected Answer: A
https://aws.amazon.com/about-aws/whats-new/2022/02/aws-lambda-adds-support-net6/
upvoted 3 times
...
awsgeek75
11 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 4 times
...
pentium75
11 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 7 times
...
ftaws
1 year ago
I think that Batch with Fargate is more cheaper than ECS.
upvoted 1 times
pentium75
11 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 2 times
...
...
kt7
1 year, 1 month ago
Selected Answer: B
Batch supports fargate now
upvoted 6 times
...
ccmc
1 year, 1 month ago
Selected Answer: B
aws batch supports fargate
upvoted 3 times
...
deechean
1 year, 3 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, 3 months ago
Absolutely agree with this one ... Lambda do not support Windows container, on the other hand ECS is adequate solution
upvoted 3 times
...
...
Hades2231
1 year, 3 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, 3 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, 4 months ago
Selected Answer: A
https://docs.aws.amazon.com/lambda/latest/dg/csharp-image.html#csharp-image-clients
upvoted 1 times
pentium75
11 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 2 times
...
...
Guru4Cloud
1 year, 4 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, 4 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 2 times
cd93
1 year, 3 months ago
https://aws.amazon.com/blogs/containers/running-windows-containers-with-amazon-ecs-on-aws-fargate/
upvoted 2 times
...
...
wRhlH
1 year, 6 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, 4 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, 2 months ago
the actual exam is not up-to-date, it came out in August 30, 2022
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago