You have a batch workload that runs every night and uses a large number of virtual machines (VMs). It is fault-tolerant and can tolerate some of the VMs being terminated. The current cost of VMs is too high. What should you do?
A.
Run a test using simulated maintenance events. If the test is successful, use preemptible N1 Standard VMs when running future jobs.
B.
Run a test using simulated maintenance events. If the test is successful, use N1 Standard VMs when running future jobs.
C.
Run a test using a managed instance group. If the test is successful, use N1 Standard VMs in the managed instance group when running future jobs.
D.
Run a test using N1 standard VMs instead of N2. If the test is successful, use N1 Standard VMs when running future jobs.
Correct Answer is (A):
Creating and starting a preemptible VM instance
This page explains how to create and use a preemptible virtual machine (VM) instance. A preemptible instance is an instance you can create and run at a much lower price than normal instances. However, Compute Engine might terminate (preempt) these instances if it requires access to those resources for other tasks. Preemptible instances will always terminate after 24 hours. To learn more about preemptible instances, read the preemptible instances documentation.
Preemptible instances are recommended only for fault-tolerant applications that can withstand instance preemptions. Make sure your application can handle preemptions before you decide to create a preemptible instance. To understand the risks and value of preemptible instances, read the preemptible instances documentation.
https://cloud.google.com/compute/docs/instances/create-start-preemptible-instance
I Vote A as it is clearly correct. Whenever something runs in under 24 hours and is fault tolerant we should be looking at preemptible VMs to save costs.
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.
ESP_SAP
Highly Voted 3 years, 2 months agoMohammedGhouse
Highly Voted 3 years, 2 months agoSSPC
3 years, 2 months agojuliandm
3 years, 2 months agoAle1973
3 years, 1 month agoakhun
Most Recent 8 months, 3 weeks agoPr44
11 months, 2 weeks agoCharumathi
1 year agogcpreviewer
1 year, 1 month agoccieman2016
1 year, 2 months agogcpj
1 year, 4 months agoAzureDP900
1 year, 4 months agoNBR1
1 year, 4 months agoMajkl93
1 year, 8 months agomaggieli
1 year, 11 months agovamgcp
2 years, 1 month agoAD_0525
2 years, 4 months agoGCP_Student1
2 years, 8 months agoswatititame
2 years, 11 months ago