Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Associate Cloud Engineer practice bank has an additional 2,014 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
Your organization has deployed a dedicated network security appliance on a Compute Engine virtual machine instance named vm-firewall inside a custom VPC network. You must configure a custom static route so that all outbound internet traffic from your workloads is sent to this inspection appliance rather than exiting directly through the default route to the default internet gateway (which has a priority of 1000).
What configuration should you specify for the custom static route?
This option attempts to configure a static route that lists a Cloud NAT gateway as the next hop for default internet traffic.
vm-firewall.1000 ties with the existing default internet route, leading to equal-cost multi-path (ECMP) hashing if next hops were identical, rather than guaranteeing traffic flows through the appliance.next-hop-instance, next-hop-ip, next-hop-gateway (default internet gateway), next-hop-vpn-tunnel, and next-hop-ilb (Internal Passthrough Load Balancer).You were provisioning outbound internet connectivity for private instances without external IPs using native Cloud NAT, which relies on standard default internet gateway routes rather than custom static next-hop routes.
In a Google Cloud Virtual Private Cloud (VPC) network, routes define the paths that network traffic takes from a virtual machine (VM) instance to other destinations. A custom static route allows administrators to manually define routing behavior by pairing a destination CIDR range with a specific next-hop specification and an integer priority value.
0.0.0.0/0 matches all IPv4 addresses that do not match more specific subnet or custom routes, capturing standard outbound internet traffic.vm-firewall (or specifying its next-hop IP) directs matching packets straight to the network interface of the virtual security appliance.0.0.0.0/0), the route with the lowest numerical priority value takes precedence. Because the pre-populated default internet gateway route has a priority of 1000, assigning a lower numerical priority such as 800 ensures your custom inspection route is evaluated and selected first.0 through 65535.Specifying vm-firewall as the next hop with a priority below 1000 overrides the standard internet gateway cleanly and non-disruptively without requiring the deletion of default routes.
This option attempts to create a route targeting the local VPC subnet's IP range and directs that local subnet traffic across an IPsec Cloud VPN tunnel.
0.0.0.0/0). Furthermore, local subnet routes in Google Cloud are system-generated with fixed priority 0 and cannot be overridden by static routes.0 and represent local network reachability.You were configuring hybrid connectivity where all traffic destined for an on-premises data center subnet needed to be forwarded through an IPsec Cloud VPN gateway.
This configuration creates a duplicate default route pointing to the default internet gateway with a priority value of 2000.
vm-firewall, traffic bypasses the inspection appliance entirely.2000 makes this route less preferred than the existing default route with priority 1000. The VPC routing engine will ignore this new route because the existing 1000 priority route has a lower number.1000 to the automatically created default route (0.0.0.0/0 pointing to default-internet-gateway).2000 remains dormant as a lower-priority fallback unless all higher-priority matching routes are removed.You wanted to create a backup egress path directly to the public internet that only activates if an existing, higher-priority default route is deleted or withdrawn.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated