Google Associate Cloud Engineer Practice Test 30

Question 290

An application VM must not initiate outbound connections to a particular external address range. What should be configured?

  1. Create an ingress allow firewall rule with the specified source range and TCP port 443
  2. Create an ingress deny rule against packets coming from the specified external destination range
  3. Create an egress deny rule scoped to the appropriate target and destination
  4. Set the target network tags and apply those tags to the intended VMs
  5. Use service-account-based firewall targets where supported

Explanation

Correct Answer

C:

Egress firewall rules control outbound packets from target resources. Denying only ingress does not enforce an outbound destination restriction.

Incorrect Answers

A:

Select this when the goal is to permit restricted inbound HTTPS traffic. Here the decisive requirement is to prevent VM egress to a prohibited CIDR, and that outcome is not achieved by this action.

B:

Ingress filtering handles inbound traffic. The VM must be prevented from initiating outbound connections to a destination, which requires correctly scoped egress policy rather than reversing the flow direction.

D:

The tool can use VM network tags for firewall targets, but it cannot be substituted for the capability needed to prevent VM egress to a prohibited CIDR. Its operational effect is not equivalent.

E:

This mechanism is intended to target firewall rules by VM service identity. It does not implement the required action to prevent VM egress to a prohibited CIDR, even though both are relevant to the same general service.

Question 291

A firewall rule must apply only to VMs that use a specific network service account. Which action is most appropriate?

  1. Create an egress deny rule scoped to the appropriate target and destination
  2. Create an ingress allow firewall rule with the specified source range and TCP port 443
  3. Set the target network tags and apply those tags to the intended VMs
  4. Evaluate the applicable firewall rule and policy priority order
  5. Use service-account-based firewall targets where supported

Explanation

Correct Answer

E:

Service-account targeting identifies eligible VM interfaces by attached service identity. It avoids relying solely on instance names or mutable conventional network tags.

Incorrect Answers

A:

This setting would block selected outbound destinations. That behavior does not establish the requested ability to filter network traffic for selected service account VMs; it addresses an adjacent concern instead.

B:

This approach can permit restricted inbound HTTPS traffic. The requirement is to filter network traffic for selected service account VMs, so it controls a different part of the workflow and leaves that result unaddressed.

C:

Its purpose is to use VM network tags for firewall targets. That distinction matters: the scenario calls for an action to filter network traffic for selected service account VMs, not this separate configuration task.

D:

The choice is aimed at a different purpose: to identify the effective matching firewall rule; Even if it can evaluate rule precedence based on priority, that would not accomplish the stated requirement to filter network traffic for selected service account VMs.

Question 292

An allow rule should apply to a set of VMs selected with ordinary network tags. Which solution should be used?

  1. Create an ingress allow firewall rule with the specified source range and TCP port 443
  2. Create an egress deny rule scoped to the appropriate target and destination
  3. Use a supported regional network firewall policy
  4. Set the target network tags and apply those tags to the intended VMs
  5. Use service-account-based firewall targets where supported

Explanation

Correct Answer

D:

VPC firewall rules can match target network tags for eligible VM instances. Resource Manager secure Tags are a separate tagging system with different policy integration.

Incorrect Answers

A:

Select this when the goal is to permit restricted inbound HTTPS traffic. Here the decisive requirement is to limit an allow rule to tagged instances, and that outcome is not achieved by this action.

B:

Administrators use it to block selected outbound destinations, rather than to limit an allow rule to tagged instances. Applying it would change the wrong component of this deployment.

C:

This alternative addresses cloud ngfw policy structure by allowing a team to manage a regional network firewall policy; The incident, however, requires the different action to limit an allow rule to tagged instances, so its central configuration remains unchanged.

E:

The result of this choice would be to target firewall rules by VM service identity. The requested outcome, to limit an allow rule to tagged instances, is handled at a different layer or through another operation.

Question 293

