Google Cloud Professional Cloud Developer — Question 256

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?

Answer options

Correct answer: A

Explanation

Option A is correct because it allows for a controlled comparison between the two color schemes with live traffic, enabling statistical analysis of the sales impact. Option B only tests the new scheme after the old one, failing to provide real-time comparative data. Option C mirrors traffic but does not involve actual user interaction with the new scheme, making it ineffective for assessing sales. Option D uses a feature flag but lacks the rigorous analysis of traffic distribution necessary for a valid comparison.