
Ultimate access to all questions.
As a cloud architect, you are managing an application deployed on Cloud Run for Anthos. You need to define a strategy for deploying new versions of the application in a way that allows you to evaluate the new code with a subset of production traffic before deciding to proceed with a full rollout. What should you do?
A
Deploy a new revision to Cloud Run with the new version. Configure traffic percentage between revisions.
B
Deploy a new service to Cloud Run with the new version. Add a Cloud Load Balancing instance in front of both services.
C
In the Google Cloud Console page for Cloud Run, set up continuous deployment using Cloud Build for the development branch. As part of the Cloud Build trigger, configure the substitution variable TRAFFIC_PERCENTAGE with the percentage of traffic you want directed to a new version._
D
In the Google Cloud Console, configure Traffic Director with a new Service that points to the new version of the application on Cloud Run. Configure Traffic Director to send a small percentage of traffic to the new version of the application.
Explanation:
The correct answer is A: Deploy a new revision to Cloud Run with the new version. Configure traffic percentage between revisions. Cloud Run for Anthos allows you to deploy new revisions of your application with a specific percentage of traffic. This strategy allows you to perform a gradual rollout of the new version. You can manage the traffic distribution between the current and new revisions directly in the Cloud Run console. This method is recommended for evaluating new code with a subset of production traffic before a full rollout.