Google Cloud Associate Cloud Engineer — Question 6
You have a project for your App Engine application that serves a development environment. The required testing has succeeded and you want to create a new project to serve as your production environment. What should you do?
Answer options
- A. Use gcloud to create the new project, and then deploy your application to the new project.
- B. Use gcloud to create the new project and to copy the deployed application to the new project.
- C. Create a Deployment Manager configuration file that copies the current App Engine deployment into a new project.
- D. Deploy your application again using gcloud and specify the project parameter with the new project name to create the new project.
Correct answer: A
Explanation
The correct answer is A because it involves creating a new project using gcloud and then deploying the application directly to that project, which is the standard approach. Option B is incorrect as it suggests copying the deployment, which is not a supported feature. Option C is wrong because Deployment Manager is not meant for copying existing App Engine deployments. Option D is misleading as it implies creating the project through deployment, while the project must be created first separately.