Topic 1 Question 304
You are the lead developer for a company that provides a financial risk calculation API. The API is built on Cloud Run and has a gRPC interface. You frequently develop optimizations to the risk calculators. You want to enable these optimizations for select customers who registered to try out the optimizations prior to rolling out the optimization to all customers. Your CI/CD pipeline has built a new image and stored it in the Artifact Registry.
Which rollout strategy should you use?
Migrate the traffic to the new service by setting Cloud Run’s traffic split based on the percentage of registered customers.
Migrate the traffic to the new service by using a blue/green deployment approach.
Migrate the traffic to the new service by using a feature flag for registered customers.
Migrate the traffic to the new service and enable session affinity for Cloud Run.
ユーザの投票
コメント(2)
- 正解だと思う選択肢: C
Using feature flags allows you to selectively enable the new optimizations only for registered customers who have signed up to try them. This provides more control and flexibility over which customers get access to the new features without the need to route traffic based on percentages or splitting across revisions.
👍 2anshad6662024/10/11 - 正解だと思う選択肢: C
A. Migrate the traffic to the new service by setting Cloud Run’s traffic split based on the percentage of registered customers.
Traffic splitting doesn't guarantee that only the select customers that have opted in for the new features are routed to the new service.
B. Migrate the traffic to the new service by using a blue/green deployment approach.
This would migrate all customers not the select few.
D. Migrate the traffic to the new service and enable session affinity for Cloud Run.
Like (B), this would migrate all traffic to the new service. Session affinity doesn't help here.
C. Migrate the traffic to the new service by using a feature flag for registered customers.
This leaves us with the only valid answer. Agree with everything anshad666 said
👍 2SahandJ2024/10/20
シャッフルモード