exam questions

Exam Associate Cloud Engineer All Questions

View all questions & answers for the Associate Cloud Engineer exam

Exam Associate Cloud Engineer topic 1 question 24 discussion

Actual exam question from Google's Associate Cloud Engineer
Question #: 24
Topic #: 1
[All Associate Cloud Engineer Questions]

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.
  • 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.
  • D. Deploy your application again using gcloud and specify the project parameter with the new project name to create the new project.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
coldpar
Highly Voted 3 years, 11 months ago
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
upvoted 79 times
manu202020
3 years, 8 months ago
you're missing one thing. D isn't about using deployment manager to copy the configuration, instead, using the configuration file to copy the configuration from test project.
upvoted 6 times
AdelElagawany
5 months, 1 week ago
A is correct since the documentation here explicitly mentioned the roles of external editors https://cloud.google.com/iam/docs/job-functions/auditing#scenario_external_auditors
upvoted 1 times
...
...
...
leba
Highly Voted 3 years, 10 months ago
Correct 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.
upvoted 14 times
...
Trundul
Most Recent 2 months, 4 weeks ago
Selected Answer: C
the correct answer is C
upvoted 1 times
...
YourCloudGuru
5 months, 1 week ago
Selected Answer: A
The correct answer is A. This is the simplest and most straightforward way to create a new production environment. It is also the most efficient way, because it does not require you to copy the deployed application to the new project. The other options are not as good: * Option B is not as good, because it requires you to copy the deployed application to the new project. This can be time-consuming and error-prone. * Option C is not as good, because it requires you to create a Deployment Manager configuration file. This can be complex and time-consuming. * Option D is not as good, because it does not allow you to create a new project.
upvoted 3 times
...
Captain1212
6 months ago
Selected Answer: A
option A seems more correct as in B copy command don't exist
upvoted 1 times
...
Bb_master
10 months, 3 weeks ago
Selected Answer: C
As this is test on cloud infra then definitely the question is about creating instance with all the configuration which was present in the development environment. I think C is correct because we can copy the existing configuration from deployment manager to the new project.
upvoted 2 times
...
Selected Answer: 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.
upvoted 9 times
...
leogor
1 year, 4 months ago
A, one project can only have one deployment
upvoted 2 times
...
ale_brd_111
1 year, 5 months ago
Selected Answer: A
cloud can be used to create a new project and the gcloud app deploy can point to the new project.
upvoted 1 times
...
gcp_world123
1 year, 6 months ago
A is correct 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
upvoted 2 times
...
AzureDP900
1 year, 8 months ago
A is right
upvoted 1 times
...
haroldbenites
1 year, 9 months ago
go for A
upvoted 1 times
...
[Removed]
2 years, 2 months ago
Selected Answer: A
Think A also.
upvoted 1 times
...
onyb
2 years, 2 months ago
Although the answer is not worded correctly, I think C is the right answer . Command is gcloud app deploy ~/my_app/app.yaml --project=PROJECT (https://cloud.google.com/sdk/gcloud/reference/app/deploy)
upvoted 3 times
...
shawnkkk
2 years, 3 months ago
A. Use gcloud to create the new project, and then deploy your application to the new project.
upvoted 1 times
...
vishnukumartr
2 years, 3 months ago
A. Use gcloud to create the new project, and then deploy your application to the new project.
upvoted 1 times
...
Jaira1256
2 years, 3 months ago
Correct is A
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago