Google Associate Cloud Engineer Practice Test 50

Question 490

A GKE VPC-native cluster needs more Pod address space but its node subnet range is sufficient. What is the best next step?

  1. Choose a nonoverlapping expanded range or revise the network address plan
  2. Check whether the address resource is regional or global before reassignment
  3. Plan a replacement subnet or supported migration rather than relying on CIDR shrink
  4. Expand the appropriate secondary IP range where supported
  5. Expand the subnet primary IPv4 range to a supported larger CIDR

Explanation

Correct Answer

D:

Pod alias IP ranges are separate from the primary range used by nodes. Capacity troubleshooting must identify which address pool is exhausted.

Incorrect Answers

A:

This setting would avoid CIDR overlap during subnet expansion. That behavior does not establish the requested ability to fix alias-IP Pod address exhaustion; it addresses an adjacent concern instead.

B:

This alternative addresses static addresses and frontend identities by allowing a team to match IP scope to target resource; The incident, however, requires the different action to fix alias-IP Pod address exhaustion, so its central configuration remains unchanged.

C:

This choice is useful to handle a requested subnet shrink safely. The stated task is to fix alias-IP Pod address exhaustion, which requires a different mechanism or permission scope.

E:

Using this action would expand a subnet's primary IPv4 capacity, not fix alias-IP Pod address exhaustion. Its function is different from the specific change described in the scenario.

Question 491

A proposed subnet expansion overlaps another range in the same VPC. Which configuration best meets the requirement?

  1. Release the unused static external address after detaching it
  2. Choose a nonoverlapping expanded range or revise the network address plan
  3. Expand the subnet primary IPv4 range to a supported larger CIDR
  4. Expand the appropriate secondary IP range where supported
  5. Plan a replacement subnet or supported migration rather than relying on CIDR shrink

Explanation

Correct Answer

B:

VPC subnet ranges must not conflict. An overlapping expansion cannot be made valid simply by adding an ingress allow rule.

Incorrect Answers

A:

The technical effect is to free an unneeded reserved public address, not to choose an eligible larger subnet range; That distinction matters here because the first operation serves avoid stranded static IP allocation, rather than the scenario's required result.

C:

The result of this choice would be to expand a subnet's primary IPv4 capacity. The requested outcome, to choose an eligible larger subnet range, is handled at a different layer or through another operation.

D:

While this can expand a Pod secondary IP range, the present task requires an action to choose an eligible larger subnet range. This operation does not supply the behavior described in the requirements.

E:

This mechanism is intended to handle a requested subnet shrink safely. It does not implement the required action to choose an eligible larger subnet range, even though both are relevant to the same general service.

Question 492

An operator wants to reduce a subnet's IPv4 CIDR after a migration and expects an in-place shrink. What should be configured?

  1. Expand the subnet primary IPv4 range to a supported larger CIDR
  2. Reserve and attach a compatible static external IP
  3. Expand the appropriate secondary IP range where supported
  4. Plan a replacement subnet or supported migration rather than relying on CIDR shrink
  5. Choose a nonoverlapping expanded range or revise the network address plan

Explanation

Correct Answer

D:

Primary subnet ranges can be expanded but not routinely shrunk in place. Address-plan reductions require resource migration consideration.

Incorrect Answers

A:

It can expand a subnet's primary IPv4 capacity; however, it does not provide the specific operation to avoid unsupported IP range contraction. The two controls serve different purposes.

B:

This choice is useful to keep a VM's internet IP stable. The stated task is to avoid unsupported IP range contraction, which requires a different mechanism or permission scope.

C:

This setting would expand a Pod secondary IP range. That behavior does not establish the requested ability to avoid unsupported IP range contraction; it addresses an adjacent concern instead.

E:

Using this action would avoid CIDR overlap during subnet expansion, not avoid unsupported IP range contraction. Its function is different from the specific change described in the scenario.

Question 493

A support team reserved a static external IP address for a VM but discovers that it cannot assign the address to the intended instance because the resources are incompatible. What should it check first?

  1. Confirm the reserved address is in the same region as the VM and has a compatible external-address scope and purpose
  2. Create a Cloud Router BGP session to make a foreign regional address attachable
  3. Convert the external static IP to an internal RFC1918 subnet IP without changing its resource type
  4. Enable Cloud Storage uniform bucket-level access on the VM's boot disk

