ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 24 - Associate Cloud Engineer discussion

Report
Export

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?

A.
Use gcloud to create the new project, and then deploy your application to the new project.
Answers
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.
Answers
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.
Answers
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.
Answers
D.
Deploy your application again using gcloud and specify the project parameter with the new project name to create the new project.
Suggested answer: A

Explanation:

You can deploy to a different project by using --project flag.

By default, the service is deployed the current project configured via:

$ gcloud config set core/project PROJECT

To override this value for a single deployment, use the --project flag:

$ gcloud app deploy ~/my_app/app.yaml --project=PROJECT

Ref: https://cloud.google.com/sdk/gcloud/reference/app/deploy

asked 18/09/2024
Fabio Morais Melo
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first