PROFESSIONAL-CLOUD-DEVELOPER · Question #39
Your website is deployed on Compute Engine. Your marketing team wants to test conversion rates between 3 different website designs. Which approach should you use?
The correct answer is A. Deploy the website on App Engine and use traffic splitting.. App Engine's traffic splitting feature allows you to distribute incoming requests across multiple deployed versions of your application by percentage. To A/B/C test three different website designs, you deploy each design as a separate version in App Engine and configure traffic s
Question
Your website is deployed on Compute Engine. Your marketing team wants to test conversion rates between 3 different website designs. Which approach should you use?
Options
- ADeploy the website on App Engine and use traffic splitting.
- BDeploy the website on App Engine as three separate services.
- CDeploy the website on Cloud Functions and use traffic splitting.
- DDeploy the website on Cloud Functions as three separate functions.
How the community answered
(56 responses)- A82% (46)
- B5% (3)
- C2% (1)
- D11% (6)
Explanation
App Engine's traffic splitting feature allows you to distribute incoming requests across multiple deployed versions of your application by percentage. To A/B/C test three different website designs, you deploy each design as a separate version in App Engine and configure traffic splitting to route a portion of user traffic to each version. This is the canonical GCP approach for conversion rate testing because it seamlessly routes real users to different versions without requiring any client-side logic. Option B deploys three separate services, but services are independent applications - this doesn't support percentage-based traffic splitting across the designs. Cloud Functions (Options C and D) are designed for event-driven, stateless functions and do not natively support traffic splitting between versions.
Topics
Community Discussion
No community discussion yet for this question.