Flashcardsfor IT Certifications

D3: Subnets, IPs, Routes, DNS & NAT

Google Cloud Associate Cloud Engineer exam practice questions · 13 flashcards

Question
How do you expand a subnet range?
1 / 13

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 13 Subnets, IPs, Routes, DNS & NAT practice questions and answers
  1. How do you expand a subnet range?
    gcloud compute networks subnets expand-ip-range SUBNET --region=R --prefix-length=N.
  2. Can you shrink a subnet?
    No; only expand, and the new range must not overlap.
  3. How do you reserve a static external IP?
    gcloud compute addresses create NAME --region=REGION (or --global for global LB).
  4. How do you reserve a static internal IP?
    gcloud compute addresses create NAME --region=R --subnet=SUB --addresses=IP.
  5. How do you promote an ephemeral IP to static?
    Reserve it with --addresses=CURRENT_IP.
  6. Are unused static external IPs charged?
    Yes.
  7. How do you add a custom static route?
    gcloud compute routes create NAME --network=NET --destination-range=CIDR --next-hop-instance/... --priority=N.
  8. How is route selection done?
    Most specific prefix first, then priority (lower wins).
  9. What is Cloud DNS?
    Managed authoritative DNS with public and private zones.
  10. What is a private DNS zone?
    Records visible only to selected VPC networks.
  11. What are forwarding and peering zones?
    Forwarding: send queries to other DNS servers. Peering: resolve using another VPC's DNS.
  12. What is Cloud NAT?
    Managed outbound NAT so private VMs/GKE nodes reach the internet without external IPs.
  13. Does Cloud NAT allow inbound connections?
    No, outbound only; it's regional and configured on a Cloud Router.