Explanation

Correct Answer

A:

An external static address must be of a compatible type and location for the target VM attachment. A regional address in a different region cannot simply be assigned to the VM.

Incorrect Answers

B:

Cloud Router's BGP route exchange affects reachability to network prefixes. It cannot change a reserved IP address's regional scope or convert it into a compatible Compute Engine address.

C:

External and internal address resources have distinct purposes and attachment rules. They are not interchangeable through a simple route change.

D:

Cloud Storage bucket authorization settings do not determine whether Compute Engine can attach a reserved external IP.

Question 494

An internal load balancer must keep its private frontend address during backend changes. Which method addresses the task?

  1. Reserve and attach a compatible static external IP
  2. Check whether the address resource is regional or global before reassignment
  3. Release the unused static external address after detaching it
  4. Reserve a suitable static internal address for its forwarding rule

Explanation

Correct Answer

D:

Internal address reservations can stabilize private service endpoints within the applicable region and subnet. They do not require a public IP.

Incorrect Answers

A:

Select this when the goal is to keep a VM's internet IP stable. Here the decisive requirement is to preserve an internal service address, and that outcome is not achieved by this action.

B:

This mechanism is intended to match IP scope to target resource. It does not implement the required action to preserve an internal service address, even though both are relevant to the same general service.

C:

The tool can free an unneeded reserved public address, but it cannot be substituted for the capability needed to preserve an internal service address. Its operational effect is not equivalent.

Question 495

A team is decommissioning a service and wants to stop paying for an unused reserved public IP. What is the best next step?

  1. Reserve a suitable static internal address for its forwarding rule
  2. Reserve and attach a compatible static external IP
  3. Release the unused static external address after detaching it
  4. Check whether the address resource is regional or global before reassignment
  5. Expand the subnet primary IPv4 range to a supported larger CIDR

Explanation

Correct Answer

C:

Unused reserved addresses can incur charges according to pricing rules. Releasing an address makes it available for allocation again.

Incorrect Answers

A:

This setting would assign a stable private load balancer IP. That behavior does not establish the requested ability to avoid stranded static IP allocation; it addresses an adjacent concern instead.

B:

This approach can keep a VM's internet IP stable. The requirement is to avoid stranded static IP allocation, so it controls a different part of the workflow and leaves that result unaddressed.

D:

Using this action would match IP scope to target resource, not avoid stranded static IP allocation. Its function is different from the specific change described in the scenario.

E:

Choosing this would expand a subnet's primary IPv4 capacity, an appropriate action for subnet cidr and address operations operations; It cannot take the place of the separate step needed to avoid stranded static IP allocation in this specific situation.

Question 496

A regional application is being migrated and the engineer must determine where its external static IP can be reused. Which configuration best meets the requirement?

  1. Check whether the address resource is regional or global before reassignment
  2. Reserve a suitable static internal address for its forwarding rule
  3. Release the unused static external address after detaching it
  4. Plan a replacement subnet or supported migration rather than relying on CIDR shrink
  5. Reserve and attach a compatible static external IP

Explanation

Correct Answer

A:

Static IP addresses have scope and load-balancer compatibility requirements. A regional address cannot simply be assigned to every global frontend.

Incorrect Answers

B:

This mechanism is intended to assign a stable private load balancer IP. It does not implement the required action to avoid regional-global address mismatch, even though both are relevant to the same general service.

C:

Select this when the goal is to free an unneeded reserved public address. Here the decisive requirement is to avoid regional-global address mismatch, and that outcome is not achieved by this action.

D:

This proposal can handle a requested subnet shrink safely, but the failure or goal described here calls for a way to avoid regional-global address mismatch; It changes the wrong control or scope for the requested outcome.

E:

Administrators use it to keep a VM's internet IP stable, rather than to avoid regional-global address mismatch. Applying it would change the wrong component of this deployment.

Question 497

A VM subnet must reach a custom on-premises prefix through a specified next hop. Which choice provides the required behavior?

  1. Use Cloud Router dynamic BGP route exchange with supported connectivity
  2. Evaluate longest-prefix matching and relevant route priorities
  3. Add an eligible custom static route with the required destination and next hop
  4. Inspect the route's network tags and instance tag membership where supported

Explanation

Correct Answer

