nerdexam
Google

PROFESSIONAL-CLOUD-SECURITY-ENGINEER · Question #15

A customer is running an analytics workload on Google Cloud Platform (GCP) where Compute Engine instances are accessing data stored on Cloud Storage. Your team wants to make sure that this workload…

The correct answer is A. Configure Private Google Access on the Compute Engine subnet B. Avoid assigning public IP addresses to the Compute Engine cluster. To ensure Compute Engine instances accessing Cloud Storage cannot interact with the internet, configure Private Google Access on their subnet and avoid assigning them public IP addresses.

Submitted by carter_n· Apr 18, 2026Configuring network security

Question

A customer is running an analytics workload on Google Cloud Platform (GCP) where Compute Engine instances are accessing data stored on Cloud Storage. Your team wants to make sure that this workload will not be able to access, or be accessed from, the internet. Which two strategies should your team use to meet these requirements? (Choose two.)

Options

  • AConfigure Private Google Access on the Compute Engine subnet
  • BAvoid assigning public IP addresses to the Compute Engine cluster.
  • CMake sure that the Compute Engine cluster is running on a separate subnet.
  • DTurn off IP forwarding on the Compute Engine instances in the cluster.
  • EConfigure a Cloud NAT gateway.

How the community answered

(29 responses)
  • A
    72% (21)
  • C
    7% (2)
  • D
    17% (5)
  • E
    3% (1)

Why each option

To ensure Compute Engine instances accessing Cloud Storage cannot interact with the internet, configure Private Google Access on their subnet and avoid assigning them public IP addresses.

AConfigure Private Google Access on the Compute Engine subnetCorrect

Configuring Private Google Access on the subnet allows Compute Engine instances without public IP addresses to securely access Google services, such as Cloud Storage, using internal IP addresses, thereby preventing internet egress for these interactions.

BAvoid assigning public IP addresses to the Compute Engine cluster.Correct

Avoiding public IP addresses on Compute Engine instances ensures they cannot be directly accessed from the internet and cannot initiate outbound connections to the internet without additional mechanisms like Cloud NAT, fulfilling the requirement of isolation from the internet.

CMake sure that the Compute Engine cluster is running on a separate subnet.

Running on a separate subnet provides network segmentation within the VPC but does not inherently prevent internet access or access from the internet if public IPs are assigned or default routes allow it.

DTurn off IP forwarding on the Compute Engine instances in the cluster.

Turning off IP forwarding on Compute Engine instances prevents them from acting as routers for other instances but does not restrict their own internet access or ingress from the internet.

EConfigure a Cloud NAT gateway.

Configuring a Cloud NAT gateway enables instances without public IP addresses to initiate outbound connections to the internet, which directly contradicts the requirement to prevent any internet access.

Concept tested: Private Google Access and network isolation

Source: https://cloud.google.com/vpc/docs/private-google-access

Topics

#Network Isolation#Private Google Access#Private IP addresses#Compute Engine Networking

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-SECURITY-ENGINEER Practice