Question

Difficulty: MediumPlanning Compute Engine Resources and Machine Types

A financial risk analysis firm is planning the Google Compute Engine architecture for a new quantitative modeling platform. The platform consists of two distinct components:

1. A high-performance simulation engine executing millions of stateless, fault-tolerant Monte Carlo calculations that can be restarted if terminated unexpectedly.
2. A continuous, uninterrupted auditing microservice requiring a non-standard memory ratio of 1 vCPU to 8 GB of RAM to run reliably 24/7.

Which TWO compute resource strategies should you recommend to optimize cost and fulfill workload requirements? (Select TWO.)

  1. Provision Spot Virtual Machines for the simulation engine compute fleet.Answer
  2. Configure custom machine types for the continuous auditing microservice.Answer
  3. C
    Provision Spot Virtual Machines for the continuous auditing microservice to reduce baseline running costs.
  4. D
    Deploy the simulation engine fleet on Cloud Run to avoid managing virtual machine infrastructure.

Answer

Select the option to provision Spot Virtual Machines for the simulation engine compute fleet, and the option to configure custom machine types for the continuous auditing microservice.
Stateless, fault-tolerant compute workloads like Monte Carlo simulations are ideal candidates for Spot Virtual Machines because they can sustain interruptions while drastically reducing compute costs. Furthermore, workloads requiring non-standard memory-to-vCPU ratios benefit from custom machine types, allowing precise resource allocation without paying for unused vCPUs or RAM in standard predefined machine families.

Step-by-Step Solution

1
Analyze the workload characteristics of the Monte Carlo simulation engine.
The workload is stateless, batch-oriented, and fault-tolerant.
Fault-tolerant batch processing can leverage Spot VMs to achieve massive cost reductions without compromising overall task completion.
2
Analyze the resource requirements of the continuous auditing microservice.
The service runs 24/7 uninterrupted and requires a non-standard 1 vCPU to 8 GB memory ratio.
Custom machine types allow specifying exact vCPU and RAM requirements to fit non-standard resource ratios economically without selecting an oversized standard machine family.

Key Concept

Selecting optimal Compute Engine machine types and VM lifecycle options based on workload fault tolerance and resource ratios.
Rate this question