exam questions

Exam Professional Cloud Developer All Questions

View all questions & answers for the Professional Cloud Developer exam

Exam Professional Cloud Developer topic 1 question 223 discussion

Actual exam question from Google's Professional Cloud Developer
Question #: 223
Topic #: 1
[All Professional Cloud Developer Questions]

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?

  • A. Split traffic between versions using weights.
  • B. Enable the new recommendation feature flag on a single instance.
  • C. Mirror traffic to the new version of your application.
  • D. Use HTTP header-based routing.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
__rajan__
7 months ago
Selected Answer: A
Splitting traffic between versions using weights is a common way to implement A/B testing. To do this, you would create two versions of your application, one with the new recommendation algorithm and one without. You would then configure the load balancer to split traffic between the two versions using weights. For example, you could configure the load balancer to send 50% of traffic to the new version and 50% of traffic to the old version.
upvoted 1 times
...
purushi
8 months, 3 weeks ago
Selected Answer: A
Split traffic is the right answer.
upvoted 1 times
...
closer89
1 year ago
Selected Answer: A
in a randomized way - so its A, D otherwise
upvoted 1 times
...
Pime13
1 year, 2 months ago
Selected Answer: A
https://cloud.google.com/traffic-director/docs/advanced-traffic-management#weight-based_traffic_splitting_for_safer_deployments
upvoted 1 times
...
Pime13
1 year, 2 months ago
Selected Answer: A
https://cloud.google.com/traffic-director/docs/advanced-traffic-management#weight-based_traffic_splitting_for_safer_deployments
upvoted 1 times
...
sharath25
1 year, 4 months ago
Selected Answer: A
option A
upvoted 1 times
...
zellck
1 year, 4 months ago
Selected Answer: A
A is the answer. 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.
upvoted 1 times
...
kisswd
1 year, 4 months ago
Selected Answer: A
A is the answer
upvoted 1 times
...
TNT87
1 year, 4 months ago
Selected Answer: A
https://cloud.google.com/traffic-director/docs/advanced-traffic-management#weight-based_traffic_splitting_for_safer_deployments
upvoted 2 times
...
melisargh
1 year, 4 months ago
Selected Answer: A
A is the recommended way to test A/B https://cloud.google.com/load-balancing/docs/https/traffic-management-global
upvoted 2 times
...
TNT87
1 year, 4 months ago
Selected Answer: A
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
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago