20+ practice questions focused on Optimizing performance and cost — one of the most tested topics on the Google Professional Cloud DevOps Engineer exam. Each question includes a detailed explanation so you learn why the right answer is correct.
Start Optimizing performance and cost PracticeA company runs a batch processing workload on Compute Engine that runs for 3 hours every night. They want to minimize costs while ensuring the job completes reliably. Which recommendation should they follow?
Explanation: Preemptible VMs cost about 60-80% less than standard VMs and are ideal for batch workloads that can tolerate interruptions. Since the job runs for only 3 hours nightly, it can be designed to checkpoint progress and restart from the last checkpoint if a preemptible VM is terminated (which can happen at any time within 24 hours). This minimizes cost while ensuring reliability through graceful interruption handling.
A company wants to control costs by limiting the maximum number of Compute Engine instances a project can create. Which TWO methods can achieve this? (Choose two.)
Explanation: Resource quotas are the only method among the options that can limit the maximum number of instances by setting a hard cap on instance count. IAM conditions can restrict instance creation based on attributes like machine type or region but cannot enforce a numeric limit on the number of instances. Therefore, only option D is correct.
A company stores historical log data in Cloud Storage. The logs are accessed rarely after 30 days. They want to reduce storage costs while maintaining immediate access for occasional audits over the next year. What should they use?
Explanation: It uses lifecycle policies to transition to Nearline after 30 days and Coldline after 90 days, balancing cost and immediate access for occasional audits. Option B (Nearline) is more expensive than using lifecycle transitions. Option C (Coldline with delete after 1 year) deletes data and does not offer the same cost savings over the year. Option D (Archive) has higher retrieval costs and longer access times, making it less suitable for occasional audits.
A company has a steady-state workload of 100 vCPUs running 24/7. They want to get the maximum discount possible without long-term commitment. What discount should they expect?
Explanation: Sustained use discounts are automatically applied to instances that run for a significant portion of a month. For each instance family and region, the discount increases as usage increases, reaching a maximum of 30% discount for instances running the entire month. Since the workload runs 24/7 on 100 vCPUs, the maximum discount without any commitment is 30% via sustained use. Option A describes committed use discounts, which require a 1- or 3-year commitment and can be up to 57% for some resources, but the question specifies without long-term commitment. Option B is incorrect because sustained use discounts can go up to 30%, not 20%. Option D is incorrect because discounts are available.
Refer to the exhibit. A budget alert has fired for project dev-123 indicating that the cost has exceeded the budget of $1000. What should the team do next to investigate the cost overrun?
Explanation: The most effective first step is to query the billing export data in BigQuery, which provides detailed cost breakdowns by project, service, and labels. Option B is the recommended approach for granular analysis. Viewing the billing account's cost table in the Cloud Console (D) gives a high-level view but not the necessary detail. Creating a new budget with a lower threshold (E) does not address the root cause. Disabling all APIs (A) is too drastic without understanding the cause. Setting up a Cloud Function to automatically shut down resources (C) is a reaction that should follow investigation.
+15 more Optimizing performance and cost questions available
Practice all Optimizing performance and cost questions1. Baseline your knowledge
Start with 10 questions to gauge your current understanding of Optimizing performance and cost. This tells you whether you need a concept refresher or just practice.
2. Review every explanation
For each question — right or wrong — read the full explanation. Understanding why an answer is correct is more valuable than knowing the answer itself.
3. Focus on exam traps
Optimizing performance and cost questions on the PCDOE frequently use trap wording. Look for subtle differences in answers that test your precision, not just general knowledge.
4. Reach 80% consistently
Do repeated sessions until you score 80%+ three times in a row. Then move to mixed-mode practice to test cross-topic recall under realistic conditions.
The exact number varies per candidate. Optimizing performance and cost is tested as part of the Google Professional Cloud DevOps Engineer blueprint. Practicing with targeted Optimizing performance and cost questions ensures you can handle any format or difficulty that appears.
Yes. Courseiva provides free PCDOE practice questions across all exam topics and domains. The platform includes topic-based practice, mock exams, missed-question review, bookmarked questions, and readiness tracking — no account required.
Difficulty is subjective, but Optimizing performance and cost is a high-priority exam concept tested in multiple ways — direct recall, scenario analysis, and command-output interpretation. Consistent practice is the best way to build confidence.
Launch a full Optimizing performance and cost practice session with instant scoring and detailed explanations.
Start Optimizing performance and cost Practice →