Google Cloud Professional Cloud DevOps Engineer — Question 81
Your organization has a containerized web application that runs on-premises. As part of the migration plan to Google Cloud, you need to select a deployment strategy and platform that meets the following acceptance criteria:
1. The platform must be able to direct traffic from Android devices to an Android-specific microservice.
2. The platform must allow for arbitrary percentage-based traffic splitting
3. The deployment strategy must allow for continuous testing of multiple versions of any microservice.
What should you do?
Answer options
- A. Deploy the canary release of the application to Cloud Run. Use traffic splitting to direct 10% of user traffic to the canary release based on the revision tag.
- B. Deploy the canary release of the application to App Engine. Use traffic splitting to direct a subset of user traffic to the new version based on the IP address.
- C. Deploy the canary release of the application to Compute Engine. Use Anthos Service Mesh with Compute Engine to direct 10% of user traffic to the canary release by configuring the virtual service.
- D. Deploy the canary release to Google Kubernetes Engine with Anthos Service Mesh. Use traffic splitting to direct 10% of user traffic to the new version based on the user-agent header configured in the virtual service.
Correct answer: D
Explanation
Option D is correct because Google Kubernetes Engine with Anthos Service Mesh allows for precise traffic splitting based on the user-agent header, which meets the requirement for directing Android device traffic effectively. Options A and B do not meet the requirement for directing traffic specifically from Android devices, while option C lacks the capability to configure traffic splitting based on user-agent headers.