Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam Professional Cloud Developer topic 1 question 257 discussion

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

You are using Cloud Run to host a global ecommerce web application. Your company’s design team is creating a new color scheme for the web app. You have been tasked with determining whether the new color scheme will increase sales. You want to conduct testing on live production traffic. How should you design the study?

  • A. Use an external HTTP(S) load balancer to route a predetermined percentage of traffic to two different color schemes of your application. Analyze the results to determine whether there is a statistically significant difference in sales.
  • B. Use an external HTTP(S) load balancer to route traffic to the original color scheme while the new deployment is created and tested. After testing is complete, reroute all traffic to the new color scheme. Analyze the results to determine whether there is a statistically significant difference in sales.
  • C. Use an external HTTP(S) load balancer to mirror traffic to the new version of your application. Analyze the results to determine whether there is a statistically significant difference in sales.
  • D. Enable a feature flag that displays the new color scheme to half of all users. Monitor sales to see whether they increase for this group of users.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
theereechee
Highly Voted 1 year, 2 months ago
Selected Answer: A
Correct answer is A. This is classic A/B testing. Since you already have a new version, built into an image, all you need do is to use the load balancer to split traffic going to old version and new version. See: https://cloud.google.com/load-balancing/docs/l7-internal/traffic-management#traffic_actions_weight-based_traffic_splitting. Note that global load balancers can route to serverless services. https://cloud.google.com/load-balancing/docs/https/setting-up-https-serverless
upvoted 6 times
...
fbatag
Most Recent 6 hours, 26 minutes ago
Selected Answer: D
Besides Cloud Run alone doesn't provide Feature Flag solution that requires Firebase Remote Config feature. For an A/B test you have to fix what users are using what version. Option A doesn't not provide a complete solution for something that is crucial. So, besides both seems incomplete, if that request was made to me, I'd implement as a Feature Flag using Firebase Remote Config
upvoted 1 times
...
plutonians123
7 months, 1 week ago
Selected Answer: A
Considering the importance of traffic analysis and the need for precise control over traffic distribution for a global ecommerce web application, Option A is likely the better choice. This option allows for detailed monitoring and analysis of user interactions with different color schemes, offering clear insights into which version performs better in terms of sales. The use of an external HTTP(S) load balancer for traffic routing provides a more controlled environment for conducting such a study.
upvoted 1 times
...
__rajan__
9 months, 2 weeks ago
Selected Answer: A
A is correct.
upvoted 1 times
...
purushi
11 months ago
Selected Answer: A
A is right. D is specifying 50% of the users which is not correct. In really the traffic split is 80-20 or 75-25 ratio. This is a specialized version of canary depolyments.
upvoted 1 times
...
Writer
1 year, 2 months ago
Selected Answer: D
This is the best way to test the new color scheme on live production traffic. By enabling a feature flag, you can display the new color scheme to a subset of users while keeping the old color scheme for the rest of the users. This will allow you to compare sales between the two groups of users and determine whether the new color scheme has a statistically significant impact on sales.
upvoted 2 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 ...
ex Want to SAVE BIG on Certification Exam Prep?
close
ex Unlock All Exams with ExamTopics Pro 75% Off
  • arrow Choose From 1000+ Exams
  • arrow Access to 10 Exams per Month
  • arrow PDF Format Available
  • arrow Inline Discussions
  • arrow No Captcha/Robot Checks
Limited Time Offer
Ends in