PROFESSIONAL-CLOUD-ARCHITECT · Question #47
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…
The correct answer is A. Use the --no-auto-delete flag on all persistent disks and stop the VM. D. Use Google BigQuery billing export and labels to associate cost to groups. A is correct because persistent disks will not be deleted when an instance is stopped. B is not correct because the --auto-delete flag has no effect unless the instance is deleted. Stopping an instance does not delete the instance or the attached persistent disks. C is not…
Question
Options
- AUse the --no-auto-delete flag on all persistent disks and stop the VM.
- BUse the -auto-delete flag on all persistent disks and terminate the VM.
- CApply VM CPU utilization label and include it in the BigQuery billing export.
- DUse Google BigQuery billing export and labels to associate cost to groups.
- EStore all state into local SSD, snapshot the persistent disks, and terminate the VM.
- FStore all state in Google Cloud Storage, snapshot the persistent disks, and terminate the VM.
How the community answered
(18 responses)- A78% (14)
- B6% (1)
- C6% (1)
- F11% (2)
Explanation
A is correct because persistent disks will not be deleted when an instance is stopped. B is not correct because the --auto-delete flag has no effect unless the instance is deleted. Stopping an instance does not delete the instance or the attached persistent disks. C is not correct because labels are used to organize instances, not to monitor metrics. D is correct because exporting daily usage and cost estimates automatically throughout the day to a BigQuery dataset is a good way of providing visibility to the finance department. Labels can then be used to group the costs based on team or cost center. E is not correct because the state stored in local SSDs will be lost when the instance is stopped. F is not correct because there is no need for persistent disks or snapshots if the state is to be stored in Cloud Storage. https://cloud.google.com/compute/docs/instances/instance-life-cycle https://cloud.google.com/sdk/gcloud/reference/compute/instances/set-disk-auto-delete#--auto- https://cloud.google.com/sdk/gcloud/reference/compute/instances/create#--disk https://cloud.google.com/compute/docs/disks/local-ssd#data_persistence https://cloud.google.com/billing/docs/how-to/export-data-bigquery https://cloud.google.com/resource-manager/docs/creating-managing-labels
Topics
Community Discussion
No community discussion yet for this question.