GCP Professional Cloud Architect Practice Question
Your company runs a nightly Monte-Carlo risk-analysis job that needs to burst to about 40 000 vCPUs for 3-4 hours in europe-west1. The batch application checkpoints every five minutes and can restart on a different VM if one is lost, so occasional interruptions are acceptable. During the same time window, a customer-facing web tier in the same region must always have 32 vCPUs available and cannot tolerate preemption. You must minimize total compute cost while ensuring that both workloads finish on schedule. Which approach best meets these requirements?
Place the simulation in a regional managed instance group that uses Spot VMs; create a Compute Engine capacity reservation for 32 standard VMs to host the web tier during the burst window.
Deploy the web tier on sole-tenant nodes for guaranteed resources and run the simulation on standard, on-demand VMs that scale out with an instance-based autoscaler.
Run both workloads on standard on-demand VMs covered by a three-year committed-use discount and place them in an unmanaged instance group.
Launch both workloads on preemptible VMs in an autoscaled managed instance group, assigning the web tier a higher priority so its instances are less likely to be preempted.
The bursty, fault-tolerant simulation can run on a managed instance group that uses Spot VMs, which cost up to 91 % less than standard VMs but may be preempted at any time. Because the job checkpoints frequently, it can absorb those interruptions without extending overall runtime, giving the lowest possible cost. The latency-sensitive web tier needs guaranteed capacity and cannot be preempted, so creating a Compute Engine capacity reservation for 32 standard VCPU-equivalent instances ensures they are always available at on-demand pricing without the overhead of dedicated (sole-tenant) nodes. Committed use discounts do not guarantee capacity, and relying on autoscaler priorities cannot prevent Spot or preemptible VMs from being preempted. Therefore, using Spot VMs in a managed instance group for the simulation together with a capacity reservation of standard VMs for the web tier is the most cost-effective and reliable solution.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What are Spot VMs and how do they reduce costs?
Open an interactive chat with Bash
What is a Compute Engine capacity reservation and why is it effective for guaranteeing resources?
Open an interactive chat with Bash
Why is a managed instance group ideal for workloads like the Monte-Carlo simulation?
Open an interactive chat with Bash
What are Spot VMs and how do they work in GCP?
Open an interactive chat with Bash
What is a Compute Engine capacity reservation in Google Cloud?
Open an interactive chat with Bash
Why are spot or preemptible VMs not suitable for latency-sensitive workloads?
Open an interactive chat with Bash
GCP Professional Cloud Architect
Managing and provisioning a solution infrastructure
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .