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 22 discussion

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

You significantly changed a complex Deployment Manager template and want to confirm that the dependencies of all defined resources are properly met before committing it to the project. You want the most rapid feedback on your changes. What should you do?

  • A. Use granular logging statements within a Deployment Manager template authored in Python.
  • B. Monitor activity of the Deployment Manager execution on the Stackdriver Logging page of the GCP Console.
  • C. Execute the Deployment Manager template against a separate project with the same configuration, and monitor for failures.
  • D. Execute the Deployment Manager template using the ג€"-preview option in the same project, and observe the state of interdependent resources.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
YashBindlish
Highly Voted 3 years, 10 months ago
Correct answer is D as Deployment Manager provides the preview feature to check on what resources would be created
upvoted 47 times
...
Buruguduystunstugudunstuy
Highly Voted 1 year ago
Selected Answer: D
Answer D is the most appropriate choice for getting rapid feedback on changes to a Deployment Manager template. The preview command in Deployment Manager creates a preview deployment of the resources defined in the configuration, without actually creating or modifying any resources. This allows you to quickly test and validate changes to the template before committing them to the project. During the preview, you can observe the state of interdependent resources and ensure that their dependencies are properly met. This provides rapid feedback on your changes, without actually creating any resources or incurring any costs.
upvoted 13 times
...
tmpcs
Most Recent 3 months ago
D is right based on this part of doc: https://cloud.google.com/deployment-manager/docs/deployments/updating-deployments#optional_preview_an_updated_configuration
upvoted 3 times
...
BAofBK
3 months, 4 weeks ago
The correct answer is D.
upvoted 1 times
...
YourCloudGuru
5 months, 1 week ago
Selected Answer: D
The correct option is D The `--preview` option will preview the changes that will be made to the deployment without actually making them. This allows you to see how the changes will affect the deployment and to identify any potential problems. The other options are not as good: * Option A is not as good, because it requires you to add logging statements to your Deployment Manager template. This can be time-consuming and error-prone. * Option B is not as good, because it requires you to monitor the Stackdriver Logging page of the GCP Console. This can be difficult to do, especially for complex deployments. * Option C is not as good, because it requires you to create a separate project with the same configuration. This can be time-consuming and expensive.
upvoted 2 times
...
Captain1212
6 months ago
D is the right answer aas deployment manager provides the preview option to check the templates
upvoted 1 times
...
ExamsFR
7 months, 2 weeks ago
Selected Answer: D
D is right
upvoted 1 times
...
Neha_Pallavi
7 months, 2 weeks ago
D is correct. Execute the Deployment Manager template using the ג€"-preview option in the same project, and observe the state of interdependent resources.
upvoted 1 times
...
Partha117
11 months, 2 weeks ago
Selected Answer: D
D as it gives preview option to check
upvoted 1 times
...
ChristN
1 year, 3 months ago
Selected Answer: D
From: https://cloud.google.com/deployment-manager/docs/deployments/updating-deployments#optional_preview_an_updated_configuration Preview an updated configuration You can preview the update you want to make before committing any changes, with the Google Cloud CLI or the API. The Deployment Manager service previews the configuration by expanding the full configuration and creating "shell" resources. Deployment Manager does not instantiate any actual resources when you preview a configuration, giving you the opportunity to see the deployment before committing to it. gcloud API With the Google Cloud CLI, make an update request with the --preview parameter: gcloud deployment-manager deployments update example-deployment \ --config configuration-file.yaml \ --preview
upvoted 3 times
...
Kopy
1 year, 3 months ago
Selected Answer: D
deployment Manager provides the preview feature
upvoted 1 times
...
leogor
1 year, 4 months ago
D Preview mode
upvoted 1 times
...
RanjithK
1 year, 8 months ago
Answer is D
upvoted 1 times
...
AzureDP900
1 year, 8 months ago
D is right.. Preview mode is best to verification
upvoted 2 times
...
jagopi9381
1 year, 8 months ago
Selected Answer: D
D FOR SURE
upvoted 1 times
...
haroldbenites
1 year, 9 months ago
Go for D
upvoted 1 times
...
tigerbaer
2 years ago
Selected Answer: D
Preview feature is available
upvoted 2 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