Google Cloud Professional Cloud Developer — Question 118
You recently developed an application. You need to call the Cloud Storage API from a Compute
Engine instance that doesn't have a public IP address. What should you do?
Answer options
- A. Use Carrier Peering
- B. Use VPC Network Peering
- C. Use Shared VPC networks
- D. Use Private Google Access
Correct answer: D
Explanation
The correct answer is D, as Private Google Access allows instances in a VPC without public IPs to connect to Google APIs and services privately. Options A, B, and C do not provide a direct method to access the Cloud Storage API from a private IP setup.