You are migrating an on-premises application to Compute Engine and Cloud SQL. The application VMs will live in their own project, separate from the Cloud SQL instances which have their own project. What should you do to configure the networks?
Suggested Answer: B
Get Premium Professional Cloud Database Engineer Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
26 comments · newest first
CO
Cory
3 months ago
True, but peering is more flexible for separate projects. Good point!
AI
Aileen
3 months ago
I feel like using shared VPC could also work. It simplifies management.
GA
Gary
3 months ago
Yeah, that makes sense. It allows communication between the VMs and Cloud SQL.
RO
Roslyn
4 months ago
I think we need to set up VPC peering between the projects.
CA
Cathrine
5 months ago
Sounds complicated, but I guess it's necessary for security.
BU
Buddy
5 months ago
Just make sure to configure firewall rules properly.
SA
Sage
5 months ago
Wait, can you really have separate projects for VMs and Cloud SQL?
AL
Alaine
6 months ago
Totally agree, VPC peering is the way to go!
YA
Yaeko
6 months ago
You need to set up VPC peering between the projects.
TI
Tijuana
6 months ago
I heard you can just use the default VPC network and it'll work fine. Who needs all this fancy networking stuff anyway?
VA
Valene
6 months ago
Hmm, I'm not sure about that. Isn't there a way to use a single VPC network and just create separate subnets for each project?
MA
Margart
6 months ago
I'm not sure, but I think we need to create a shared VPC network and then grant the necessary permissions to both projects.
XU
Xuan
6 months ago
Wouldn't it be easier to just use the same VPC network for both projects? That way, we don't have to worry about VPC peering.
AR
Arlette
7 months ago
I think we need to create a VPC network in the Compute Engine project and a separate VPC network in the Cloud SQL project, then configure a VPC peering connection between them.
TR
Troy
7 months ago
I’m a bit confused about whether we should use shared VPC or just keep them in separate VPCs. I need to double-check the documentation on that.
VA
Val
7 months ago
This seems similar to a practice question we did on network configurations. I believe we might also need to enable the Cloud SQL Admin API.
MA
Martha
8 months ago
I remember something about using private IPs for Cloud SQL, but I can't recall if we need to configure firewall rules as well.
LO
Lourdes
8 months ago
I think we need to set up VPC peering between the two projects to allow the VMs to communicate with Cloud SQL, but I'm not entirely sure how that works.
ON
Onita
8 months ago
Ah, I see. The key here is to set up a shared VPC network and then use network peering to connect the two projects. That way, the application VMs can securely access the Cloud SQL instances. I'll make sure to double-check the firewall rules too.
MO
Mozelle
8 months ago
This seems straightforward enough. I'll create a shared VPC network, then configure the appropriate network peering and firewall rules to allow the application VMs to access the Cloud SQL instances. Shouldn't be too difficult as long as I plan it out carefully.
RA
Ramonita
8 months ago
I'm a bit confused on the network setup here. Do I need to create a separate VPC for each project or can I use a shared VPC? And how do I ensure the right level of access between the application VMs and Cloud SQL?
TO
Toi
9 months ago
Okay, I think I know how to approach this. I'll need to set up a shared VPC network and then configure the appropriate firewall rules and network peering to allow the communication between the two projects.
DO
Dominic
9 months ago
Hmm, this seems like a tricky one. I'll need to think through the network configuration carefully to make sure the application VMs can securely connect to the Cloud SQL instances.
JA
James
2 months ago
Don't forget to configure the firewall rules properly!
MI
Mi
3 months ago
Yeah, that would allow secure communication between projects.
JA
Jaclyn
3 months ago
I think setting up VPC peering could work.