Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Associate Cloud Engineer practice bank has an additional 2,014 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
A media company runs a nightly batch video encoding workload on Compute Engine. The processing job is stateless, fault-tolerant, saves progress via regular checkpoints, and can handle occasional interruptions.
The application specifically requires 6 vCPUs and 14 GB of RAM to run efficiently, which does not match any standard predefined machine type. The company wants to implement a right-sizing strategy that minimizes operational costs as much as possible.
Which Compute Engine configuration should the engineer choose?
Memory-optimized machine types are predefined compute configurations specifically designed for memory-intensive workloads like in-memory databases (such as SAP HANA) and large cache systems, offering ultra-high memory-to-vCPU ratios (often exceeding 8 GB to 16 GB per vCPU).
The application required hundreds of gigabytes or terabytes of system memory for in-memory analytics and could tolerate Spot VM preemption.
Committed Use Discounts (CUDs) provide reduced hourly pricing in exchange for committing to continuously run a specific level of compute resources or spend for a 1-year or 3-year term.
The organization had a steady-state, continuous 24/7 baseline workload running around the clock that could not tolerate interruptions.
Predefined machine types (such as n2-standard-8) feature fixed ratios of vCPUs to memory defined by Google Cloud. An n2-standard-8 instance provisions 8 vCPUs and 32 GB of RAM at standard on-demand hourly rates.
n2-standard-8 allocates 2 excess vCPUs and 18 GB of unneeded RAM, resulting in significant overprovisioning.The workload required guaranteed availability without interruption (e.g., a customer-facing production database or critical API backend) and matched the exact 8 vCPU / 32 GB predefined hardware profile.
Spot VMs are Compute Engine instances created from surplus cloud capacity that offer substantial discounts (ranging from 60% to 91% off standard on-demand pricing) in exchange for being interruptible. Custom machine types allow administrators to independently configure exact numbers of vCPUs and amounts of system memory, avoiding the rigid ratios of standard predefined machine shapes.
Combining Spot VM provisioning with a custom machine type delivers the ideal balance between performance right-sizing and extreme cost optimization. It ensures the workload receives exactly the required hardware resources at the lowest available pricing tier without paying for idle capacity.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated