exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 223 discussion

A company is developing a new on-demand video application that is based on microservices. The application will have 5 million users at launch and will have 30 million users after 6 months. The company has deployed the application on Amazon Elastic Container Service (Amazon ECS) on AWS Fargate. The company developed the application by using ECS services that use the HTTPS protocol.

A solutions architect needs to implement updates to the application by using blue/green deployments. The solution must distribute traffic to each ECS service through a load balancer. The application must automatically adjust the number of tasks in response to an Amazon CloudWatch alarm.

Which solution will meet these requirements?

  • A. Configure the ECS services to use the blue/green deployment type and a Network Load Balancer. Request increases to the service quota for tasks per service to meet the demand.
  • B. Configure the ECS services to use the blue/green deployment type and a Network Load Balancer. Implement Auto Scaling group for each ECS service by using the Cluster Autoscaler.
  • C. Configure the ECS services to use the blue/green deployment type and an Application Load Balancer. Implement an Auto Scaling group for each ECS service by using the Cluster Autoscaler.
  • D. Configure the ECS services to use the blue/green deployment type and an Application Load Balancer. Implement Service Auto Scaling for each ECS service.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
SmileyCloud
Highly Voted 10 months, 2 weeks ago
Selected Answer: D
A and B are out, it says the app uses HTTPS. C is out because we have Fargate and there is no Cluster Auto Scaling there. So, it's D because we have Service Auto Scaling. -> https://repost.aws/knowledge-center/ecs-fargate-service-auto-scaling
upvoted 15 times
emiliocb4
10 months, 1 week ago
NLB supports HTTPS so why excluding A?
upvoted 1 times
SmileyCloud
10 months ago
Unlike a Classic Load Balancer or an Application Load Balancer, a Network Load Balancer can't have application layer (layer 7) HTTP or HTTPS listeners. It only supports transport layer (layer 4) TCP listeners. HTTP and HTTPS traffic can be routed to your environment over TCP. https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environments-cfg-nlb.html#
upvoted 9 times
...
...
...
career360guru
Most Recent 5 months, 1 week ago
Selected Answer: D
Option D
upvoted 1 times
...
ggrodskiy
9 months, 2 weeks ago
Correct D.
upvoted 1 times
...
Hypercuber
9 months, 2 weeks ago
Selected Answer: D
Answer is D. For those voting C, remember that it's on Fargate, so there is no such cluster autoscaling.
upvoted 4 times
...
nicecurls
9 months, 4 weeks ago
Selected Answer: D
select D. for Fargate there is no Cluster Auto Scaling there.
upvoted 2 times
...
NikkyDicky
10 months ago
Selected Answer: D
D no NLB for ECS, no Cluster for Fargate
upvoted 2 times
vjp_training
8 months, 2 weeks ago
D is correct but you can use NLB for ECS. Key word is Service Auto Scaling https://docs.aws.amazon.com/AmazonECS/latest/userguide/create-network-load-balancer.html
upvoted 1 times
...
...
bhanus
10 months, 1 week ago
Selected Answer: D
@MODERATOR, PLEASE remove my previous comment as I mentioned C. As per comment from SmileyCloud , C is not correct because there is no Cluster Auto Scaling. D is the answer. Thank you @SmileyCloud for clarifying D is the answer
upvoted 2 times
...
SkyZeroZx
10 months, 1 week ago
Selected Answer: D
https://repost.aws/knowledge-center/ecs-fargate-service-auto-scaling
upvoted 2 times
...
easytoo
10 months, 2 weeks ago
d-d-d-d-d-d-d
upvoted 1 times
...
james55
10 months, 2 weeks ago
Selected Answer: D
"Amazon ECS cluster auto scaling is only supported with Auto Scaling group capacity providers. For Amazon ECS workloads that are hosted on AWS Fargate, see AWS Fargate capacity providers."
upvoted 2 times
...
bhanus
10 months, 2 weeks ago
Selected Answer: C
AB are eliminated because of NLB C has Auto Scaling Group with Cluster Autoscaler: As per ChatGPT - By implementing an Auto Scaling group for each ECS service using the Cluster Autoscaler, you can automatically adjust the number of tasks (containers) based on the demand. The Cluster Autoscaler scales the ECS tasks in response to CloudWatch alarms, allowing you to scale the infrastructure up or down to handle the increasing number of users.
upvoted 3 times
bhanus
10 months, 1 week ago
changing my vote to D as SmileyCloud pointed. for Fargate there is no Cluster Auto Scaling there.
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