Google Associate Cloud Engineer Practice Test 35
Question 340
A network operator creates a rule with the correct ports but targets the wrong instance tag, causing legitimate requests to time out. What must be aligned?
- Use an eligible ingress firewall rule or policy with a source service-account identity and the required target/protocol, within the supported rule semantics.
- Use the correct secure tag or service-account target attached to the intended VM resources.
- Change only the DNS record even though the described control is a network policy or route.
- Allow all ingress from 0.0.0.0/0 without narrowing the relevant source or destination.
Explanation
Correct Answer
B:Firewall rule target selection determines which workloads the rule applies to, independent of port match.
Incorrect Answers
A:This does not establish the network route or policy needed by the traffic. The necessary distinction is the actual network path or policy. The appropriate action here is: Use the correct secure tag or service-account target attached to the intended VM resources.
C:Network settings and service or application controls must be distinguished. The case instead depends on the actual network path or policy. The appropriate action here is: Use the correct secure tag or service-account target attached to the intended VM resources.
D:An unrestricted network opening is broader than the described connection requires. It leaves the actual network path or policy unaddressed. The appropriate action here is: Use the correct secure tag or service-account target attached to the intended VM resources.
Question 341
An engineer assumes a VPC firewall rule can allow all global load balancer health probes without evaluating documented source ranges. What should be checked?
- Set the health check to the correct serving protocol/path/port and authorize the documented probe sources to reach the backend.
- Use Cloud NAT for unsolicited inbound HTTP routing instead of an appropriate load balancer.
- Permit the published health-check source ranges to the required backend port under the relevant policy.
- Disable the load balancer health checks and send production traffic to every backend unconditionally.
Explanation
Correct Answer
C:Load balancer health checking needs explicitly reachable backend probes; ordinary client allow rules may not cover probe sources.
Incorrect Answers
A:The suggested action changes another component without meeting the main requirement. The case instead depends on the effective firewall policy.
B:The suggested action changes another component without meeting the main requirement. It leaves the effective firewall policy unaddressed.
D:The suggested action changes another component without meeting the main requirement. The specific requirement concerns the effective firewall policy.
Question 342
An incident requires distinguishing whether a connection is denied by Cloud NGFW policy or by a service bug, but no relevant firewall logs exist. What should be configured?
- Use an appropriately scoped hierarchical Cloud NGFW firewall policy with documented priorities and delegation.
- Enable supported firewall rules logging for the relevant policies and correlate connection evidence.
- Create an unrelated subnet without changing the active routes or selected targets.
- Increase the VM CPU count as the only remedy for the network path failure.
Explanation
Correct Answer
B:Firewall logs provide packet-decision evidence separate from application exceptions.
Incorrect Answers
A:This does not establish the network route or policy needed by the traffic. It leaves the effective firewall policy unaddressed. The appropriate action here is: Enable supported firewall rules logging for the relevant policies and correlate connection evidence.
C:This does not establish the network route or policy needed by the traffic. The specific requirement concerns the effective firewall policy.
D:Additional CPU changes compute capacity rather than the named cloud control. The necessary distinction is the effective firewall policy.
Question 343
An application is reachable internally but not from internet clients, and an operator opens a firewall ingress rule to an instance with no public endpoint. What else should be designed?
- Verify that the guest process listens on the target port and the guest firewall permits the connection.
- Provide the appropriate authorized load balancer or external addressing/ingress endpoint; a firewall allow does not create an internet endpoint.
- Disable the load balancer health checks and send production traffic to every backend unconditionally.
- Change only the backend instance labels and assume health checks will repair automatically.
Explanation
Correct Answer
B:External reachability depends on endpoint addressing and forwarding, not merely on firewall admission.
Incorrect Answers
A:The suggested action changes another component without meeting the main requirement. The specific requirement concerns the intended ingress boundary. The appropriate action here is: Provide the appropriate authorized load balancer or external addressing/ingress endpoint; a firewall allow does not create an internet endpoint.
C:The suggested action changes another component without meeting the main requirement. The necessary distinction is the intended ingress boundary. The appropriate action here is: Provide the appropriate authorized load balancer or external addressing/ingress endpoint; a firewall allow does not create an internet endpoint.
D:The suggested action changes another component without meeting the main requirement. The case instead depends on the intended ingress boundary. The appropriate action here is: Provide the appropriate authorized load balancer or external addressing/ingress endpoint; a firewall allow does not create an internet endpoint.
Question 344
A team wants to block egress to unapproved destinations for only one set of VMs while allowing the rest of the VPC's traffic. What policy targeting is suitable?
- Use an eligible ingress firewall rule or policy with a source service-account identity and the required target/protocol, within the supported rule semantics.
- Allow all ingress from 0.0.0.0/0 without narrowing the relevant source or destination.
- Apply a scoped egress rule to the intended secure-tagged or identity-selected VM population.
- Turn off firewall logging before identifying the effective rule handling the packets.
Explanation
Correct Answer
C:Cloud NGFW policies can target subsets of workloads without requiring a VPC-wide deny.
Incorrect Answers
A:This does not establish the network route or policy needed by the traffic. The necessary distinction is the actual network path or policy. The appropriate action here is: Apply a scoped egress rule to the intended secure-tagged or identity-selected VM population.
B:An unrestricted network opening is broader than the described connection requires. The case instead depends on the actual network path or policy.
D:This does not establish the network route or policy needed by the traffic. It leaves the actual network path or policy unaddressed. The appropriate action here is: Apply a scoped egress rule to the intended secure-tagged or identity-selected VM population.
Question 345
A new allow rule appears to be ignored when tested from a source IP different from the source range in the rule. What should the engineer verify?
- Inspect effective hierarchical firewall-policy priority and matching traffic criteria, and request an approved change at the controlling policy layer.
- Allow all ingress from 0.0.0.0/0 without narrowing the relevant source or destination.
- Compare actual source IP after any NAT with the firewall rule's matching source fields.
- Change only the DNS record even though the described control is a network policy or route.
Explanation
Correct Answer
C:Firewall source matching evaluates the packet addresses seen at that point in the network path.
Incorrect Answers
A:This does not establish the network route or policy needed by the traffic. The case instead depends on the effective firewall policy.
B:An unrestricted network opening is broader than the described connection requires. It leaves the effective firewall policy unaddressed. The appropriate action here is: Compare actual source IP after any NAT with the firewall rule's matching source fields.
D:Network settings and service or application controls must be distinguished. The specific requirement concerns the effective firewall policy. The appropriate action here is: Compare actual source IP after any NAT with the firewall rule's matching source fields.
Question 346
A company needs encrypted connectivity over the internet between its on-premises router and a Google Cloud VPC. Which managed network service fits?
- Deploy a supported Cloud VPN connection with compatible IPsec settings and redundant tunnels where required.
- Check the Cloud Router BGP advertised/learned prefixes and the on-premises router's accepted routes, then add the approved subnet advertisement.
- Change the VPC display name and assume routes and firewall rules are automatically corrected.
- Allow all ingress from 0.0.0.0/0 without narrowing the relevant source or destination.
Explanation
Correct Answer
A:Cloud VPN uses IPsec tunnels over the internet to connect external networks to VPC networks.
Incorrect Answers
B:This does not establish the network route or policy needed by the traffic. It leaves the actual network path or policy unaddressed. The appropriate action here is: Deploy a supported Cloud VPN connection with compatible IPsec settings and redundant tunnels where required.
C:Display names and labels identify resources; they do not enforce their runtime behavior. The specific requirement concerns the actual network path or policy.
D:An unrestricted network opening is broader than the described connection requires. The necessary distinction is the actual network path or policy. The appropriate action here is: Deploy a supported Cloud VPN connection with compatible IPsec settings and redundant tunnels where required.
Question 347
A business requires highly available VPN connectivity, not one Classic VPN tunnel without failover. Which setup should it prefer?
- Check Cloud Router BGP sessions and advertised/received route prefixes for the VPN connection.
- Allow all ingress from 0.0.0.0/0 without narrowing the relevant source or destination.
- Turn off firewall logging before identifying the effective rule handling the packets.
- Configure an HA VPN topology with redundant interfaces/tunnels and suitable peer connectivity.
Explanation
Correct Answer
D:HA VPN supports higher-availability redundant connectivity than a single nonredundant tunnel.
Incorrect Answers
A:This does not establish the network route or policy needed by the traffic. The specific requirement concerns the actual network path or policy. The appropriate action here is: Configure an HA VPN topology with redundant interfaces/tunnels and suitable peer connectivity.
B:An unrestricted network opening is broader than the described connection requires. The necessary distinction is the actual network path or policy. The appropriate action here is: Configure an HA VPN topology with redundant interfaces/tunnels and suitable peer connectivity.
C:This does not establish the network route or policy needed by the traffic. The case instead depends on the actual network path or policy. The appropriate action here is: Configure an HA VPN topology with redundant interfaces/tunnels and suitable peer connectivity.
Question 348
An HA VPN tunnel is established but on-premises prefixes are not being learned by the VPC. What routing component should be examined?
- Check Cloud Router BGP sessions and advertised/received route prefixes for the VPN connection.
- Associate the eligible VLAN attachment with a Cloud Router interface and configure a working BGP peer session with approved prefixes.
- Increase the VM CPU count as the only remedy for the network path failure.
- Change the VPC display name and assume routes and firewall rules are automatically corrected.
Explanation
Correct Answer
A:Cloud Router exchanges dynamic routes for HA VPN; tunnel status alone does not prove route propagation.
Incorrect Answers
B:This does not establish the network route or policy needed by the traffic. The necessary distinction is the actual network path or policy. The appropriate action here is: Check Cloud Router BGP sessions and advertised/received route prefixes for the VPN connection.
C:Additional CPU changes compute capacity rather than the named cloud control. The case instead depends on the actual network path or policy.
D:Display names and labels identify resources; they do not enforce their runtime behavior. It leaves the actual network path or policy unaddressed. The appropriate action here is: Check Cloud Router BGP sessions and advertised/received route prefixes for the VPN connection.
Question 349
A migration team adds Cloud VPN to a VPC with an on-premises network using an overlapping CIDR. What must change for reliable routing?
- Redesign conflicting address space or use an explicitly supported NAT/interconnect pattern before routing between networks.
- Deploy a supported HA VPN over Cloud Interconnect topology with independent routers for its network layers.
- Assume one VPN tunnel always satisfies every required availability and redundancy target.
- Configure Cloud NAT as a substitute for an authenticated site-to-site VPN tunnel.
Explanation
Correct Answer
A:Ordinary IPsec VPN does not make overlapping IP ranges unambiguous.
Incorrect Answers
B:Network settings and service or application controls must be distinguished. The case instead depends on Interconnect attachment and link capacity.
C:The suggested action changes another component without meeting the main requirement. It leaves Interconnect attachment and link capacity unaddressed.
D:The suggested action changes another component without meeting the main requirement. The specific requirement concerns Interconnect attachment and link capacity.
Question 350
An on-premises app requires very high sustained private bandwidth, and the team proposes one internet IPsec tunnel as its only link. What alternative should be evaluated?
- Deploy a supported HA VPN over Cloud Interconnect topology with independent routers for its network layers.
- Assess dedicated or partner Cloud Interconnect capacity with suitable redundancy and security layers.
- Open an unrestricted public firewall rule rather than establishing the required private tunnel.
- Change only the subnet display names while leaving IPsec and route configuration untouched.
Explanation
Correct Answer
B:Cloud Interconnect offers physical/provider connectivity for high-volume hybrid network requirements.
Incorrect Answers
A:Network settings and service or application controls must be distinguished. It leaves Interconnect attachment and link capacity unaddressed.
C:The suggested action changes another component without meeting the main requirement. The specific requirement concerns Interconnect attachment and link capacity. The appropriate action here is: Assess dedicated or partner Cloud Interconnect capacity with suitable redundancy and security layers.
D:Display names and labels identify resources; they do not enforce their runtime behavior. The necessary distinction is Interconnect attachment and link capacity.