Topic 1 Question 24
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?
Use gcloud to create the new project, and then deploy your application to the new project.
Use gcloud to create the new project and to copy the deployed application to the new project.
Create a Deployment Manager configuration file that copies the current App Engine deployment into a new project.
Deploy your application again using gcloud and specify the project parameter with the new project name to create the new project.
ユーザの投票
コメント(17)
Correct is A. Option B is wrong as the option to use gcloud app cp does not exist. Option C is wrong as Deployment Manager does not copy the application, but allows you to specify all the resources needed for your application in a declarative format using yaml Option D is wrong as gcloud app deploy would not create a new project. The project should be created before usage
👍 64coldpar2020/03/15Correct answer is A as gcloud can be used to create a new project and the gcloud app deploy can point to the new project.Refer GCP documentation - GCloud App Deploy.
Option B is wrong as the option to use gcloud app cp does not exist .Option C is wrong as Deployment Manager does not copy the application, but allows you to specify all the resources needed for your application in a declarative format using yaml Option D is wrong as gcloud app deploy would not create a new project. The project should be created before usage.👍 12leba2020/04/30- 正解だと思う選択肢: A
The correct answer is A. Use gcloud to create the new project, and then deploy your application to the new project.
Answer B, copying the deployed application to the new project, is not a recommended method for creating a new project since it can lead to inconsistencies and compatibility issues between the old and new projects.
Answer C, using a Deployment Manager configuration file to copy the current App Engine deployment to a new project, is also not recommended. Deployment Manager is a service that automates the deployment of infrastructure and applications, but it's not intended to copy a deployed application to a new project.
Answer D, deploying your application again using gcloud and specifying the project parameter with the new project name, is not recommended. This method will create a new deployment of your application in the same project as the development environment, rather than in a separate project for the production environment.
👍 5Buruguduystunstugudunstuy2023/02/18
シャッフルモード