Professional Cloud Developer · Free Practice Question Easy
Question 11
To access the Cloud Storage API from a Compute Engine instance without a public IP address, you need to make a call to the API. This is necessary for your recently developed application.
What actions do you need to take?
- A Use Shared VPC networks
- B Use Carrier Peering
- C Use VPC Network Peering
- D Use Private Google Access
Reveal correct answer
Correct answer: D
Explanation
To call the Cloud Storage API from a Compute Engine instance that doesn't have a public IP address, the correct option is to use Private Google Access. According to the Professional Google Cloud Developer documentation, Private Google Access enables instances without external IP addresses to reach Google APIs and services, such as Cloud Storage, through internal IP addresses. This allows for secure and efficient communication between services within a private network without exposing them to the public internet. By enabling Private Google Access on a subnet, instances within that subnet can access Google services without the need for a public IP address or VPN connection. Therefore, Private Google Access is the recommended option for accessing Google APIs and services from private Compute Engine instances.Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
You must be logged in to post a comment.
