Skip to Content

SAP-C02: Adopting a New Availability Zone in AWS Without Downtime

Gain a comprehensive understanding of VPC and Auto Scaling concepts. Learn how to effectively adopt new Availability Zones without adding additional IPv4 address space or causing service downtime.

Table of Contents

Question

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.

Answer

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.

Explanation

The goal is to adopt a new Availability Zone (AZ) without adding additional IPv4 address space and without service downtime. This means the solution needs to re-use the existing address space and ensure the Auto Scaling group continues to operate during the changes.

Option D achieves this by first moving all instances to the AZ2 subnet, freeing up the AZ1 subnet. The AZ1 subnet is then updated to use half of its previous address space. The Auto Scaling group is adjusted to use the updated AZ1 subnet. Once the instances in the AZ1 subnet are healthy, the Auto Scaling group is adjusted to use only the AZ1 subnet. This process is repeated for the AZ2 subnet, and a new AZ3 subnet is created using half of the original AZ2 subnet address space. Finally, the Auto Scaling group is updated to target all three new subnets.

This approach ensures that the Auto Scaling group continues to operate during the changes, and it effectively re-uses the existing address space to accommodate the new AZ.

Amazon AWS Certified Solutions Architect – Professional SAP-C02 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Amazon AWS Certified Solutions Architect – Professional SAP-C02 exam and earn Amazon AWS Certified Solutions Architect – Professional SAP-C02 certification.