Google Professional Cloud DevOps Engineer Question 106
Select 3Google Cloud PlatformYour team is responsible for running a critical application in Google Cloud that processes real-time financial transactions. Recently, the application has been experiencing intermittent failures due to exceeding the CPU quota in the Compute Engine region where it operates. As the DevOps engineer, what steps should you take to address this issue and ensure the application remains reliable?
- A
Request an increase in the CPU quota for the affected region through the Google Cloud Console.
- B
Move some of the application workloads to a different region with available CPU quota.
- C
Add more preemptible VMs to the current region to handle spikes in CPU usage.
- D
Implement autoscaling and monitor the application's CPU usage to optimize resource allocation.
- E
Switch to a different Google Cloud service that offers higher default quotas.
Show answer and explanation
Correct answers: A, B, D
Explanation
To address the issue of exceeding CPU quotas, you should first consider requesting a quota increase for the affected region. Additionally, redistributing workloads to other regions with available quota can help balance resource usage. Implementing autoscaling and monitoring ensures the application dynamically adjusts to varying demand, avoiding resource exhaustion. Adding preemptible VMs or switching services are not suitable solutions for this critical, real-time application due to their inherent limitations or architectural dependencies.
- A. Correct.
Requesting an increase in the CPU quota is a valid option to address the issue if the application consistently requires more CPU resources than the current quota allows.
- B. Correct.
Distributing workloads to a different region with available CPU quota can help alleviate pressure on the current region and improve reliability.
- C. Incorrect.
Adding preemptible VMs is not a reliable solution for critical real-time applications since preemptible VMs can be terminated at any time, risking further instability.
- D. Correct.
Implementing autoscaling and monitoring helps ensure resources are allocated dynamically based on demand, preventing quota exhaustion during peak usage.
- E. Incorrect.
Switching to a different Google Cloud service is not a practical solution in this scenario because the application’s architecture likely depends on Compute Engine, and default quotas are generally adjustable for most cloud services.