
Answer-first summary for fast verification
Answer: Perform App Engine deploy using the --project parameter
The correct answer is D because the `gcloud app deploy` command allows the `--project` parameter to specify the project where the App Engine application should be deployed. This method directly targets the production environment without unnecessary steps. - **Option A** is incorrect because cloning the application is not a standard or efficient method for deployment. - **Option B** is incorrect because the `app.yaml` file does not control the project to which the application is deployed. - **Option C**, while valid, involves an additional step of activating the production config, making it less efficient than option D.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
After successfully testing an App Engine application in the development environment, you're ready to move it to production. What is the most straightforward method to deploy the application to the production environment?
A
Clone the App Engine application to the production environment
B
Change the project parameter in app.yaml and redeploy
C
Activate the production config, perform App Engine deploy
D
Perform App Engine deploy using the --project parameter