Google Associate Cloud Engineer Practice Test 31

Question 300

A business wants dynamic route exchange for a supported HA VPN setup. What should be configured?

  1. Evaluate Dedicated Interconnect
  2. Evaluate Partner Interconnect
  3. Configure Cloud Router with BGP peers
  4. Deploy Cloud VPN with a suitable supported tunnel configuration
  5. Deploy HA VPN with the required interface and peer topology

Explanation

Correct Answer

C:

Cloud Router uses BGP to exchange routes with supported hybrid connectivity. It is not a packet-forwarding tunnel by itself.

Incorrect Answers

A:

This choice is useful to provide dedicated hybrid network connectivity. The stated task is to maintain BGP routes for VPN, which requires a different mechanism or permission scope.

B:

It can provision provider-mediated private connectivity; however, it does not provide the specific operation to maintain BGP routes for VPN. The two controls serve different purposes.

D:

The tool can encrypt hybrid traffic over IPsec, but it cannot be substituted for the capability needed to maintain BGP routes for VPN. Its operational effect is not equivalent.

E:

Choosing this would use a redundant HA VPN topology, an appropriate action for hybrid availability and routing operations; It cannot take the place of the separate step needed to maintain BGP routes for VPN in this specific situation.

Question 301

Two VPCs can communicate directly but the teams expect a third peered VPC to be reachable transitively. Which approach should be selected?

  1. Design explicit connectivity for the third VPC because VPC peering is not transitive
  2. Enable the appropriate export and import custom route settings
  3. Keep IAM administration separate; peering only provides network connectivity
  4. Renumber conflicting ranges or choose a different supported connectivity design

Explanation

Correct Answer

A:

VPC Network Peering does not route traffic automatically through another peered network. Each required connection must be planned directly or through a suitable hub architecture.

Incorrect Answers

B:

Administrators use it to exchange eligible custom routes through peering, rather than to route between three independently peered networks correctly. Applying it would change the wrong component of this deployment.

C:

This approach can separate peering from resource permissions. The requirement is to route between three independently peered networks correctly, so it controls a different part of the workflow and leaves that result unaddressed.

D:

Its purpose is to resolve overlapping address spaces before peering. That distinction matters: the scenario calls for an action to route between three independently peered networks correctly, not this separate configuration task.

Question 302

A private peering design has overlapping IPv4 subnet ranges between candidate networks. Which method addresses the task?

  1. Evaluate Dedicated Interconnect
  2. Keep IAM administration separate; peering only provides network connectivity
  3. Design explicit connectivity for the third VPC because VPC peering is not transitive
  4. Enable the appropriate export and import custom route settings
  5. Renumber conflicting ranges or choose a different supported connectivity design

Explanation

Correct Answer

E:

VPC peering requires compatible nonoverlapping subnet address spaces. Conflicting addresses create ambiguous routing.

Incorrect Answers

A:

The technical effect is to provide dedicated hybrid network connectivity, not to avoid subnet collisions between networks; That distinction matters here because the first operation serves connect a high-volume data center privately, rather than the scenario's required result.

B:

It can separate peering from resource permissions; however, it does not provide the specific operation to avoid subnet collisions between networks. The two controls serve different purposes.

C:

Select this when the goal is to avoid assuming transitive VPC peering. Here the decisive requirement is to avoid subnet collisions between networks, and that outcome is not achieved by this action.

D:

This mechanism is intended to exchange eligible custom routes through peering. It does not implement the required action to avoid subnet collisions between networks, even though both are relevant to the same general service.

Question 303

Two peered VPCs need a controlled exchange of custom routes rather than only subnet routes. What is the best next step?

  1. Create separate custom VPC networks for the teams
  2. Enable the appropriate export and import custom route settings
  3. Design explicit connectivity for the third VPC because VPC peering is not transitive
  4. Renumber conflicting ranges or choose a different supported connectivity design
  5. Keep IAM administration separate; peering only provides network connectivity

Explanation

Correct Answer

B:

Peering custom route exchange is governed by settings on both networks. It does not automatically make all imported connectivity transitive.

Incorrect Answers

A:

Using this action would isolate team networking into separate VPCs, not share additional non-subnet network routes. Its function is different from the specific change described in the scenario.

