
Answer-first summary for fast verification
Answer: Exclude the conflicting IP range by using the --exclude-export-ranges flag when creating the VPC spoke for vpc-dev.
The error occurs because the IP range of the new VPC spoke (vpc-dev) overlaps with an existing spoke (vpc-pre-prod). Network Connectivity Center requires non-overlapping IP ranges across spokes to avoid routing conflicts. To resolve this efficiently, the correct approach is to exclude the conflicting IP ranges from being advertised by the new spoke (vpc-dev) using the `--exclude-export-ranges` flag when creating the spoke. This ensures the hub does not receive duplicate routes for the overlapping range, allowing vpc-dev to be added without disrupting the existing vpc-pre-prod spoke. Deleting subnets (Option A) or removing the existing spoke (Option D) would cause unnecessary downtime or reconfiguration. Option C incorrectly suggests modifying the hub instead of the spoke.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
Your organization recently redesigned its cloud environment to use Network Connectivity Center. However, when attempting to add a new VPC named vpc-dev as a spoke, an error occurred due to a conflict with an existing spoke and the IP range of a VPC named vpc-pre-prod. You need to resolve this issue quickly to complete the migration efficiently. What should you do?
A
Delete the VMs associated with the conflicting subnets, then delete the conflicting subnets in vpc-dev. Recreate the subnets with a new IP range and redeploy the previously-deleted VMs in the new subnets. Add the VPC spoke for vpc-dev.
B
Exclude the conflicting IP range by using the --exclude-export-ranges flag when creating the VPC spoke for vpc-dev.
C
Exclude the conflicting IP range by using the --exclude-export-ranges flag in the hub when attaching the VPC spoke for vpc-dev.
D
Remove the conflicting VPC spoke for vpc-pre-prod from the set of VPC spokes in Network Connectivity Center. Add the VPC spoke for vpc-dev. Add the previously removed vpc-pre-prod as a VPC spoke.