New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon SAP-C02 Exam - Topic 10 Question 45 Discussion

Actual exam question for Amazon's SAP-C02 exam
Question #: 45
Topic #: 10
[All SAP-C02 Questions]

A company is running a large containerized workload in the AWS Cloud. The workload consists of approximately 100 different services. The company uses Amazon Elastic Container Service (Amazon ECS) to orchestrate the workload.

Recently, the company's development team started using AWS Fargate instead of Amazon EC2 instances in the ECS cluster. In the past, the workload has come close to running the maximum number of EC2 instances that are available in the account.

The company is worried that the workload could reach the maximum number of ECS tasks that are allowed. A solutions architect must implement a solution that will notify the development team when Fargate reaches 80% of the maximum number of tasks.

What should the solutions architect do to meet this requirement?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Regenia
3 months ago
Wait, can Fargate really handle that many tasks? Sounds risky!
upvoted 0 times
...
Laquanda
3 months ago
D seems overly complicated for this requirement.
upvoted 0 times
...
Gracia
3 months ago
Not sure about C, polling metrics sounds a bit inefficient.
upvoted 0 times
...
Wilbert
4 months ago
I think B is better since it directly monitors service quotas.
upvoted 0 times
...
Fatima
4 months ago
Option A seems like the most straightforward approach!
upvoted 0 times
...
Lauryn
4 months ago
I vaguely recall something about AWS Config rules, but I don't think that's the best way to handle task notifications. It seems more suited for compliance checks.
upvoted 0 times
...
Marti
4 months ago
I feel like using a Lambda function to poll metrics could be overkill. We should probably stick with CloudWatch alarms for simplicity, right?
upvoted 0 times
...
Nan
4 months ago
I think option B sounds familiar because it mentions monitoring service quotas, which we practiced in a similar question. That might be the right approach.
upvoted 0 times
...
Pamela
5 months ago
I remember we discussed using CloudWatch for monitoring, but I'm not sure if it's the Sample Count or the service quotas we should focus on for Fargate tasks.
upvoted 0 times
...
Margo
5 months ago
Creating a custom Lambda function to poll the metrics seems a bit overkill for this use case. I'd prefer to use the native CloudWatch monitoring capabilities if possible.
upvoted 0 times
...
Ciara
5 months ago
Okay, I think I've got this. The key is to monitor the Fargate task usage against the service quota, and set an alarm to notify the team when it reaches 80%. Option B looks like the best approach for that.
upvoted 0 times
...
Kanisha
5 months ago
Hmm, I'm a bit confused about the difference between monitoring the Sample Count statistic and the service quota metric. I'll need to read through the options carefully to understand the nuances.
upvoted 0 times
...
Tran
5 months ago
This seems like a straightforward CloudWatch monitoring question. I'll focus on understanding the different options and choosing the most efficient one.
upvoted 0 times
...
Hyman
1 year ago
Ha! Monitoring the 'Sample Count' statistic? That's a bit of a stretch, don't you think? I'm going with option B, it just seems the most logical.
upvoted 0 times
Michael
1 year ago
Using Amazon SNS to notify the development team is a smart move.
upvoted 0 times
...
Edwin
1 year ago
Definitely, setting an alarm for when the metric is greater than 80% is a good idea.
upvoted 0 times
...
Fernanda
1 year ago
I agree, monitoring service quotas with CloudWatch makes sense.
upvoted 0 times
...
Nichelle
1 year ago
Option B seems like the most logical choice.
upvoted 0 times
...
...
Abraham
1 year ago
I'm leaning towards option D. Using AWS Config to evaluate the Fargate service quota and then sending an email notification sounds like a solid solution.
upvoted 0 times
Felix
1 year ago
Agreed, AWS Config rule to evaluate the Fargate service quota and then notify via email seems like a straightforward solution.
upvoted 0 times
...
Garry
1 year ago
I think using Amazon SES to send email notifications is a reliable way to alert the development team.
upvoted 0 times
...
Anglea
1 year ago
Option D seems like a good choice. AWS Config can help monitor the Fargate service quota.
upvoted 0 times
...
...
Rhea
1 year ago
I think option B is the way to go. Monitoring the service quota directly and setting an alarm when it reaches 80% makes the most sense to me.
upvoted 0 times
Pamella
1 year ago
Option B provides a clear solution to monitor and notify the team when the Fargate tasks are close to reaching the maximum limit.
upvoted 0 times
...
Eveline
1 year ago
I think setting an alarm for when the service quota reaches 80% is a proactive way to manage the workload.
upvoted 0 times
...
Lashawn
1 year ago
Using CloudWatch to monitor the service quotas and then notifying the development team with SNS is a good approach.
upvoted 0 times
...
Marya
1 year ago
I agree, option B seems like the most direct way to monitor and set an alarm for the service quota.
upvoted 0 times
...
...
Aleta
1 year ago
I agree with you, King. Using CloudWatch to monitor Sample Count statistic makes sense.
upvoted 0 times
...
King
1 year ago
I think option A is the best choice.
upvoted 0 times
...
Vinnie
1 year ago
Hmm, I'm not sure about the correct answer here. Using CloudWatch to monitor the service quota seems like the most straightforward approach, but I'm curious about the other options too.
upvoted 0 times
Ashley
1 year ago
D) Create an AWS Config rule to evaluate whether the Fargate SERVICE_QUOTA is greater than 80. Use Amazon Simple Email Service (Amazon SES) to notify the development team when the AWS Config rule is not compliant.
upvoted 0 times
...
Angella
1 year ago
C) Create an AWS Lambda function to poll detailed metrics from the ECS cluster. When the number of running Fargate tasks is greater than 80, invoke Amazon Simple Email Service (Amazon SES) to notify the development team.
upvoted 0 times
...
Evan
1 year ago
B) Use Amazon CloudWatch to monitor service quotas that are published under the AWS/Usage metric namespace. Set an alarm for when the math expression metric/SERVICE_QUOTA(metric)*100 is greater than 80. Notify the development team by using Amazon Simple Notification Service (Amazon SNS).
upvoted 0 times
...
Hollis
1 year ago
A) Use Amazon CloudWatch to monitor the Sample Count statistic for each service in the ECS cluster. Set an alarm for when the math expression sample count/SERVICE_QUOTA(service)*100 is greater than 80. Notify the development team by using Amazon Simple Notification Service (Amazon SNS).
upvoted 0 times
...
...

Save Cancel