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 169 discussion

A company runs a web service on Amazon EC2 instances behind an Application Load Balancer. The instances run in an Amazon EC2 Auto Scaling group across two Availability Zones. The company needs a minimum of four instances at all times to meet the required service level agreement (SLA) while keeping costs low.
If an Availability Zone fails, how can the company remain compliant with the SLA?

  • A. Add a target tracking scaling policy with a short cooldown period.
  • B. Change the Auto Scaling group launch configuration to use a larger instance type.
  • C. Change the Auto Scaling group to use six servers across three Availability Zones.
  • D. Change the Auto Scaling group to use eight servers across two Availability Zones.
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
dfedeli
Highly Voted 3 years, 10 months ago
C. Change the Auto Scaling group to use six servers across three Availability Zones
upvoted 91 times
hashpirin
3 years, 7 months ago
If there is a failure at the same time in one instance of each auto-scaling group there will be a moment that you only have 3 instances running until the autoscaling replace the failure instances. The question explicitly says that 4 instances must be running all the time. Therefore, you may achieve this at any moment only with Answer D
upvoted 4 times
muhsin
3 years, 7 months ago
if there is a failure in any availability zone then we will still have 4 EC2s so the answer is C.
upvoted 2 times
...
Sharan_25_v
3 years, 5 months ago
6 instances across 3 az's so 2 per AZ and even if one goes Two Az's with 2 instances each will give 4 so it has to be C ..... D also works but C is more resilient because of additional AZ's
upvoted 7 times
...
...
IdrisAWS
3 years, 8 months ago
Answer is D as the Q mentions minimum 4 instance across 2 AZ's
upvoted 6 times
Jack1313
3 years, 8 months ago
6/3 = 2 instances per AZ, which still withholds the minimum of 4 requirement
upvoted 7 times
...
noahsark
3 years, 8 months ago
C: Change the Auto Scaling group to use six servers across three Availability Zones. "keeping costs low"
upvoted 9 times
...
heretyopy
3 years, 6 months ago
a minimum of 4 instances but not necessarily in one AZ
upvoted 2 times
...
...
galgabor
3 years, 3 months ago
"instances are distributed across two Availability Zones." So when 1 AZ of 2 fails, remain 3 instances of 6. There must be 4 instances, so i think answer is D.
upvoted 1 times
Taner22
3 years ago
If AZ 1 fails, ASG has "min capacity" parameter which is should be 4, so ASG run 2 instances in AZ 2 where already exist 2 instances and in sum will be 4.
upvoted 2 times
...
...
...
Paitan
Highly Voted 3 years, 10 months ago
Needs to run 4 instances at all time. So we need 2 instances each in 3 AZs. So answer is C. Option D also works but it will cost two more instances.
upvoted 51 times
Harry_ok
3 years, 9 months ago
Why you decided their Region has 3 AZs? There are Regions with only 2 AZs - Beiging and Northern California. https://aws.amazon.com/about-aws/global-infrastructure/regions_az/
upvoted 5 times
dzenadcu
3 years, 9 months ago
It did not specify the region. Requirements are: - minimum 4 instances at all times (no matter the AZs) - cost-effective The correct answer for both requirements is C!
upvoted 9 times
Always_Wanting_Stuff
3 years, 8 months ago
The question says that they have 2 AZs already. It matters.
upvoted 2 times
spoo1120
2 years, 10 months ago
yeah but it doesn't say that the region ONLY has two AZ's
upvoted 1 times
...
...
...
...
Sharan_25_v
3 years, 6 months ago
Has to be D it is mentioned clearly in question 2 Availability Zone not sure from where 3 AZ's came
upvoted 3 times
...
MegatonN
3 years, 9 months ago
question says: The instances run in an Amazon EC2 Auto Scaling group across two Availability Zones. 2 AZ minimum all the time must be 4 2x4 = 8 => D
upvoted 68 times
VeeraB
3 years, 8 months ago
You are spot on, its minimum all the time must be 4. Hence the lowest cost will be achieved by having 8 instances across 2 AZ(4 per each AZ)
upvoted 2 times
Flass
3 years, 8 months ago
Humm... <<while keeping cost low>> if we double up the compute, you can expect douling up the cost... This actually invalidates D.
upvoted 3 times
...
...
Flass
3 years, 8 months ago
Agree, in other words: Fault tolerant!
upvoted 1 times
...
rubytong
3 years, 9 months ago
Firstly I choose C, but after reading comments, I changed my mind to D. "Amazon EC2 Auto Scaling group across two Availability Zones". ALB configured with 2 subnets, increasing one more AZ must update ALB, and not sure if there are other services/layers like DB which app using just available in 2 AZs, so creasing instances in one more AZ causing AZ data transfer cost as well
upvoted 3 times
Umapada
2 years, 9 months ago
Same here. Initially I choose C but you are right, adding an availability zone has many other implications
upvoted 1 times
...
...
...
...
Uzbekistan
Most Recent 1 year, 4 months ago
Selected Answer: C
Option C, "Change the Auto Scaling group to use six servers across three Availability Zones," is the most appropriate choice. This configuration spreads the workload across multiple zones, ensuring that even if one Availability Zone fails, the service remains available in other zones, meeting the SLA requirement of a minimum of four instances at all times.
upvoted 1 times
...
mfaktas
1 year, 8 months ago
It cannot be A come onnnnn !!!!
upvoted 1 times
...
YanisGTR
2 years, 4 months ago
The company needs a minimum of "four" instances at all times to meet the required service level agreement (SLA) while keeping costs low. If an Availability Zone fails, how can the company !remain compliant with the SLA!? so ans simple > "D"
upvoted 1 times
...
binrayelias
2 years, 8 months ago
C and D are good for minimum 4 instances running all the time but only C is correct cuz C is cheaper than D. 6 server in 3 AZ so 2 server in each AZ so 4 min is still okay if one AZ goes down.
upvoted 1 times
...
qax2022
2 years, 10 months ago
Selected Answer: D
Target Tracking – scale based on target value for a specific CloudWatch metric, not number of instances.
upvoted 2 times
...
bikshu
2 years, 10 months ago
Selected Answer: C
will go with C
upvoted 1 times
...
Root_Access
2 years, 11 months ago
Selected Answer: C
Having more instances in two AZs wont increase SLA. https://docs.aws.amazon.com/wellarchitected/latest/reliability-pillar/example-implementations-for-availability-goals.html
upvoted 1 times
...
lbertolini
2 years, 11 months ago
Selected Answer: C
three AZs are more resilient, and is less expensive than 8 instances
upvoted 1 times
...
jyrajan69
3 years ago
Simple rule, 8 servers more expensive than 6, so answer is obvious , C
upvoted 1 times
...
AttackOnMinion
3 years ago
Selected Answer: C
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
upvoted 1 times
...
Taner22
3 years ago
Selected Answer: A
We have two requirements we have to meet 1. at least 4 instances should be run at one time 2. keeping expenses low. A - my answer. I would like to see here something like that "keep 4 instances across three Availability Zones". But we have what we have. B - there are no needs to run more powerful instances. C - it increases availability and fault tolerance, however it increases costs, while we can use 4 instances, with answer C we will use 6 instances which mean higher costs. D - less fault tolerance as C but with higher costs.
upvoted 3 times
...
naveenagurjara
3 years ago
Selected Answer: C
Costs should be kept low.. D ruled out... No changes need at app level or to others parts of infra as ASG masks this.
upvoted 2 times
...
GBAU
3 years, 2 months ago
Selected Answer: C
A appears wrong as : What is target tracking scaling policy? A target tracking scaling policy assumes that it should scale out your Auto Scaling group when the specified metric is above the target value. You cannot use a target tracking scaling policy to scale out your Auto Scaling group when the specified metric is below the target value. So in theory, if you could scale using a target scaling policy, and the instance count dropped BELOW 4, it can't be used to scale out (add instances) Source: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-target-tracking.html B: Is irrelevant as its not the size that counts C wins as this will leave 4 instances online if one availability zone fails at a lower cost that D D looses as this will leave 4 instances running even if an availability zone fails but at a higher cost to C.
upvoted 1 times
...
sylax
3 years, 2 months ago
Selected Answer: C
The two key requirement are multi AZ and minimum of 4 instances. To achieve this you need to increase both the AZ and instance count. 3 AZ allows for one fail AZ, which will leave 2 AZ online with 4 instances assuming 2 instances in each AZ.
upvoted 1 times
...
esinan
3 years, 2 months ago
Selected Answer: A
- Fault tolerant: 4 instances each AZ. Each of one down, there are already 4 instances up. - SLA: At least 4 instances. It might be down some AZ. SLA preserve at least 99.99% uptime. Question mentioned low cost. This means 2 instances could be create when an AZ down. I opted A.
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 ...