exam questions

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

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

Exam AWS Certified Solutions Architect - Associate SAA-C02 topic 1 question 346 discussion

A company is building its web application using containers on AWS. The company requires three instances of the web application to run at all times. The application must be able to scale to meet increases in demand. Management is extremely sensitive to cost but agrees that the application should be highly available.
What should a solutions architect recommend?

  • A. Create an Amazon Elastic Container Service (Amazon ECS) cluster using the Fargate launch type. Create a task definition for the web application. Create an ECS service with a desired count of three tasks.
  • B. Create an Amazon Elastic Container Service (Amazon ECS) cluster using the Amazon EC2 launch type with three container instances in one Availability Zone. Create a task definition for the web application. Place one task for each container instance.
  • C. Create an Amazon Elastic Container Service (Amazon ECS) cluster using the Fargate launch type with one container instance in three different Availability Zones. Create a task definition for the web application. Create an ECS service with a desired count of three tasks.
  • D. Create an Amazon Elastic Container Service (Amazon ECS) cluster using the Amazon EC2 launch type with one container instance in two different Availability Zones. Create a task definition for the web application. Place two tasks on one container instance and one task on the remaining container instance.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
TAvenger
Highly Voted 3 years, 7 months ago
I read all articles and my conclusion is "A". Here are two links that prove it 1. https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement.html By default, Fargate tasks are spread across Availability Zones. With all other tasks, default task placement strategies depend on whether you are running tasks manually or within a service. 2. https://aws.amazon.com/blogs/containers/amazon-ecs-availability-best-practices/ Fargate ensures Availability Zone spread while removing the complexity of managing EC2 infrastructure and works to ensure that Tasks in a Replica Service are balanced across Availability Zones. For RunTask launches with a Fargate launch type Fargate will look to spread Task placement across all available Availability Zones ensuring even distribution of the Task Definition Family that the Task belongs to.
upvoted 46 times
swadeey
3 years, 6 months ago
Clearly customer is looking for instances not Fargate "The company requires three instances of the web application to run at all times"
upvoted 1 times
securus
3 years, 6 months ago
instances is not EC2 instances
upvoted 7 times
...
...
Pravin3c
3 years, 6 months ago
Fargate ensures Availability Zone spread while removing the complexity of managing EC2 infrastructure and works to ensure that Tasks in a Replica Service are balanced across Availability Zones. For RunTask launches with a Fargate launch type Fargate will look to spread Task placement across all available Availability Zones ensuring even distribution of the Task Definition Family that the Task belongs to
upvoted 3 times
...
...
dmscountera
Highly Voted 3 years, 7 months ago
C. Create an Amazon Elastic Container Service (Amazon ECS) cluster using the Fargate launch type with one container instance in three different Availability Zones. Create a task definition for the web application. Create an ECS service with a desired count of three tasks.
upvoted 24 times
Heyang
3 years, 6 months ago
yep , I choose C."should be highly available." must C over A.
upvoted 2 times
...
patriktre
3 years, 6 months ago
you dont have to take care of instances placement in Fargate: Fargate ensures Availability Zone spread while removing the complexity of managing EC2 infrastructure and works to ensure that Tasks in a Replica Service are balanced across Availability Zones. answer A should be right
upvoted 10 times
Monbots
3 years, 6 months ago
https://aws.amazon.com/blogs/containers/amazon-ecs-availability-best-practices/
upvoted 1 times
...
swadeey
3 years, 6 months ago
So Fargate doesn't create instances, but customer is looking for 3 instances "The company requires three instances of the web application to run at all times"
upvoted 1 times
Edgarrt
3 years, 4 months ago
a task/pod/proccess is a instance of an app, instance doesnt mean EC2 instance
upvoted 2 times
...
...
...
...
BECAUSE
Most Recent 1 year, 11 months ago
Selected Answer: A
A is the answer
upvoted 1 times
...
qax2022
2 years, 8 months ago
Selected Answer: D
fargate is Costlier. Good for variable, short running tasks, ECS is a better choice.
upvoted 2 times
...
Salem_Express
3 years, 1 month ago
C is an answer
upvoted 1 times
...
envest
3 years, 3 months ago
IMO: A is more accessible & has same cost level: https://aws.amazon.com/blogs/containers/theoretical-cost-optimization-by-amazon-ecs-launch-type-fargate-vs-ec2/
upvoted 1 times
...
FF11
3 years, 4 months ago
Selected Answer: A
A seems correct.
upvoted 1 times
...
rav009
3 years, 4 months ago
A is right. Instances here means web instances, not EC2 instances. C is not right because by using Fargate you cannot specify the VM level configuration.
upvoted 1 times
...
Edgarrt
3 years, 4 months ago
Selected Answer: A
A. "AWS Fargate is a compute engine for ECS that removes the need to configure, manage, and scale EC2 instances. Fargate ensures Availability Zone spread while removing the complexity of managing EC2 infrastructure and works to ensure that Tasks in a Replica Service are balanced across Availability Zones" https://aws.amazon.com/blogs/containers/amazon-ecs-availability-best-practices/ Also remember, an instance can be a pod or task or en reference
upvoted 5 times
...
Sharan_25_v
3 years, 4 months ago
Selected Answer: A
Fargate being an serverless component always ensures the task is running and it is AWS responsibility to handle it
upvoted 2 times
...
Osemk
3 years, 5 months ago
C is ans
upvoted 1 times
...
FF11
3 years, 5 months ago
The replica scheduling strategy places and maintains the desired number of tasks across your cluster. You can use task placement strategies and constraints to customize task placement decisions. https://docs.aws.amazon.com/AmazonECS/latest/userguide/scheduling_tasks.html
upvoted 1 times
...
gargaditya
3 years, 5 months ago
B,C,D look incorrect; A 'ECS cluster' is a group of 'containers instances'(NOT 'containers'). 'Container instance' is essentially an EC2.How can it be in multiple AZ at same time? Moreover,C talks about using Fargate(serverless) with container instances which is incorrect. Scalability is not addressed in any. 'Container instance' contains many 'tasks' "service" defines min and max no of 'tasks'(having same task definition). Each 'task' contains multiple 'containers'. A is the answer.
upvoted 3 times
...
vvsandipvv
3 years, 6 months ago
One thing is for sure that the Management is highly demanding
upvoted 8 times
...
anirban7172
3 years, 6 months ago
the key point here "Management is extremely sensitive to cost" Answer "A" is the cheapest option. Hence A is the correct answer.
upvoted 2 times
...
KyleZheng
3 years, 6 months ago
How could D satisify " The application must be able to scale to meet increases in demand." ?
upvoted 3 times
...
Cotter
3 years, 6 months ago
I will choose A.
upvoted 4 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