An organization security office needs consistent firewall rules that apply to multiple descendant projects. What is the best next step?

  1. Review firewall policy evaluation order and effective rules
  2. Use a hierarchical firewall policy associated at the appropriate organization or folder
  3. Use supported Cloud NGFW secure Tag matching with tag bindings
  4. Use a supported regional network firewall policy

Explanation

Correct Answer

B:

Hierarchical firewall policies enforce network security rules across associated hierarchy scopes. They provide central control beyond an individual VPC firewall rule set.

Incorrect Answers

A:

It can evaluate firewall policy precedence; however, it does not provide the specific operation to apply central network security from a folder. The two controls serve different purposes.

C:

Using this action would match firewall controls through secure Tags, not apply central network security from a folder. Its function is different from the specific change described in the scenario.

D:

This setting would manage a regional network firewall policy. That behavior does not establish the requested ability to apply central network security from a folder; it addresses an adjacent concern instead.

Question 294

A VPC owner wants a group of rules managed together for networks under one regional policy scope. Which configuration best meets the requirement?

  1. Use a supported regional network firewall policy
  2. Use supported Cloud NGFW secure Tag matching with tag bindings
  3. Create separate custom VPC networks for the teams
  4. Review firewall policy evaluation order and effective rules
  5. Use a hierarchical firewall policy associated at the appropriate organization or folder

Explanation

Correct Answer

A:

Regional network firewall policies group regional rules for eligible network associations. They differ in scope from organization-level hierarchical policies.

Incorrect Answers

B:

The result of this choice would be to match firewall controls through secure Tags. The requested outcome, to group region-scoped network security rules, is handled at a different layer or through another operation.

C:

Its purpose is to isolate team networking into separate VPCs. That distinction matters: the scenario calls for an action to group region-scoped network security rules, not this separate configuration task.

D:

While this can evaluate firewall policy precedence, the present task requires an action to group region-scoped network security rules. This operation does not supply the behavior described in the requirements.

E:

Administrators use it to enforce firewall controls across projects, rather than to group region-scoped network security rules. Applying it would change the wrong component of this deployment.

Question 295

An enterprise needs firewall rules that use centrally managed secure Tag values for eligible workloads. What should be configured?

  1. Review firewall policy evaluation order and effective rules
  2. Use a supported regional network firewall policy
  3. Use a hierarchical firewall policy associated at the appropriate organization or folder
  4. Set the target network tags and apply those tags to the intended VMs
  5. Use supported Cloud NGFW secure Tag matching with tag bindings

Explanation

Correct Answer

E:

Resource Manager secure Tags supply governed tag identities for supported firewall policy rules. They are distinct from legacy VM network tags.

Incorrect Answers

A:

It can evaluate firewall policy precedence; however, it does not provide the specific operation to apply governed tag-based network policy. The two controls serve different purposes.

B:

The tool can manage a regional network firewall policy, but it cannot be substituted for the capability needed to apply governed tag-based network policy. Its operational effect is not equivalent.

C:

This choice is useful to enforce firewall controls across projects. The stated task is to apply governed tag-based network policy, which requires a different mechanism or permission scope.

D:

This alternative addresses firewall rule mechanics by allowing a team to use VM network tags for firewall targets; The incident, however, requires the different action to apply governed tag-based network policy, so its central configuration remains unchanged.

Question 296

A security team must inspect rule order when overlapping Cloud NGFW policies produce an unexpected decision. Which action is most appropriate?

  1. Evaluate Standard Tier where supported
  2. Use a hierarchical firewall policy associated at the appropriate organization or folder
  3. Review firewall policy evaluation order and effective rules
  4. Use supported Cloud NGFW secure Tag matching with tag bindings
  5. Use a supported regional network firewall policy

Explanation

Correct Answer

C:

Firewall decision making considers policy tiers, priority, actions, and matching selectors. A single VPC allow rule may not override an enforced higher-level denial.

Incorrect Answers

A:

The technical effect is to choose a cost-oriented regional network tier, not to diagnose rule priority and hierarchy conflicts; That distinction matters here because the first operation serves run a regional external endpoint on Standard Tier, rather than the scenario's required result.

