Google Cloud Professional Cloud Developer — Question 139

Before promoting your new application code to production, you want to conduct testing across a variety of different users. Although this plan is risky, you want to test the new version of the application with production users and you want to control which users are forwarded to the new version of the application based on their operating system. If bugs are discovered in the new version, you want to roll back the newly deployed version of the application as quickly as possible.

What should you do?

Answer options

Correct answer: B

Explanation

The correct answer is B because using Google Kubernetes Engine with Anthos Service Mesh allows you to leverage the user-agent header for targeted traffic splitting based on the operating system. The other options either do not provide the necessary granularity for OS-based traffic control (A, C, D) or do not utilize the most suitable platform for such a requirement.