
Answer-first summary for fast verification
Answer: Create a new project, enable the Compute Engine and Cloud SQL APIs in that project, and replicate the setup you have created in the development environment.
The correct answer is A. Google's best practices recommend creating separate projects for different environments, such as development and production. This approach inherently prevents network routes between projects, thus satisfying the security team's requirement. Option B suggests using subnets within the same project, which could allow communication between environments. Option C suggests a Shared VPC, which explicitly allows communication between environments, violating the security team's rule. Option D involves using an existing production project from another division, which is not considered best practice for environment isolation.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You have successfully created a development environment for an application within a Google Cloud project. This application utilizes Compute Engine and Cloud SQL services. Your next task is to set up a separate production environment for the same application. The security team has mandated that no network routes should exist between the development and production environments and has instructed you to adhere to Google-recommended practices. What steps should you take to achieve this?
A
Create a new project, enable the Compute Engine and Cloud SQL APIs in that project, and replicate the setup you have created in the development environment.
B
Create a new production subnet in the existing VPC and a new production Cloud SQL instance in your existing project, and deploy your application using those resources.
C
Create a new project, modify your existing VPC to be a Shared VPC, share that VPC with your new project, and replicate the setup you have in the development environment in that new project in the Shared VPC.
D
Ask the security team to grant you the Project Editor role in an existing production project used by another division of your company. Once they grant you that role, replicate the setup you have in the development environment in that project.