
Answer-first summary for fast verification
Answer: `gcloud app deploy app.yaml`
The correct answer is **C** because `gcloud app deploy` is the command used to deploy both code and configuration to the App Engine server. It accepts one or more deployables, such as a service's .yaml file or a configuration's .yaml file. Options **B** and **D** are incorrect because `gcloud app-engine` is not a valid command. Option **A** is incorrect as `gcloud app apply` is not a valid command. For more details, refer to the GCP documentation on `gcloud app deploy`.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your team is preparing to deploy an App Engine application using the Go runtime in a Standard Environment. What is the correct command to deploy the application?
A
gcloud app apply app.yaml
B
gcloud app-engine apply app.yaml
C
gcloud app deploy app.yaml
D
gcloud app-engine deploy app.yaml
No comments yet.