QuestionQ34

Ensuring solution and operations excellence

Your team is building a web application that will be deployed on Google Kubernetes Engine (GKE). Your CTO expects a successful launch, and you must ensure that the application can support the anticipated load of tens of thousands of users. You want to test the current deployment to confirm that application latency remains below a specified threshold. What should you do?

  • A Use a load testing tool to simulate the expected number of concurrent users and total requests to your application, and inspect the results.
  • B Enable autoscaling on the GKE cluster and enable horizontal pod autoscaling on your application deployments. Send curl requests to your application, and validate if the auto scaling works.
  • C Replicate the application over multiple GKE clusters in every Google Cloud region. Configure a global HTTP(S) load balancer to expose the different clusters over a single global IP address.
  • D Use Cloud Debugger in the development environment to understand the latency between the different microservices.
Explanation

Load testing simulates the expected number of concurrent users and request volume, allowing latency and other performance results to be measured against the required threshold. Google Cloud guidance states that controlled load testing helps assess capacity-planning trade-offs such as throughput and latency.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!