BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Cloud Developer Exam - Topic 11 Question 62 Discussion

Posted by Raylene on Dec 29, 2022 at 03:56 AM

You work for an organization that manages an ecommerce site. Your application is deployed behind a global HTTP(S) load balancer. You need to test a new product recommendation algorithm. You plan to use A/B testing to determine the new algorithm's effect on sales in a randomized way. How should you test this feature?

Suggested Answer: A

https://cloud.google.com/load-balancing/docs/https/traffic-management-global#traffic_actions_weight-based_traffic_splitting

Deploying a new version of an existing production service generally incurs some risk. Even if your tests pass in staging, you probably don't want to subject 100% of your users to the new version immediately. With traffic management, you can define percentage-based traffic splits across multiple backend services.

For example, you can send 95% of the traffic to the previous version of your service and 5% to the new version of your service. After you've validated that the new production version works as expected, you can gradually shift the percentages until 100% of the traffic reaches the new version of your service. Traffic splitting is typically used for deploying new versions, A/B testing, service migration, and similar processes.

https://cloud.google.com/traffic-director/docs/advanced-traffic-management#weight-based_traffic_splitting_for_safer_deployments

https://cloud.google.com/architecture/implementing-deployment-and-testing-strategies-on-gke#split_the_traffic_2

https://cloud.google.com/load-balancing/docs/https/traffic-management-global#traffic_actions_weight-based_traffic_splitting


Get Premium Professional Cloud Developer Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
13 comments · newest first
LI
Lili 1 year ago
Not sure about that, isn't mirroring traffic just for debugging?
RO
Ronnie 1 year ago
I think option C could work too, but not as effective as A.
SA
Sanda 1 year ago
Wait, can you really test with just one instance? Sounds risky.
VI
Vincent 1 year ago
Totally agree, option A makes the most sense.
JO
Jolanda 1 year ago
A/B testing is best with split traffic!
MA
Mary 1 year ago
I think HTTP header-based routing could work, but it seems more complicated than just splitting traffic. I wonder if it’s the best choice for A/B testing.
LA
Lawana 1 year ago
I feel like mirroring traffic could be useful for testing, but it might not give a clear picture of how the new algorithm affects sales directly.
MI
Ming 1 year ago
I'm not entirely sure, but enabling the feature flag on just one instance seems risky. What if that instance has issues?
DE
Deonna 1 year ago
I remember discussing A/B testing in class, and I think splitting traffic using weights is a common approach. It allows for a fair comparison, right?
DE
Denny 1 year ago
Hmm, this is a tricky one. I'm not totally sure what the "sphere of experience" concept is getting at. I'll have to think about the different options and see if I can figure out which one best fits the description.
EA
Earleen 1 year ago
Hmm, this seems like a tricky one. I'll need to think carefully about the different factors involved in log sizing for the Cortex Data Lake.
LA
Launa 1 year ago
Okay, let me think this through step-by-step. Bubba bought a call and a put, and the put expired while the call was closed at intrinsic value. I think I can work this out.
PE
Percy 1 year ago
Wait, I'm a little confused. Does the question mean that the refrigerant can freeze the skin and muscles immediately, or is it talking about a longer exposure time? I need to re-read this carefully.
0/2000 characters

Save Cancel