Google Professional Cloud Network Engineer Practice Test Questions and Exam Dumps Part17 Q321-340

View Full Google Professional Cloud Network Engineer Exam Dumps and Practice Test Dumps

 

Question 321

Which Google Cloud service provides DNS resolution for resources within a VPC network?

  1. Cloud DNS
  2. Cloud CDN
  3. Cloud NAT
  4. Cloud Armor

Correct Answer: 1

Explanation:

Cloud DNS provides managed DNS services for Google Cloud environments. Within a VPC network, private DNS zones can provide name resolution for internal resources without exposing DNS records publicly. This is useful when applications need to communicate using meaningful hostnames rather than IP addresses. Cloud DNS can also integrate with forwarding and peering configurations for multi-network environments. Cloud CDN focuses on content delivery, Cloud NAT provides outbound translation, and Cloud Armor supplies security policies for supported services. Therefore, Cloud DNS is the service responsible for managed DNS resolution within Google Cloud networking environments.

Question 322

What does a custom route in a Google Cloud VPC primarily define?

  1. A firewall inspection rule
  2. A packet forwarding path
  3. A DNS forwarding policy
  4. A load-balancing backend

Correct Answer: 2

Explanation:

A custom route determines how packets should be forwarded when their destination matches the route’s destination range. Routes are evaluated by the VPC routing system to determine the next hop for traffic. Depending on the route type, the next hop can reference an instance, VPN tunnel, internal load balancer, or other supported destination. Firewall rules do not determine routing decisions; they control whether traffic is allowed or denied. DNS policies handle name resolution, while load-balancing backends receive traffic after the forwarding decision has already been made. Thus, custom routes are fundamentally used to establish packet forwarding paths.

Question 323

Which feature allows VPC networks to exchange routes across network boundaries?

  1. Cloud NAT
  2. Cloud CDN
  3. VPC Network Peering
  4. Cloud Armor

Correct Answer: 3

Explanation:

VPC Network Peering enables separate VPC networks to exchange routes privately using Google’s internal network. After peering is established and the relevant subnet routes are exchanged, resources in the connected networks can communicate using internal IP addresses. Peering does not merge the two VPCs into one administrative network; each network remains independently managed. Cloud NAT is designed for outbound address translation, Cloud CDN improves content delivery, and Cloud Armor provides edge security controls. Therefore, VPC Network Peering is the feature that establishes private connectivity and route exchange between separate VPC networks.

Question 324

Which load balancer is designed primarily for HTTP and HTTPS application traffic?

  1. Network Load Balancer
  2. Internal passthrough load balancer
  3. TCP Proxy Load Balancer
  4. Application Load Balancer

Correct Answer: 4

Explanation:

The Application Load Balancer is designed for application-layer HTTP and HTTPS traffic. It can use URL maps, host-based routing, path-based routing, backend services, and other Layer 7 capabilities to direct requests toward appropriate application backends. This makes it suitable for web applications requiring intelligent request routing. TCP proxy load balancing is intended for TCP-based proxy traffic, while passthrough load balancing preserves the client connection characteristics differently. Network load-balancing options are commonly used for lower-level traffic requirements. Consequently, an Application Load Balancer is the appropriate choice when HTTP or HTTPS traffic needs Layer 7 routing behavior.

Question 325

What is the primary purpose of Cloud NAT for private VM instances?

  1. Allow outbound internet access without external IP addresses
  2. Provide inbound internet connectivity
  3. Create private DNS zones
  4. Encrypt traffic between VPC networks

Correct Answer: 1

Explanation:

Cloud NAT allows resources such as VMs without external IP addresses to initiate connections to destinations outside the VPC, including the public internet. The NAT gateway translates internal source addresses into usable external addresses for outbound communication. This approach avoids assigning public IP addresses directly to private workloads while still permitting required outbound connectivity. Cloud NAT does not provide unsolicited inbound connectivity to those VMs. It also does not create DNS zones or encrypt traffic between VPC networks. Therefore, Cloud NAT is particularly useful when private workloads require controlled outbound internet access without exposing them through individual external IP addresses.

Question 326

Which Google Cloud feature can connect an on-premises network to a VPC using IPsec tunnels?

  1. Cloud Interconnect
  2. Cloud VPN
  3. Cloud CDN
  4. Cloud DNS

Correct Answer: 2

Explanation:

Cloud VPN provides encrypted connectivity between an on-premises network and a Google Cloud VPC through IPsec tunnels. HA VPN is designed to provide highly available site-to-site connectivity using supported gateway configurations and dynamic routing options. This makes Cloud VPN appropriate when an organization needs secure connectivity across the public internet without establishing dedicated physical connectivity. Cloud Interconnect provides dedicated or partner-based connectivity rather than ordinary IPsec internet tunnels. Cloud CDN handles content distribution, while Cloud DNS manages DNS services. Therefore, Cloud VPN is the relevant Google Cloud networking service for IPsec-based hybrid connectivity.

Question 327

Which routing mode allows a VPC to automatically include subnet routes from new regions?

  1. Regional routing mode
  2. Static routing mode
  3. Global routing mode
  4. Local routing mode

Correct Answer: 3

Explanation:

Global dynamic routing allows Cloud Routers associated with a VPC to advertise learned routes across regions within that VPC. This is especially useful for hybrid architectures where on-premises networks connect through Cloud VPN or Cloud Interconnect and workloads are distributed across multiple Google Cloud regions. Regional dynamic routing restricts learned routes to the region where the Cloud Router is located. The global option provides broader route visibility, simplifying architectures that require connectivity between hybrid networks and resources in different regions. Therefore, global routing mode is the appropriate choice when routing information needs to be available across regions.

Question 328

What does Private Google Access allow eligible resources to reach?

  1. External client IP addresses
  2. Google APIs and services without external IP addresses
  3. On-premises DNS servers automatically
  4. Any internet destination without NAT

Correct Answer: 2

Explanation:

Private Google Access allows supported resources that do not have external IP addresses to communicate with Google APIs and services using private connectivity. This is useful for workloads that should remain without public addresses while still accessing services such as Cloud Storage and other Google APIs. Private Google Access does not generally provide unrestricted internet access. It also does not automatically create connectivity to on-premises DNS servers or external client networks. Configuration requirements depend on the specific workload and network design. Therefore, the key purpose of Private Google Access is enabling private resources to access supported Google APIs and services.

Question 329

Which component determines how incoming HTTP requests are distributed among backend services?

  1. URL map
  2. Cloud NAT gateway
  3. Cloud Router
  4. DNSSEC policy

Correct Answer: 1

Explanation:

A URL map controls how HTTP or HTTPS requests are routed to backend services based on information such as the requested host and URL path. This enables host-based and path-based routing for applications running behind supported Google Cloud load balancers. For example, requests to one hostname can be directed to one backend while requests matching a specific path can be directed elsewhere. Cloud NAT handles address translation, Cloud Router exchanges dynamic routing information, and DNSSEC protects DNS integrity. Consequently, the URL map is the component responsible for defining application-level request routing rules for supported load-balancing configurations.

Question 330

Which Google Cloud component exchanges dynamic routing information with external networks?

  1. Cloud CDN
  2. Cloud Armor
  3. Cloud Router
  4. Cloud DNS

Correct Answer: 3

Explanation:

Cloud Router dynamically exchanges routing information between a Google Cloud VPC and connected external networks when supported hybrid connectivity methods are used. It uses Border Gateway Protocol to learn and advertise routes through supported Cloud VPN and Cloud Interconnect configurations. This dynamic behavior allows routing information to adapt as network prefixes change. Cloud CDN is designed for content delivery, Cloud Armor provides security policies, and Cloud DNS provides DNS services. Cloud Router therefore plays a central role in dynamic hybrid routing by maintaining route exchanges rather than simply forwarding application traffic itself.

Question 331

Which firewall rule characteristic determines the direction of inspected traffic?

  1. Priority
  2. Target tags
  3. Direction
  4. Source range

Correct Answer: 3

Explanation:

A VPC firewall rule has a direction that identifies whether it applies to ingress or egress traffic. Ingress rules evaluate traffic entering applicable resources, while egress rules evaluate traffic leaving them. Other firewall properties serve different purposes. Priority determines which applicable rule takes precedence, target information identifies resources to which the rule applies, and source or destination ranges define relevant address scopes depending on the rule direction. Understanding direction is important when designing traffic controls because the same communication flow can involve separate ingress and egress considerations. Therefore, the direction attribute directly determines which traffic direction a firewall rule evaluates.

Question 332

Which connectivity option provides dedicated physical connectivity to Google Cloud?

  1. Cloud Interconnect
  2. Cloud NAT
  3. Cloud VPN
  4. Private Service Connect

Correct Answer: 1

Explanation:

Cloud Interconnect provides private connectivity between an external network and Google Cloud without sending traffic across the public internet. Dedicated Interconnect uses physical connections associated with Google’s network, while Partner Interconnect provides connectivity through supported service providers. This option is useful for organizations requiring high-bandwidth hybrid connectivity and predictable network architecture. Cloud VPN instead establishes encrypted tunnels over an IPsec-based connection, while Cloud NAT provides outbound translation for private resources. Private Service Connect focuses on accessing supported services privately. Therefore, Cloud Interconnect is the connectivity solution specifically associated with dedicated physical network connections to Google Cloud.

Question 333

What is the main purpose of Private Service Connect?

  1. Configure public DNS records
  2. Provide private access to supported services
  3. Translate private VM addresses
  4. Inspect packets at Layer 7

Correct Answer: 2

Explanation:

Private Service Connect enables consumers to access supported services privately from within their VPC environments. It can be used to consume Google APIs, published services, or services exposed by service producers while keeping traffic on Google’s network rather than requiring public internet connectivity. This architecture also provides a controlled boundary between service consumers and producers. Private Service Connect is different from Cloud NAT, which performs address translation, and from Cloud DNS, which provides DNS services. Layer 7 inspection is associated with other security or proxying components. Therefore, private service consumption is the central purpose of Private Service Connect.

Question 334

Which protocol is commonly used by Cloud Router for dynamic route exchange?

  1. OSPF
  2. RIP
  3. EIGRP
  4. BGP

Correct Answer: 4

Explanation:

Cloud Router uses Border Gateway Protocol to exchange dynamic routing information with supported peer networks. BGP allows the Google Cloud environment and connected external network to advertise and learn IP prefixes dynamically. This is especially important for hybrid architectures using HA VPN or Cloud Interconnect. BGP can react to changes in advertised routes and supports scalable route exchange without requiring administrators to configure every route manually. OSPF, RIP, and EIGRP are different routing protocols and are not the protocol used by Cloud Router for its standard dynamic route exchange. Therefore, BGP is the correct protocol.

Question 335

Which mechanism can restrict access to a VPC resource based on identity rather than only IP addresses?

  1. Hierarchical firewall policy
  2. Service account-based firewall targeting
  3. Cloud NAT
  4. DNS forwarding

Correct Answer: 2

Explanation:

Google Cloud firewall configurations can use service account-based targeting to apply firewall rules to VM instances associated with specific service accounts. This provides a way to organize traffic controls around workload identity rather than relying exclusively on network tags or IP address ranges. It can be useful when workloads have dynamic addresses but consistent service-account identities. Hierarchical firewall policies provide broader policy organization across resource hierarchies, while Cloud NAT handles outbound translation and DNS forwarding handles name-resolution traffic. Therefore, service account-based firewall targeting is the mechanism that can associate firewall applicability with workload identity.

Question 336

What does a VPC subnet primarily provide to Google Cloud resources?

  1. A regional IP address range
  2. A global DNS namespace
  3. An internet gateway
  4. A physical network circuit

Correct Answer: 1

Explanation:

A VPC subnet provides a regional IP address range from which resources such as VM instances can receive internal IP addresses. Google Cloud VPC networks are global, while subnets are regional resources. A single VPC can contain multiple subnets across different regions. The subnet configuration also includes elements such as primary and optional secondary IP ranges. A subnet itself is not an internet gateway or physical circuit, and it does not represent a global DNS namespace. Understanding the distinction between global VPC networks and regional subnets is fundamental when designing Google Cloud network architectures.

Question 337

Which service helps protect applications from distributed denial-of-service attacks?

  1. Cloud NAT
  2. Cloud DNS
  3. Cloud Armor
  4. Cloud Router

Correct Answer: 3

Explanation:

Cloud Armor provides security capabilities for supported Google Cloud applications and load-balancing architectures, including protection against distributed denial-of-service attacks. It can also apply configurable security policies to help control unwanted traffic before it reaches protected backends. Cloud NAT is focused on outbound address translation, Cloud DNS handles domain name resolution, and Cloud Router exchanges dynamic routes. Cloud Armor therefore belongs to the security layer rather than the routing or name-resolution layers. When designing an internet-facing application architecture, it can be integrated with supported load-balancing services to provide policy-based traffic protection.

Question 338

Which Google Cloud resource can advertise VPC subnet routes to an external BGP peer?

  1. Cloud Router
  2. Cloud CDN
  3. Cloud Load Balancing
  4. Cloud DNS

Correct Answer: 1

Explanation:

Cloud Router can advertise Google Cloud routes to connected external networks through BGP. Depending on the configuration, it can advertise subnet ranges and custom prefixes to a BGP peer associated with supported hybrid connectivity. This allows external networks to learn how to reach Google Cloud resources without requiring manually maintained static routes. Cloud CDN distributes cached content, Cloud Load Balancing distributes application or network traffic, and Cloud DNS provides name-resolution services. Therefore, Cloud Router is the Google Cloud networking component responsible for dynamic route advertisement to supported external BGP peers.

Question 339

Which Google Cloud feature allows applications to use internal IP addresses for service access?

  1. Public DNS
  2. Private Service Connect
  3. External HTTP proxy
  4. Public NAT gateway

Correct Answer: 2

Explanation:

Private Service Connect enables applications to access supported services through private connectivity and internal addressing. Depending on the service architecture, consumers can use internal IP addresses to reach service endpoints without requiring direct public internet exposure. This provides a useful abstraction between service consumers and service producers while maintaining private network paths. Public DNS does not itself establish private connectivity, an external HTTP proxy uses externally reachable infrastructure, and public NAT primarily supports outbound address translation. Consequently, Private Service Connect is the relevant feature when the objective is private service access using internal network addressing.

Question 340

Which routing behavior occurs when multiple routes match the same destination?

  1. The oldest route is always selected
  2. The route with the highest numerical priority always wins
  3. The route with the most specific destination range is preferred
  4. The route created manually is always preferred

Correct Answer: 3

Explanation:

Google Cloud routing uses destination specificity when multiple applicable routes exist. A route with a more specific destination range can take precedence over a broader route for traffic destined to that address space. This behavior allows administrators to create more precise forwarding paths within a larger routing design. Route selection also considers other route attributes and priorities depending on the route types involved, so it is important not to reduce routing behavior to creation time or simply whether a route was manually configured. The key principle represented here is that a more specific destination can provide a more specific forwarding match.