CLOUD-SECURITY-ENGINEER practice question 24 of 35

Your team needs to make sure that a Compute Engine instance does not have access to the internet or to any Google APIs or services. Which two settings must remain disabled to meet these requirements? (Choose two.)

Full set: 317 questions
Answer options
A: Public IP Correct answer
B: IP Forwarding
C: Private Google Access Correct answer
D: Static routes
E: IAM Network User Role
Correct Answer:
A. Public IP; C. Private Google Access
Explanation

To completely isolate a Compute Engine instance, you must prevent it from reaching external networks and internal Google services. Disabling the Public IP (or ensuring it has no external IP address) prevents any communication with the internet. Disabling Private Google Access for the instance's subnet prevents it from reaching Google APIs and services (like Cloud Storage or BigQuery) through Google's internal network, even without a public IP. Together, these two settings ensure the instance is fully isolated from both the public internet and other Google services.

Why Incorrect

B. IP Forwarding allows an instance to act as a router for other instances; it does not grant the instance itself internet or API access.
D. Static routes define traffic paths within a VPC or to on-premises networks; they do not inherently grant access to the internet or Google APIs.
E. The IAM Network User Role is a permission for users to manage network resources, not a setting that controls an instance's network connectivity.

References

1. Google Cloud Documentation

"Configuring internet access for VMs"

Section: "VMs with no external IP address". This section states that VMs without an external IP address cannot access the internet unless other services like Cloud NAT are configured.

2. Google Cloud Documentation

"Private Google Access"

Section: "Overview". It explicitly states

"With Private Google Access

VMs that only have internal IP addresses... can reach the external IP addresses of Google APIs and services." Disabling this prevents that access.

3. Google Cloud Documentation

"IP forwarding for instances"

Section: "Overview". This document describes IP forwarding as a feature that lets an instance handle packets for other destinations

not for its own external access.

Scroll to Top