Complete the code to create a custom route in GCP that directs traffic to a specific instance.
gcloud compute routes create my-route --network default --destination-range [1] --next-hop-instance my-instance --next-hop-instance-zone us-central1-aThe destination range 0.0.0.0/0 routes all traffic through the specified next hop instance.
Complete the code to list all routes in the default network.
gcloud compute routes list --filter='network:[1]'
The default network is the standard network where routes are often listed.
Fix the error in the command to delete a route named 'old-route'.
gcloud compute routes [1] old-routeThe correct command to delete a route is delete.
Fill both blanks to create a route that directs traffic to an IP address as the next hop.
gcloud compute routes create my-route --network [1] --destination-range 10.0.0.0/24 --next-hop-[2] 192.168.1.1
The route is created in the default network and uses address as the next hop type.
Fill all three blanks to create a route with a priority and a next hop gateway.
gcloud compute routes create my-route --network [1] --destination-range [2] --priority [3] --next-hop-gateway default-internet-gateway
The route is created in the default network, routes all traffic 0.0.0.0/0, and has a priority of 1000.