Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
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 218 discussion

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

Your company runs one batch process in an on-premises server that takes around 30 hours to complete. The task runs monthly, can be performed offline, and must be restarted if interrupted. You want to migrate this workload to the cloud while minimizing cost. What should you do?

  • A. Create an Instance Template with Spot VMs On. Create a Managed Instance Group from the template and adjust Target CPU Utilization. Migrate the workload.
  • B. Migrate the workload to a Compute Engine VM. Start and stop the instance as needed.
  • C. Migrate the workload to a Google Kubernetes Engine cluster with Spot nodes.
  • D. Migrate the workload to a Compute Engine Spot VM.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
shreykul
Highly Voted 1 year, 4 months ago
Selected Answer: B
B. Migrating the workload to a Compute Engine VM and starting and stopping the instance as needed allows you to control when the task runs. This approach provides flexibility in terms of when to initiate the batch process, and it can be easily scheduled to run monthly. By stopping the instance when the task is not running, you can save on compute costs.
upvoted 10 times
...
Enamfrancis
Most Recent 2 months ago
Selected Answer: D
D is correct
upvoted 2 times
...
Timfdklfajlksdjlakf
3 months ago
Selected Answer: B
B. is correct. shreykul provided you the correct answer, take it or leave it.
upvoted 1 times
...
BuenaCloudDE
4 months, 1 week ago
Selected Answer: A
It seems to me that answer is A. Scale to zero - After completed batch processes, minimize cost. Spot VM - minimize cost. failure resistant - do not need restart instance. You already have a template - delete and deploy your Compute instances once a month easily and fast. Can you explain me unless I understand some thing.
upvoted 2 times
...
noopy
7 months, 1 week ago
Selected Answer: A
A is the most robust and cost-effective for your scenario. This setup leverages the cost savings of Spot VMs while also providing the ability to handle interruptions through a Managed Instance Group, ensuring the process is completed even if individual instances are preempted. Additionally, the automatic scaling based on CPU utilization helps manage resources efficiently, further reducing costs. Thus, A not only minimizes costs by using Spot VMs but also enhances reliability and scalability through a Managed Instance Group, making it the most suitable choice for migrating your batch process to the cloud.
upvoted 1 times
ccpmad
6 months, 1 week ago
"runs one batch process" So, why would you like a instange group? it is only one batch process. And if it is interrupted, it has to be restarted...for me it is B.
upvoted 2 times
BuenaCloudDE
4 months, 1 week ago
It seems to me that answer is A. Scale to zero - After completed batch processes, minimize cost. Spot VM - minimize cost. failure resistant - do not need restart instance. You already have a template - delete and deploy your Compute instances once a month easily and fast. Can you explain me unless I understand some thing.
upvoted 1 times
...
...
...
omunoz
7 months, 2 weeks ago
I don´t like this kind of questions... but I think is A.. An Instance Template with Spot VMs (not preemptible)...
upvoted 1 times
yomi95
1 month, 2 weeks ago
But will this 30hour job have to restart every time spot VM is replaced since they can preempt with 30 sec notice.
upvoted 1 times
...
...
pumajd
8 months, 3 weeks ago
Selected Answer: B
Same as 136
upvoted 2 times
aviiciii
4 months, 3 weeks ago
no, this question has different answer choices with the inclusion of spot vms
upvoted 2 times
...
...
PiperMe
8 months, 3 weeks ago
Selected Answer: B
I don't believe Spot VMs are the best solution here since they can be preempted by Google at any time. Option B prioritizes predictable execution and cost optimization for this scheduled batch process. It balances cost-savings with the need for guaranteed completion, aligning well with the provided scenario.
upvoted 2 times
rkurupt
8 months ago
wonderfully said.
upvoted 1 times
...
...
2167f48
9 months, 1 week ago
Selected Answer: D
Spot VM best practices
upvoted 1 times
...
2167f48
9 months, 1 week ago
Spot VM best practices
upvoted 1 times
...
sinh
10 months, 2 weeks ago
Selected Answer: D
Spot VM best practices
upvoted 1 times
...
Cynthia2023
10 months, 3 weeks ago
Selected Answer: A
An Instance Template with Spot VMs in a Managed Instance Group (MIG) has no 24-hour limitation, can restart via the MIG if interrupted, and offers low costs, making it a perfect match.
upvoted 2 times
ccpmad
6 months, 1 week ago
ok, but the questions says that the process can NOT be interruputed, if does, you must restarted from the begining...
upvoted 1 times
...
...
KelvinToo
10 months, 4 weeks ago
Selected Answer: A
Per ChatGPT, Option A is the most appropriate solution as it leverages the cost benefits of Spot VMs, provides scalability through Managed Instance Groups, and aligns with the characteristics of the workload, resulting in minimized cost for running the batch process in the cloud.
upvoted 1 times
...
karthik0328
11 months, 2 weeks ago
Selected Answer: A
https://cloud.google.com/compute/docs/instances/create-use-spot#best-practices Spot VM best practices create an instance template and Spot VM does not have a minimum or maximum runtime to there is no 24 hour limit as suggested by some.
upvoted 1 times
blackBeard33
9 months, 1 week ago
Read the link you shared, it says: "Spot VMs are virtual machine (VM) instances with the spot provisioning model. Spot VMs are available at a 60-91% discount compared to the price of standard VMs. However, Compute Engine might reclaim the resources by preempting Spot VMs at any time. Spot VMs are recommended only for fault-tolerant applications that can withstand VM preemption." The last part literally says that Spot VMs are recommended for fault-tolerant appliactions, by the questions, this application is not fault tolerant at all mate.
upvoted 3 times
...
...
thewalker
1 year ago
Selected Answer: D
D https://cloud.google.com/compute/docs/instances/spot#limitations Spot VMs are unlike Preemptible VMs (https://cloud.google.com/compute/docs/instances/preemptible#limitations) , which do not stop after 24 hours. And we can re-start the batch job in case if it gets stopped in between as per the question. So D is the best cost optimal solution.
upvoted 3 times
...
carlalap
1 year ago
Answer B. Spot VMs are not suitable for batch processes that take an extended period of time to complete, such as a 30-hour batch process. Spot VMs typically have a maximum runtime of 24 hours.
upvoted 3 times
lukkat
11 months, 4 weeks ago
Spot VM runs until it is stopped (by google), Unlike preemptible, which has a lifetime 24 hr
upvoted 3 times
...
...
VijKall
1 year ago
Selected Answer: B
I had this question in my exam. There was Spot VM option available, but I still picked manual starting/stopping as job is not fault tolerant.
upvoted 4 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 ...