
Answer-first summary for fast verification
Answer: Use gcloud to create the new project, and then deploy your application to the new project.
The correct answer is A. You should use 'gcloud' to create the new project and then deploy your application to the new project. This method is straightforward and ensures you are working within the new project environment distinct from your development environment. Option B is incorrect because there is no 'gcloud app cp' command to copy the deployed application. Option C is incorrect because Deployment Manager is meant for managing resources in a declarative format and does not directly copy deployed applications. Option D is misleading as 'gcloud app deploy' does not create new projects; the project must be created before deploying apps to it.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are currently managing a project for your App Engine application that is deployed in a development environment. After successful completion of the required testing phase, you are planning to transition to a production environment by setting up a new project. What steps should you take to create this new project and serve it as your production environment?
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.
No comments yet.