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

A company is using a VPC that is provisioned with a 10.10.1.0/24 CIDR block. Because of continued growth, IP address space in this block might be depleted soon. A solutions architect must add more IP address capacity to the VPC.
Which solution will meet these requirements with the LEAST operational overhead?

  • A. Create a new VPC. Associate a larger CIDR block.
  • B. Add a secondary CIDR block of 10.10.2.0/24 to the VPC.
  • C. Resize the existing VPC CIDR block from 10.10.1.0/24 to 10.10.1.0/16.
  • D. Establish VPC peering with a new VPC that has a CIDR block of 10.10.1.0/16.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
avast_rej
Highly Voted 3 years, 5 months ago
B https://docs.aws.amazon.com/vpc/latest/userguide/working-with-vpcs.html Associate a secondary IPv4 CIDR block with your VPC You can add another IPv4 CIDR block to your VPC. Ensure that you have read the applicable restrictions. After you've associated a CIDR block, the status goes to associating. The CIDR block is ready to use when it's in the associated state. The Amazon Virtual Private Cloud Console provides the status of the request at the top of the page. To add a CIDR block to your VPC using the console Open the Amazon VPC console at https://console.aws.amazon.com/vpc/ . In the navigation pane, choose Your VPCs. Select the VPC, and then choose Actions, Edit CIDRs. Choose Add new IPv4 CIDR. Enter the CIDR block; for example, 10.2.0.0/16. Choose Save. Choose Close. To add a CIDR block using a command line tool associate-vpc-cidr-block (AWS CLI) Register-EC2VpcCidrBlock (AWS Tools for Windows PowerShell) After you've added the IPv4 CIDR blocks that you need, you can create subnets. For more information, see Create a subnet in your VPC.
upvoted 23 times
Mandalorian24
3 years, 1 month ago
had no idea this was even possible
upvoted 6 times
...
...
balmo
Most Recent 2 years, 9 months ago
A: New VPC without VPC Peering? B: Correct C: You cannot increase or decrease the size of an existing CIDR block. D: With VPC Peering, two CIDRs should not overlap. New VPC's CIDR will overlap with the existing VPC's CIDR 10.10.1.0/24. https://docs.aws.amazon.com/vpc/latest/userguide/configure-your-vpc.html#vpc-sizing
upvoted 3 times
...
Nil746
2 years, 11 months ago
Why C cant be the answer, it can give us more Ip address than /24? Please if anyone can explain, B also seems ok but why will we create another secondary VPC.
upvoted 1 times
balmo
2 years, 9 months ago
You cannot increase or decrease the size of an existing CIDR block. https://docs.aws.amazon.com/vpc/latest/userguide/configure-your-vpc.html#vpc-sizing
upvoted 1 times
...
...
Arshadul
2 years, 11 months ago
we can either: Add an additional IPv4 CIDR block as a secondary CIDR to VPC. -or- Create a new VPC with your preferred CIDR block and then migrate the resources from your old VPC to the new VPC (if applicable). Option B looks promising but if you go through restrictions while attaching CIDR block, the given option doesn't go well https://docs.aws.amazon.com/vpc/latest/userguide/configure-your-vpc.html#add-cidr-block-restrictions A looks promising
upvoted 1 times
...
nharaz
3 years ago
A and B are confusing It's not possible to change or modify the IP address range of an existing virtual private cloud (VPC) or subnet. However, you can do one of the following: Add an additional IPv4 CIDR block as a secondary CIDR to your VPC. -or- Create a new VPC with your preferred CIDR block and then migrate the resources from your old VPC to the new VPC (if applicable). https://aws.amazon.com/premiumsupport/knowledge-center/vpc-ip-address-range/
upvoted 2 times
...
cyno88
3 years ago
Selected Answer: B
To extend the IPv4 address range of your VPC, see Associating a secondary IPv4 CIDR block with your VPC.
upvoted 2 times
...
esinan
3 years ago
Selected Answer: B
You can't resize CIDRs after set it to VPC. You can remove or create new one. Solution: Associate secondary CIDR block to VPC. https://docs.aws.amazon.com/vpc/latest/userguide/working-with-vpcs.html#add-ipv4-cidr
upvoted 3 times
...
Rightsaidfred
3 years, 1 month ago
Why not C?
upvoted 1 times
naveenagurjara
2 years, 10 months ago
You cannot expand existing block. AWS does not allow. simple. You have to add another one as Secondary into the VPC.
upvoted 1 times
...
...
awsnoobster
3 years, 2 months ago
B - add another CIDR
upvoted 1 times
...
momedkri117
3 years, 3 months ago
BBBBBB
upvoted 1 times
...
momedkri117
3 years, 3 months ago
It's B
upvoted 1 times
...
chintubhavsar
3 years, 5 months ago
Selected Answer: B
B is the correct answer.
upvoted 2 times
...
rubiorubio1
3 years, 5 months ago
Why not C ? it take less effort
upvoted 3 times
rubiorubio1
3 years, 5 months ago
sorry, actually its impossible
upvoted 2 times
...
Taco
3 years, 1 month ago
I think this is possible. https://aws.amazon.com/about-aws/whats-new/2021/08/amazon-vpc-resize-prefix-list/
upvoted 1 times
eBooKz
3 years ago
Not that the question is about CIDR block not prefix list. They are different. Below reference: "A Prefix List is a collection of CIDR blocks that can be used to configure VPC security groups and route tables and shared with other AWS accounts using Resource Access Manager (RAM)" https://aws.amazon.com/about-aws/whats-new/2020/06/amazon-virtual-private-cloud-customers-use-prefix-lists-simplify-configuration-security-groups-route-tables/
upvoted 1 times
...
...
...
Spacer
3 years, 5 months ago
B is better than A. Cos LEAST amount of operation overhead.
upvoted 2 times
...
SR82
3 years, 5 months ago
B https://aws.amazon.com/premiumsupport/knowledge-center/vpc-ip-address-range/
upvoted 1 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