
Answer-first summary for fast verification
Answer: Activate the Service Networking API in your project., Create a private connection to a service producer.
To access Cloud SQL from VPC instances without public IPs, you must use Private Services Access. This requires enabling the Service Networking API (A) to manage VPC peering and creating a private connection (C) to establish the peering with Google's service producer network. Activating the Cloud Datastore API (B) is unrelated. Static routes (D) are unnecessary as routing is handled by the VPC peering. Private Google Access (E) enables access to public Google APIs via NAT, which isn't required for private Cloud SQL access.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are developing a new application that needs to access Cloud SQL from VPC instances without public IP addresses.
Which two steps should you perform? (Select two.)
A
Activate the Service Networking API in your project.
B
Activate the Cloud Datastore API in your project.
C
Create a private connection to a service producer.
D
Create a custom static route to allow the traffic to reach the Cloud SQL API.
E
Enable Private Google Access.
No comments yet.