Professional Cloud Network Engineer Practice Questions

Google Cloud Professional Cloud Network Engineer exam preparation

Professional Cloud Network Engineer practice questions in English: 180 questions with explanations. The mock exam has 60 questions and 120 minutes.

Professional Cloud Network Engineer free question 8 / 10 · Domain 4: Configuring and implementing hybrid and multicloud network interconnectivity

A VPC network uses global dynamic routing mode and has the subnet 10.10.0.0/24 in another region. You set the custom advertisement of the Cloud Router to advertise custom ranges in addition to subnet ranges, and you add 10.10.0.0/24 and 10.10.0.0/16 as custom ranges. How are the two handled?

  1. The /24 is advertised again as a custom range, and the /16 is advertised as a custom range
  2. The /24 is ignored because it matches the subnet route exactly, and the /16 is advertised as a custom range
  3. The /24 is ignored because it matches the subnet route exactly, and the /16 is also ignored because it contains the subnet
  4. The /24 is advertised again as a custom range, and the /16 is ignored because it contains the subnet
Show the answer and explanation

Answer: B

Why this is correct
With the option to advertise custom prefixes in addition to subnet ranges, which subnet ranges are advertised depends on the dynamic routing mode, and in global mode that includes subnets in other regions. The documentation states that a custom IP address range is ignored if it exactly matches a subnet route that Cloud Router advertises according to the dynamic routing mode. The /24 matches 10.10.0.0/24 exactly and is ignored, while the /16 does not match any subnet route exactly and is advertised as a custom range.

Why the other options are wrong
"The /24 is advertised again as a custom range, and the /16 is advertised as a custom range" … The /24 is not advertised twice. A custom range that exactly matches an advertised subnet route is ignored.
"The /24 is ignored because it matches the subnet route exactly, and the /16 is also ignored because it contains the subnet" … Only an exact match is ignored. The /16 contains the /24 subnet but does not match it, so it is advertised as a custom range.
"The /24 is advertised again as a custom range, and the /16 is ignored because it contains the subnet" … Both parts are reversed. The exact match is the one that is ignored, and the broader /16 is advertised.

Key point
The MED of a custom range always equals the base priority of the BGP session, whatever the dynamic routing mode. With the custom-only option, subnet ranges are not advertised, so no range is ignored for matching one.

Go to the Professional Cloud Network Engineer practice app (10 free questions; purchase unlocks all questions)

See the full practice set