C:

Its purpose is to avoid assuming transitive VPC peering. That distinction matters: the scenario calls for an action to share additional non-subnet network routes, not this separate configuration task.

D:

While this can resolve overlapping address spaces before peering, the present task requires an action to share additional non-subnet network routes. This operation does not supply the behavior described in the requirements.

E:

This setting would separate peering from resource permissions. That behavior does not establish the requested ability to share additional non-subnet network routes; it addresses an adjacent concern instead.

Question 304

An engineer is trying to use VPC peering to give project A the network IAM ownership of project B. Which configuration best meets the requirement?

  1. Use separate VPC networks and add peering only if later explicitly needed
  2. Enable the appropriate export and import custom route settings
  3. Design explicit connectivity for the third VPC because VPC peering is not transitive
  4. Keep IAM administration separate; peering only provides network connectivity
  5. Renumber conflicting ranges or choose a different supported connectivity design

Explanation

Correct Answer

D:

Peering establishes private routing relationships, not resource ownership or IAM policy inheritance. Administrators retain independent project and network control.

Incorrect Answers

A:

This proposal can keep networks isolated until connectivity is approved, but the failure or goal described here calls for a way to connect networks without sharing IAM governance; It changes the wrong control or scope for the requested outcome.

B:

This mechanism is intended to exchange eligible custom routes through peering. It does not implement the required action to connect networks without sharing IAM governance, even though both are relevant to the same general service.

C:

Administrators use it to avoid assuming transitive VPC peering, rather than to connect networks without sharing IAM governance. Applying it would change the wrong component of this deployment.

E:

Select this when the goal is to resolve overlapping address spaces before peering. Here the decisive requirement is to connect networks without sharing IAM governance, and that outcome is not achieved by this action.

Question 305

A public global web application requires HTTPS termination and URL-path routing to backend services. Which choice provides the required behavior?

  1. Choose a supported external passthrough Network Load Balancer
  2. Choose an appropriate external proxy Network Load Balancer
  3. Choose a global external Application Load Balancer
  4. Choose an internal Application Load Balancer

Explanation

Correct Answer

C:

An external Application Load Balancer processes HTTP(S) and supports layer-7 routing. Global mode can serve users through Google's global frontend.

Incorrect Answers

A:

This choice is useful to distribute external UDP packets. The stated task is to route public web paths to backends, which requires a different mechanism or permission scope.

B:

This setting would proxy public TCP connections. That behavior does not establish the requested ability to route public web paths to backends; it addresses an adjacent concern instead.

D:

Using this action would route private HTTP requests, not route public web paths to backends. Its function is different from the specific change described in the scenario.

Question 306

A public TCP application requires proxy connection handling but not HTTP path inspection. Which approach should be selected?

  1. Choose a supported external passthrough Network Load Balancer
  2. Choose a global external Application Load Balancer
  3. Choose an internal passthrough Network Load Balancer
  4. Choose an appropriate external proxy Network Load Balancer
  5. Choose an internal Application Load Balancer

Explanation

Correct Answer

D:

Proxy Network Load Balancers handle supported TCP traffic without interpreting HTTP routing paths. They have distinct frontend and backend requirements.

Incorrect Answers

A:

While this can distribute external UDP packets, the present task requires an action to balance a non-HTTP TCP service. This operation does not supply the behavior described in the requirements.

B:

Its purpose is to load-balance global HTTP and HTTPS traffic. That distinction matters: the scenario calls for an action to balance a non-HTTP TCP service, not this separate configuration task.

C:

Choosing this would balance private layer-4 traffic, an appropriate action for internal traffic distribution operations; It cannot take the place of the separate step needed to balance a non-HTTP TCP service in this specific situation.

E:

Administrators use it to route private HTTP requests, rather than to balance a non-HTTP TCP service. Applying it would change the wrong component of this deployment.

Question 307

An internet-facing UDP service needs packet pass-through load balancing. Which method addresses the task?

  1. Choose a global external Application Load Balancer
  2. Choose an internal Application Load Balancer
  3. Configure a load balancer backend service with the appropriate health check
  4. Choose an appropriate external proxy Network Load Balancer
  5. Choose a supported external passthrough Network Load Balancer

