PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #110
You recently migrated an ecommerce application to Google Cloud. You now need to prepare the application for the upcoming peak traffic season. You want to follow Google-recommended practices. What shou
The correct answer is C. Load test the application to profile its performance for scaling.. To prepare an e-commerce application for peak traffic season, the first step is to load test the application to understand its performance limits and scaling behavior.
Question
Options
- AMigrate the application to Cloud Run, and use autoscaling.
- BCreate a Terraform configuration for the application's underlying infrastructure to quickly deploy to
- CLoad test the application to profile its performance for scaling.
- DPre-provision the additional compute power that was used last season, and expect growth.
How the community answered
(17 responses)- A12% (2)
- B6% (1)
- C76% (13)
- D6% (1)
Why each option
To prepare an e-commerce application for peak traffic season, the first step is to load test the application to understand its performance limits and scaling behavior.
Migrating to Cloud Run might be a good future optimization, but it's a significant architectural change and not the first step for preparing an existing application for peak traffic; you first need to understand its current behavior.
Creating Terraform for infrastructure is for consistent deployment, but it doesn't prepare the application itself for peak traffic or reveal its performance characteristics. Load testing must come first.
Before any other scaling or provisioning actions, load testing the application is the most crucial first step. It provides essential data on how the application performs under stress, identifies bottlenecks, and determines actual capacity requirements, allowing for informed decisions about scaling and optimization.
Pre-provisioning based on last season's data is speculative and reactive; without current load testing, you don't know if the application's performance characteristics have changed or what the optimal provisioning truly is.
Concept tested: Application Performance Testing & Capacity Planning
Source: https://cloud.google.com/solutions/benchmarking-your-application-on-gcp
Topics
Community Discussion
No community discussion yet for this question.