An application on a VM without an external IP must call Google Cloud Storage APIs privately. Which configuration on the VM's subnet enables that without giving the VM an external IP?
Choose an answer
Tap an option to check your answer.
Correct answer: Enable Private Google Access for the subnet.
Why this is the answer
Enabling Private Google Access for the subnet allows VMs without external IP addresses to reach Google APIs and services, including Cloud Storage, using internal IP addresses. This is the most direct and secure method for this scenario. Creating a Private Service Connect endpoint is for connecting to managed services in other VPCs, not directly for Google APIs like Cloud Storage from a VM in your own VPC. VPC Network Peering connects two VPCs, not a VPC to Google's internal services for private API access. Assigning a public DNS name and using Cloud NAT would give the VM outbound internet access, which is explicitly what the question aims to avoid by stating "without giving the VM an external IP.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed