exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

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

Exam AWS Certified Solutions Architect - Professional topic 1 question 692 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 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
KevinZhong
Highly Voted 3 years, 8 months ago
A ------------------------- https://aws.amazon.com/premiumsupport/knowledge-center/vpc-ip-address-range/?nc1=h_ls It's not possible to modify the IP address range of an existing virtual private cloud (VPC) or subnet. You must delete the VPC or subnet, and then create a new VPC or subnet with your preferred CIDR block.
upvoted 21 times
...
nitinz
Highly Voted 3 years, 8 months ago
A sounds like it
upvoted 6 times
...
evargasbrz
Most Recent 2 years, 5 months ago
Selected Answer: A
I'll go with A!
upvoted 1 times
...
kangtamo
2 years, 11 months ago
Selected Answer: A
Agree with A.
upvoted 4 times
...
dev10
3 years, 1 month ago
Selected Answer: B
You need to terminate the instances before you can delete the subnet which option B states. If you no longer need a subnet, you can delete it. You cannot delete a subnet if it contains any network interfaces. For example, you must terminate any instances in a subnet before you can delete it. link: https://docs.aws.amazon.com/vpc/latest/userguide/working-with-subnets.html A: It says delete and recreate, however you need to terminate instances as well which option B points out clearly. C: does not allow to use this approach as VPC is physically attached to on-prem D: Modify is not allowed, you need to delete and create subnets
upvoted 3 times
fanq10
2 years, 7 months ago
You do not need to terminate instances as when you update ASG only use AZ1, it will automatically recreate instances in AZ1, once all the instances created in AZ1, then you can delete the subnet. Tested it in my lab. So answer is A.
upvoted 4 times
...
...
AzureDP900
3 years, 6 months ago
It is A
upvoted 1 times
...
andylogan
3 years, 7 months ago
It's A - cannot modify
upvoted 2 times
...
tgv
3 years, 7 months ago
AAA ---
upvoted 1 times
...
WhyIronMan
3 years, 7 months ago
I'll go with A
upvoted 2 times
...
mustpassla
3 years, 7 months ago
A, no downtime, D is incorrect as CIDR cant be updated in this case.
upvoted 3 times
...
vkbajoria
3 years, 8 months ago
it is A, cannot modify CIDR block
upvoted 2 times
...
Waiweng
3 years, 8 months ago
it's A
upvoted 3 times
...
eji
3 years, 8 months ago
The answer is A because we cannot modify the IPv4 CIDR for the subnet so we need to delete and recreate
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 ...