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

Actual exam question from Google's Associate Cloud Engineer
Question #: 136
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. Migrate the workload to a Compute Engine Preemptible VM.
  • B. Migrate the workload to a Google Kubernetes Engine cluster with Preemptible nodes.
  • C. Migrate the workload to a Compute Engine VM. Start and stop the instance as needed.
  • D. Create an Instance Template with Preemptible VMs On. Create a Managed Instance Group from the template and adjust Target CPU Utilization. Migrate the workload.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
juliandm
Highly Voted 4 years, 3 months ago
i understand preemptible as a no-go because of "must be restarted if interrupted" here meaning "starting from scratch" . So C seems right
upvoted 45 times
jcloud965
3 years, 4 months ago
I agree, C. you won't run 30 hours job on preemptible instances that can be stopped at any time and can't run more than 24 hours. If the job could be splitted, then preemptible VM is an option.
upvoted 6 times
Vador
3 years, 1 month ago
Preemptible seems fine on batch jobs for at least 24hours, not the case in here
upvoted 1 times
...
...
dttncl
3 years, 1 month ago
I agree with C. You can't risk running a processes that take 30 hours on a preemptible VM (Compute Engine always stops preemptible instances after they run for 24 hours). They are good for "short-lived" batch jobs. The scenario is NOT fault tolerant as the whole process restarts if interrupted. https://cloud.google.com/compute/docs/instances/preemptible
upvoted 6 times
...
...
stepkurniawan
Highly Voted 4 years, 3 months ago
Preemptible will be perfect for a batch job that takes less than 24 hours. But it's not in this case.
upvoted 16 times
Linus11
3 years, 6 months ago
What if it is a managed group of Pre emptible instances like in D. If one instance stops, another instance will take over. I choose D.
upvoted 5 times
sanhoo
3 years, 5 months ago
is there an option to specify Pre emptible instances while creating template? I couldn't find that. If so then D can't be true
upvoted 1 times
djgodzilla
3 years, 5 months ago
Yes under management> Availability policy > premptibility ON/OFF
upvoted 2 times
...
...
...
...
Enamfrancis
Most Recent 2 months ago
Option A
upvoted 1 times
...
Captain1212
1 year, 2 months ago
Selected Answer: C
Option C is correct, bcoz the job is running for more than 30 hours
upvoted 2 times
...
tatyavinchu
1 year, 3 months ago
Correct Answer is C
upvoted 1 times
...
Naree
1 year, 4 months ago
Selected Answer: C
Job runs for 30 hours and must be restarted if interrupted are "indirectly proportional" to "Preemptible" Ans: C
upvoted 1 times
...
ankyt9
1 year, 11 months ago
Selected Answer: C
Preemptible VMs are cheaper, but they will not be available beyond 24hrs
upvoted 4 times
...
Charumathi
2 years, 1 month ago
Selected Answer: C
C is the correct answer, Install the workload in a compute engine VM, start and stop the instance as needed, because as per the question the VM runs for 30 hours, process can be performed offline and should not be interrupted, if interrupted we need to restart the batch process again. Preemptible VMs are cheaper, but they will not be available beyond 24hrs, and if the process gets interrupted the preemptible VM will restart.
upvoted 2 times
...
KapilDhamija
2 years, 3 months ago
Selected Answer: C
C is the correct answer
upvoted 1 times
...
ryumada
2 years, 3 months ago
Selected Answer: C
The preemptible instance in GKE is same as Compute Engine Instance. They have same behavior that will be last for 24 hours. Also, see the key here "...and must be restarted if interrupted.". That means the job will start from the scratch again if the preemptible instance terminated. So, you will just wasted your preemptible instances because the job will never be finished. https://cloud.google.com/kubernetes-engine/docs/how-to/preemptible-vms#overview
upvoted 1 times
...
koko2314
2 years, 4 months ago
Option D will achieve the goal here. If a preemptible VM goes down in 24 hours a new one will be built for running the batch process through the instance group configuration.
upvoted 1 times
ryumada
2 years, 3 months ago
"...and must be restarted if interrupted." The job will be start again from a scratch, then run again for another 24 hours in a new preemptible instance, the job will be terminated again after 24 hours, then start again from a scratch for another 24 hours in a new preemptible instance. This make the proces to be an infinite-loop process with wasted resources.
upvoted 2 times
...
...
AzureDP900
2 years, 5 months ago
A preemptible VM is an instance that you can create and run at a much lower price than normal instances. However, Compute Engine might stop (preempt) these instances if it requires access to those resources for other tasks. Preemptible instances are excess Compute Engine capacity, so their availability varies with usage. If your apps are fault-tolerant and can withstand possible instance preemptions then preemptible instances can reduce your Compute Engine costs significantly. For example, batch processing jobs can run on preemptible instances. If some of those instances stop during processing, the job slows but does not completely stop. Preemptible instances complete your batch processing tasks without placing additional workload on your existing instances and without requiring you to pay full price for additional normal instances. Hence, the correct answer is: Build an instance template configured to launch a Preemptible VM. Provision a managed instance group (MIG) from the template you just created. Adjust the Target CPU Utilization setting.
upvoted 1 times
AzureDP900
2 years, 5 months ago
C is correct , since job need to run 30 hours .
upvoted 1 times
...
...
pfabio
2 years, 6 months ago
Selected Answer: C
A - D are not possible because: For example, preemptible VMs can only run for up to 24 hours at a time (https://cloud.google.com/compute/docs/instances/preemptible) I agree with C
upvoted 1 times
...
rsuresh27
2 years, 7 months ago
The answer is C. Many people are saying D but this is incorrect. Preemptible instances are finite Compute Engine resources, so they might not always be available. If there is a long running job that must be restarted, it does not make sense to use preemptible VMs as if there are no resources available, we will not be able to even run or restart the job. Thus, C is correct.
upvoted 2 times
...
dinesh198728
2 years, 8 months ago
Selected Answer: C
auto restart not in Prem VM
upvoted 1 times
...
ArunTaneja
2 years, 10 months ago
Selected Answer: C
It should be C Because a Preemptible VM can't run more than 24 hours
upvoted 1 times
...
shputhan
2 years, 10 months ago
Answer is C - Since it is run on premise server, the expectation is to run it on Compute Engine. - Preemptible VMs are not an option as it runs for 24 hours only continuously. The batch job takes 30 hours and expects it to be restarted incase of interruptions. (Note it is restart & not resume)
upvoted 1 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 ...