Question 7
Question 7
Google Discussions
Go to Exam
To reduce costs, the Director of Engineering has required all developers to move their development infrastructure
resources from on-premises virtual machines
(VMs) to Google Cloud Platform. These resources go through multiple start/stop events during the day and require
state to persist. You have been asked to design the process of running a development environment in Google
Cloud while providing cost visibility to the finance department.
Which two steps should you take? (Choose two.)
A. Use the - -no-auto-delete flag on all persistent disks and stop the VM
B. Use the - -auto-delete flag on all persistent disks and terminate the VM
C. Apply VM CPU utilization label and include it in the BigQuery billing export
D. Use Google BigQuery billing export and labels to associate cost to groups
E. Store all state into local SSD, snapshot the persistent disks, and terminate the VM
F. Store all state in Google Cloud Storage, snapshot the persistent disks, and terminate the VM
Comments
Submit
A. Use the --no-auto-delete flag on all persistent disks and stop the VM:
1. Cost Savings: When you stop a VM, you only pay for the persistent disks attached to it. The --no-auto-delete flag
ensures that the disks remain available even when the VM is stopped, preserving the developers' work and avoiding the
cost of recreating the environment from scratch each time.
2. State Persistence: This approach ensures that the development environment's state is saved on the persistent disk,
allowing developers to resume their work seamlessly when they restart the VM.
D. Use Google BigQuery billing export and labels to associate cost to groups:
1. Cost Visibility: BigQuery billing export allows you to analyze your Google Cloud costs in detail. By applying labels to your
resources (e.g., "environment: development", "team: frontend"), you can categorize and track costs associated with
different development groups.
upvoted 3 times
Hungdv 8 months, 2 weeks ago
Choose A and D
upvoted 1 times
Sephethus 10 months, 2 weeks ago
Another confusing question because I took the "these machines go through multiple stop/starts during the day" as a part of
the migration, not as a part of daily functionality, so none of the answers other than D made much sense to me. People
need to word the questions better on tests and give more than enough context or people like me are going to get confused,
second guess our answers, and fail.
upvoted 1 times
upvoted 1 times
afsarkhan 11 months, 2 weeks ago
Selected Answer: AD
F is too complex solution to solve this problem.
E local SSD does not persist on termination of vm so this is also a wrong option
A, B suggest persistent disk but I think A makes better sense.
So my answer is A and D
upvoted 1 times
44eacc1 1 year ago
E wrong:
Scenarios where Compute Engine does not persist Local SSD data
Data on Local SSD disks does not persist through the following events:
If you shut down the guest operating system and force the VM to stop.
upvoted 1 times
shikha344 1 year, 1 month ago
Hi all, i am trying to view questions from 135.But i cannot access the page as it is asking for contributer access.Is it same
for everyone?
upvoted 1 times
d0094d6 1 year, 2 months ago
Selected Answer: A
From the GCP Practice exam... A and D
upvoted 2 times
Teckexam 1 year, 3 months ago
Based on documentation A is correct https://cloud.google.com/sdk/gcloud/reference/compute/instances/set-disk-auto-
delete
Also the documentation clearly states that this flag will be help retain the state when VM is started/stopped.
https://cloud.google.com/blog/products/storage-data-transfer/save-money-by-stopping-and-starting-compute-engine-
instances-on-schedule
For cost visibility option D is correct.
upvoted 1 times
hzaoui 1 year, 3 months ago
Selected Answer: DE
D. Use Google BigQuery billing export and labels to associate cost to groups: This offers granular cost visibility across
various development teams or projects through BigQuery data analysis. Combining labels with billing export allows you to
associate resource consumption with specific groups, enabling chargeback mechanisms and fostering cost accountability.
E. Store all state into local SSD, snapshot the persistent disks, and terminate the VM: This option minimizes ongoing cost
by utilizing low-cost local SSD for active state during runtime and terminating the VM when development isn't ongoing.
Snapshots offer quick restoration back to the latest state without incurring persistent disk charges during downtime.
upvoted 1 times
kshlgpt 1 year, 3 months ago
DF. This is the question in google practice test.
upvoted 2 times
cfigueiredo 1 year, 4 months ago
Selected Answer: DF
D & F for me
upvoted 2 times
Prakzz 1 year, 6 months ago
How can D ever be right coz it's Bigquery Billing Export and question is about VM billing
upvoted 1 times
Platform