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

A solutions architect has an operational workload deployed on Amazon EC2 instances in an Auto Scaling group. The VPC architecture spans two Availability Zones (AZ) with a subnet in each that the Auto Scaling group is targeting. The VPC is connected to an on-premises environment and connectivity cannot be interrupted. The maximum size of the Auto Scaling group is 20 instances in service. The VPC IPv4 addressing is as follows:


VPC CIDR: 10.0.0.0/23 -

AZ1 subnet CIDR: 10.0.0.0/24 -

AZ2 subnet CIDR: 10.0.1.0/24 -

Since deployment, a third AZ has become available in the Region. The solutions architect wants to adopt the new AZ without adding additional IPv4 address space and without service downtime. Which solution will meet these requirements?

  • A. Update the Auto Scaling group to use the AZ2 subnet only. Delete and re-create the AZ1 subnet using half the previous address space. Adjust the Auto Scaling group to also use the new AZ1 subnet. When the instances are healthy, adjust the Auto Scaling group to use the AZ1 subnet only. Remove the current AZ2 subnet. Create a new AZ2 subnet using the second half of the address space from the original AZ1 subnet. Create a new AZ3 subnet using half the original AZ2 subnet address space, then update the Auto Scaling group to target all three new subnets.
  • B. Terminate the EC2 instances in the AZ1 subnet. Delete and re-create the AZ1 subnet using half the address space. Update the Auto Scaling group to use this new subnet. Repeat this for the second AZ. Define a new subnet in AZ3, then update the Auto Scaling group to target all three new subnets.
  • C. Create a new VPC with the same IPv4 address space and define three subnets, with one for each AZ. Update the existing Auto Scaling group to target the new subnets in the new VPC.
  • D. Update the Auto Scaling group to use the AZ2 subnet only. Update the AZ1 subnet to have half the previous address space. Adjust the Auto Scaling group to also use the AZ1 subnet again. When the instances are healthy, adjust the Auto Scaling group to use the AZ1 subnet only. Update the current AZ2 subnet and assign the second half of the address space from the original AZ1 subnet. Create a new AZ3 subnet using half the original AZ2 subnet address space, then update the Auto Scaling group to target all three new subnets.
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
YodaMaster
Highly Voted 1 year, 9 months ago
This question was painful to read.
upvoted 53 times
...
shaaam80
Highly Voted 1 year, 4 months ago
Selected Answer: A
Answer - A D is closest, but wrong as you subnets cannot be modified. They have to be deleted and re-created.
upvoted 14 times
...
youonebe
Most Recent 5 months ago
Selected Answer: D
D is the answer.
upvoted 1 times
...
Syre
7 months, 2 weeks ago
Selected Answer: D
A is wrong. It involves a complex process of deleting and recreating subnets, which could lead to downtime and operational complexity. Also, the approach of creating new subnets from the old address space is risky and can be prone to errors.
upvoted 1 times
...
duriselvan
1 year, 4 months ago
D is ans ere's why this option is the most suitable: Minimal downtime: It minimizes downtime by gradually shifting instances between subnets within the same VPC, ensuring continuous connectivity to the on-premises environment. No additional address space: It utilizes the existing IPv4 address space by splitting the subnets, avoiding the need for additional resources. Phased approach: It implements the changes in manageable steps, minimizing risk and allowing for rollback if necessary.
upvoted 2 times
...
gary_gary
1 year, 5 months ago
For the CIDR range, what's after '-'? Is something missing?
upvoted 1 times
...
Mikado211
1 year, 5 months ago
Selected Answer: A
B do not follow the need of no downtime C will force you to migrate to a new CIDR A and D are similar except that in A you recreate the subnets while in D you update the subnets. But you cannot update the subnets, you have to remove and recreate them. So A is the correct answer.
upvoted 8 times
...
totten
1 year, 6 months ago
Selected Answer: A
In a scenario where you must add a new AZ without service downtime, option A, which progressively transitions to new subnets in the new AZ while keeping the existing infrastructure running, is a better choice. This approach ensures high availability and minimal disruption to your services. Option D is not correct. You cannot update the CIDR block of an existing Amazon VPC subnet without recreating it.
upvoted 4 times
...
Blingy
1 year, 7 months ago
The question though lol had to look for the difference in the options to remember the answer. When it comes to a “delete “
upvoted 2 times
...
Arnaud92
1 year, 7 months ago
Selected Answer: D
D is easier, no need to delete the subnet. https://docs.aws.amazon.com/vpc/latest/userguide/subnet-cidr-reservation.html
upvoted 2 times
...
SK_Tyagi
1 year, 8 months ago
Selected Answer: A
Surely wasn't a 3 min ques. Thankfully they did not throw CIDR reservations into the mix
upvoted 3 times
...
NikkyDicky
1 year, 9 months ago
Selected Answer: A
A. can't update subnet
upvoted 3 times
...
Christina666
1 year, 9 months ago
These answers are big pain to read
upvoted 5 times
...
SmileyCloud
1 year, 10 months ago
Selected Answer: A
A - Correct. You can't modify subnet as D says.
upvoted 2 times
...
nexus2020
1 year, 10 months ago
Selected Answer: A
D: "Update the AZ1 subnet" in D is not possible. you have to delete and recreate a subnet, there is no update option B: service intruption C: is a joke.....
upvoted 4 times
...
Jackhemo
1 year, 10 months ago
Selected Answer: A
olabiba.ai says "A". Chatgpt kept bouncing between "B" & "D".
upvoted 1 times
...
bhanus
1 year, 10 months ago
Selected Answer: A
A is answer
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