Explanation

Correct Answer

E:

Passthrough Network Load Balancers support UDP and forward packets without application-level HTTP proxying. Their scope depends on the selected load balancer variant.

Incorrect Answers

A:

The tool can load-balance global HTTP and HTTPS traffic, but it cannot be substituted for the capability needed to load-balance UDP services. Its operational effect is not equivalent.

B:

Select this when the goal is to route private HTTP requests. Here the decisive requirement is to load-balance UDP services, and that outcome is not achieved by this action.

C:

This proposal can health-check load balancing backends, but the failure or goal described here calls for a way to load-balance UDP services; It changes the wrong control or scope for the requested outcome.

D:

This choice is useful to proxy public TCP connections. The stated task is to load-balance UDP services, which requires a different mechanism or permission scope.

Question 308

An internal application requires layer-7 HTTP routing but must not expose a public IP. What is the best next step?

  1. Use an external Application Load Balancer with eligible private backend instances and firewall permissions
  2. Choose a supported external passthrough Network Load Balancer
  3. Choose an appropriate external proxy Network Load Balancer
  4. Choose a global external Application Load Balancer
  5. Choose an internal Application Load Balancer

Explanation

Correct Answer

E:

Internal Application Load Balancers provide private HTTP(S) proxying and routing. They are designed for VPC and connected-network consumers.

Incorrect Answers

A:

An operator would use this action to publish a public HTTPS endpoint without public VM NICs, chiefly when trying to isolate backend VMs behind a load balancer; The current requirement is to provide internal application-layer load balancing, which remains unresolved by that operation.

B:

While this can distribute external UDP packets, the present task requires an action to provide internal application-layer load balancing. This operation does not supply the behavior described in the requirements.

C:

This approach can proxy public TCP connections. The requirement is to provide internal application-layer load balancing, so it controls a different part of the workflow and leaves that result unaddressed.

D:

This setting would load-balance global HTTP and HTTPS traffic. That behavior does not establish the requested ability to provide internal application-layer load balancing; it addresses an adjacent concern instead.

Question 309

A private HTTP application uses an internal Application Load Balancer with managed instance group backends. The frontend is provisioned, but no healthy backend traffic is delivered. Which TWO configuration areas are relevant? (Choose TWO.)

  1. Verify the required proxy-only subnet and internal Application Load Balancer networking configuration
  2. Verify backend health checks and the firewall allowances needed for health-check and proxy traffic
  3. Disable all health checks to force the load balancer to select unhealthy instances
  4. Change the load balancer to an external HTTPS endpoint so it gains a public IP

Explanation

Correct Answers

A:

An internal Application Load Balancer uses a proxy infrastructure and has specific networking requirements. Missing or incorrect proxy-only subnet setup can prevent functioning frontend-to-backend paths.

B:

Backends must be assessed as healthy, and required proxy and health-check traffic must reach their ports. Firewall restrictions can block service even when frontend resources exist.

Incorrect Answers

C:

Backends' health drives supported load-balancing decisions. Removing this mechanism is not a reliable or supported substitute for fixing network reachability and backend readiness.

D:

Adding an external entry point violates the private service requirement and does not fix a missing internal proxy subnet or health-check path.

Question 310

An internal service exposes a custom TCP protocol rather than HTTP, and backends must see the original source IP. Which internal load-balancing family best fits the request?

  1. Use a global external Application Load Balancer
  2. Use an internal passthrough Network Load Balancer
  3. Use an internal Application Load Balancer with URL maps and path rules
  4. Use Cloud DNS forwarding alone instead of a forwarding rule

Explanation

Correct Answer

B:

An internal passthrough Network Load Balancer distributes supported TCP or UDP traffic at the network layer while preserving relevant packet addressing for its backends.

Incorrect Answers

A:

A global external Application Load Balancer is designed for external application-layer access. It fails both the private-only requirement and raw TCP passthrough behavior.

C:

Internal Application Load Balancers proxy supported application-layer requests such as HTTP. They are not the right choice for an arbitrary raw TCP protocol that requires passthrough semantics.

D:

DNS forwarding resolves hostnames and can point clients to a service address. It does not perform transport-level load balancing across backend instances.

Associate Cloud Engineer Practice Tests