
Answer-first summary for fast verification
Answer: Deploy the app in a new project created using the `gcloud` command-line tool.
Option A is correct because using the `gcloud` command-line tool to create a new GCP project and then deploying the app to it ensures a clear separation between development and production environments, adhering to best practices. This separation minimizes potential impacts from development activities on the production environment. Options B and C are incorrect as they suggest modifications within the same GCP project, failing to provide the necessary environment separation. Option D is incorrect because specifying a new project name with the project parameter in `gcloud` does not create a new project but rather attempts to deploy to an existing one, which contradicts the requirement for a new production environment. For more details, refer to the [GCP documentation on creating projects](https://cloud.google.com/sdk/gcloud/reference/projects/create) and [deploying apps](https://cloud.google.com/sdk/gcloud/reference/app/deploy).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
As a lead cloud engineer at a tech startup, your team has successfully developed an app on App Engine Standard Environment within a GCP project, serving as the development environment. With testing completed, the next step is to release the app to production in a new GCP project. What is the best approach to achieve this?
A
Deploy the app in a new project created using the gcloud command-line tool.
B
Create a new App Engine Service within the same GCP project.
C
Create a new App Engine Version within the same GCP project.
D
Use gcloud to deploy the app, specifying the new project name with the project parameter to create the new project.
No comments yet.