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 company has deployed a third-party network security appliance on a Compute Engine virtual machine (VM) in a Virtual Private Cloud (VPC) network. You need to ensure that outbound internet traffic from a specific group of backend database VMs is routed through this appliance for deep packet inspection, while all other VMs in the VPC continue to use the standard default internet gateway route.
What should you do?
In Google Cloud VPC networking, custom static routes define specific paths that network traffic must follow based on destination IP address ranges. By applying target network tags to a static route, Google Cloud restricts the scope of that route so it applies exclusively to VM instances that have matching network tags assigned to them.
secure-backend) on the route ensures that only VMs possessing that exact tag will use the custom route.0.0.0.0/0 with the appliance VM instance as the next hop, egress internet traffic from the tagged database VMs is redirected directly to the network security appliance.0.0.0.0/0 with default-internet-gateway as next hop) due to route selection rules.Tag-based static routing provides a lightweight, native, and granular mechanism in Google Cloud to control traffic per instance. It eliminates the operational complexity of managing multi-VPC architectures while fulfilling strict security requirements for specialized traffic inspection.
Custom metadata key-value pairs are used in Compute Engine to pass configuration parameters, environment variables, or startup scripts into VM instances. Identity and Access Management (IAM) Conditions allow administrators to grant access to GCP control-plane resources based on conditional attributes such as time, resource types, or principal attributes.
http://metadata.google.internal); has no impact on VPC route tables.The goal was to conditionally grant administrative permissions to manage or view specific database VMs based on resource labels or tag bindings.
In some traditional networking environments and other cloud platforms, route tables can be defined and associated directly at the individual subnet level. In those architectures, every resource placed within a subnet strictly inherits the subnet-specific route table.
You were designing network architectures in cloud providers that rely on subnet-bound route tables (such as AWS Route Tables attached to subnets) rather than Google Cloud's VPC-wide routing model.
Cloud Router is a fully managed service that uses the Border Gateway Protocol (BGP) to dynamically exchange routing information between your Google Cloud VPC network and external networks (such as on-premises data centers via Cloud Interconnect or Cloud VPN).
You needed to dynamically exchange routes between an on-premises network and a Google Cloud VPC over a dedicated Cloud Interconnect or Cloud VPN tunnel.
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