C:

Static routes direct packets for specified destinations to supported next hops. Firewall permissions and actual path availability remain separate requirements.

Incorrect Answers

A:

This choice is useful to learn hybrid prefixes through BGP. The stated task is to direct traffic to a private network, which requires a different mechanism or permission scope.

B:

It can choose effective VPC routing paths; however, it does not provide the specific operation to direct traffic to a private network. The two controls serve different purposes.

D:

Using this action would scope an eligible custom route to tagged VMs, not direct traffic to a private network. Its function is different from the specific change described in the scenario.

Question 498

A VM has two applicable VPC routes and the engineer wants to know which destination is chosen. Which approach should be selected?

  1. Inspect the route's network tags and instance tag membership where supported
  2. Use Cloud Router dynamic BGP route exchange with supported connectivity
  3. Evaluate longest-prefix matching and relevant route priorities
  4. Verify the rule's target service account or tag and the VM's actual identity
  5. Add an eligible custom static route with the required destination and next hop

Explanation

Correct Answer

C:

Route selection considers matching specificity and applicable priority rules. A broad default route does not supersede a more specific eligible route.

Incorrect Answers

A:

While this can scope an eligible custom route to tagged VMs, the present task requires an action to understand route-selection precedence. This operation does not supply the behavior described in the requirements.

B:

Administrators use it to learn hybrid prefixes through BGP, rather than to understand route-selection precedence. Applying it would change the wrong component of this deployment.

D:

Choosing this would diagnose firewall target matching, an appropriate action for vpc firewall and ngfw administration operations; It cannot take the place of the separate step needed to understand route-selection precedence in this specific situation.

E:

The result of this choice would be to route a custom destination through a next hop. The requested outcome, to understand route-selection precedence, is handled at a different layer or through another operation.

Question 499

A hybrid network already exchanges routes with Cloud Router over BGP, but an on-premises prefix is being advertised and still is not eligible on the Google Cloud side because it violates a configured route filter. What should engineers verify?

  1. Disable every VPC firewall rule because firewall configuration governs BGP import policy
  2. Replace all Cloud Router peers with a Cloud Storage notification topic
  3. Increase the CPU count of an arbitrary VM to override BGP route import filters
  4. Inspect the BGP session's advertised and learned routes along with the effective import filters or route policies

Explanation

Correct Answer

D:

Route policies and BGP learned-route processing can determine which exchanged prefixes become usable. A working BGP session alone does not guarantee acceptance of every advertised prefix.

Incorrect Answers

A:

Firewall rules evaluate packets, whereas route policies determine the prefixes accepted or advertised. Disabling firewalls is unsafe and does not resolve route-filter configuration.

B:

A Pub/Sub topic can carry asynchronous application messages but cannot exchange BGP route announcements or enforce Cloud Router import filters. Replacing peers also breaks the existing hybrid route exchange.

C:

Increasing a virtual machine's CPU capacity changes only the workload's compute resources. Cloud Router evaluates received BGP routes and their policies separately, without consulting unrelated VM sizing.

Question 500

A workload uses a network tag-based next-hop route design and needs to verify target applicability. What is the best next step?

  1. Reserve a suitable static internal address for its forwarding rule
  2. Evaluate longest-prefix matching and relevant route priorities
  3. Inspect the route's network tags and instance tag membership where supported
  4. Add an eligible custom static route with the required destination and next hop
  5. Use Cloud Router dynamic BGP route exchange with supported connectivity

Explanation

Correct Answer

C:

Tagged routes restrict which eligible VMs receive the route. A missing matching tag can explain why one VM selects a different path.

Incorrect Answers

A:

An operator would use this action to assign a stable private load balancer IP, chiefly when trying to preserve an internal service address; The current requirement is to diagnose route applicability by tags, which remains unresolved by that operation.

B:

This setting would choose effective VPC routing paths. That behavior does not establish the requested ability to diagnose route applicability by tags; it addresses an adjacent concern instead.

D:

Its purpose is to route a custom destination through a next hop. That distinction matters: the scenario calls for an action to diagnose route applicability by tags, not this separate configuration task.

E:

While this can learn hybrid prefixes through BGP, the present task requires an action to diagnose route applicability by tags. This operation does not supply the behavior described in the requirements.

Associate Cloud Engineer Practice Tests