You want to test a new app version with production users, route users by operating system, and allow fast rollback if bugs appear. What deployment and traffic-splitting approach should you use?
Choose an answer
Tap an option to check your answer.
Correct answer: Deploy your application on Google Kubernetes Engine with Anthos Service Mesh. Use traffic splitting to direct a subset of user traffic to the new version based on the user-agent header..
Why this is the answer
The correct option leverages Google Kubernetes Engine (GKE) with Anthos Service Mesh because it provides advanced traffic management capabilities, including content-based routing. Anthos Service Mesh allows you to define routing rules based on HTTP headers like the user-agent, which is essential for directing traffic based on the user's operating system. This setup also supports fast rollbacks by adjusting traffic weights. Cloud Run offers traffic splitting but primarily based on percentages or revision tags, not directly on HTTP headers like user-agent for OS-specific routing. App Engine's traffic splitting is also more basic, typically by IP address or cookie, and less granular for header-based routing. Compute Engine with Traffic Director is powerful for service mesh capabilities but doesn't inherently provide the same level of direct, header-based traffic splitting as Anthos Service Mesh for this specific use case without additional configuration.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed