Deepen your understanding of cloud networking concepts such as VPCs, subnets, and firewall rules with this focused quiz. Designed for professionals, this assessment helps reinforce key principles essential for secure and efficient network architecture in cloud environments.
Which statement best describes the isolation provided by default between two virtual private clouds (VPCs) within the same project?
Explanation: By default, separate VPCs provide network isolation, and resources do not have connectivity across VPC boundaries without explicit configuration like peering. Option B is incorrect because cross-VPC communication is not enabled automatically. Option C is not true because there are no default static routes provided for inter-VPC communication. Option D references subnet design but does not address how default connectivity works across VPCs.
When creating a new subnet, which consideration is most important to ensure successful deployment of resources within it?
Explanation: A subnet's IP range must be a subset of the parent VPC's IP range to avoid conflicts and ensure routability. Option B is incorrect because subnets should use private IP ranges, not public ones. Option C is invalid; subnets are tied to specific regions and should have region-specific ranges. Option D is incorrect as subnets within the same VPC must have unique, non-overlapping CIDR blocks.
Which factor determines whether a firewall rule in a virtual network is applied to incoming or outgoing traffic?
Explanation: Firewall rules act on traffic based on their direction: 'ingress' rules control incoming, while 'egress' rules control outgoing traffic. Subnet size does not affect firewall rule application, making option B wrong. The creation region is irrelevant because firewall rules are generally global, eliminating option C. Option D, referencing the rule's ID number, does not control its direction or effect on traffic.
In a custom mode virtual network, what must the user manually configure during subnet creation?
Explanation: In custom mode, users define each subnet and its IP range per region, allowing precise control. Option B is partially true about firewall rules but dynamic routing is not typically part of subnet creation. Option C is only accurate for default or auto mode networks. Option D is incorrect, as system-generated routes are automatically managed.
If two firewall rules with overlapping targets and conflicting actions both match the same network traffic, which one takes effect?
Explanation: Firewall rules are evaluated in order of priority, with lower numbers taking precedence for matching traffic. Option B is wrong since higher priority numbers have lower precedence. Option C is incorrect, as timestamp or creation order is not considered. Option D is incorrect because whether allow or deny wins depends solely on rule priority, not type.