B:

This approach can enforce firewall controls across projects. The requirement is to diagnose rule priority and hierarchy conflicts, so it controls a different part of the workflow and leaves that result unaddressed.

D:

While this can match firewall controls through secure Tags, the present task requires an action to diagnose rule priority and hierarchy conflicts. This operation does not supply the behavior described in the requirements.

E:

Its purpose is to manage a regional network firewall policy. That distinction matters: the scenario calls for an action to diagnose rule priority and hierarchy conflicts, not this separate configuration task.

Question 297

An on-premises site needs encrypted IPsec tunnels to a Google Cloud VPC over the public internet. Which method addresses the task?

  1. Evaluate Dedicated Interconnect
  2. Deploy Cloud VPN with a suitable supported tunnel configuration
  3. Configure Cloud Router with BGP peers
  4. Evaluate Partner Interconnect

Explanation

Correct Answer

B:

Cloud VPN provides IPsec connectivity between VPCs and external networks. It differs from private physical interconnect capacity.

Incorrect Answers

A:

The tool can provide dedicated hybrid network connectivity, but it cannot be substituted for the capability needed to connect an office network through VPN. Its operational effect is not equivalent.

C:

The result of this choice would be to exchange routes dynamically with hybrid peers. The requested outcome, to connect an office network through VPN, is handled at a different layer or through another operation.

D:

This mechanism is intended to provision provider-mediated private connectivity. It does not implement the required action to connect an office network through VPN, even though both are relevant to the same general service.

Question 298

A large data center requires high-throughput dedicated private connectivity to Google Cloud. What is the best next step?

  1. Deploy Cloud VPN with a suitable supported tunnel configuration
  2. Evaluate Dedicated Interconnect
  3. Keep IAM administration separate; peering only provides network connectivity
  4. Evaluate Partner Interconnect
  5. Configure Cloud Router with BGP peers

Explanation

Correct Answer

B:

Dedicated Interconnect supplies physical connection capacity through supported colocations. Routing and redundant attachment design remain necessary.

Incorrect Answers

A:

This approach can encrypt hybrid traffic over IPsec. The requirement is to connect a high-volume data center privately, so it controls a different part of the workflow and leaves that result unaddressed.

C:

This alternative addresses peering and route limitations by allowing a team to separate peering from resource permissions; The incident, however, requires the different action to connect a high-volume data center privately, so its central configuration remains unchanged.

D:

This setting would provision provider-mediated private connectivity. That behavior does not establish the requested ability to connect a high-volume data center privately; it addresses an adjacent concern instead.

E:

Using this action would exchange routes dynamically with hybrid peers, not connect a high-volume data center privately. Its function is different from the specific change described in the scenario.

Question 299

A company cannot colocate directly but wants private connectivity through an approved network provider. Which configuration best meets the requirement?

  1. Evaluate HA VPN over Cloud Interconnect
  2. Deploy Cloud VPN with a suitable supported tunnel configuration
  3. Evaluate Partner Interconnect
  4. Configure Cloud Router with BGP peers
  5. Evaluate Dedicated Interconnect

Explanation

Correct Answer

C:

Partner Interconnect uses supported service providers to connect customer networks to Google Cloud. It is a different acquisition model from direct physical Dedicated Interconnect.

Incorrect Answers

A:

The technical effect is to encrypt traffic over Interconnect, not to connect a remote data center through a carrier; That distinction matters here because the first operation serves combine private capacity with VPN encryption, rather than the scenario's required result.

B:

This mechanism is intended to encrypt hybrid traffic over IPsec. It does not implement the required action to connect a remote data center through a carrier, even though both are relevant to the same general service.

D:

While this can exchange routes dynamically with hybrid peers, the present task requires an action to connect a remote data center through a carrier. This operation does not supply the behavior described in the requirements.

E:

Administrators use it to provide dedicated hybrid network connectivity, rather than to connect a remote data center through a carrier. Applying it would change the wrong component of this deployment.

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.

Associate Cloud Engineer Practice Tests