Professional Cloud DevOps Engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
An enterprise runs a suite of steady-state microservices on Google Compute Engine virtual machines (n2-standard-8 machine types with 8 vCPUs and 32 GB memory each) across a single region. The workloads run continuously 24/7 with predictable demand.
Cloud Monitoring telemetry shows that across all instances, actual average CPU utilization remains steady at 25% to 30%, while memory utilization remains consistently high at approximately 24 GB. The infrastructure team wants to eliminate resource over-provisioning and secure the highest possible continuous cost reductions over a 3-year commitment period.
Which combination of actions should the DevOps engineer implement to optimize workload efficiency and ongoing costs?
Custom machine types allow you to tailor the exact number of vCPUs and amount of system memory for Compute Engine instances rather than being locked into predefined, fixed ratios (like the standard 1:4 vCPU-to-RAM ratio in n2-standard types). Resource-based Committed Use Discounts (CUDs) provide substantial cost savings (up to 55%–70% depending on machine family and term length) in exchange for committing to a minimum continuous usage of compute resources (vCPUs and memory) in a specific region for a 1-year or 3-year term.
4 vCPUs and 24 GB memory) prevents paying for 4 unneeded vCPUs that were bundled in the n2-standard-8 instance.Right-sizing the hardware configuration directly reduces the baseline resource footprint, and layering a 3-year resource-based CUD on top of that right-sized footprint yields the maximum cumulative cost reduction without risking memory starvation or performance degradation.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.