Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Professional Cloud Developer All Questions

View all questions & answers for the Professional Cloud Developer exam

Exam Professional Cloud Developer topic 1 question 304 discussion

Actual exam question from Google's Professional Cloud Developer
Question #: 304
Topic #: 1
[All Professional Cloud Developer Questions]

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?

  • A. Migrate the traffic to the new service by setting Cloud Run’s traffic split based on the percentage of registered customers.
  • B. Migrate the traffic to the new service by using a blue/green deployment approach.
  • C. Migrate the traffic to the new service by using a feature flag for registered customers.
  • D. Migrate the traffic to the new service and enable session affinity for Cloud Run.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
SahandJ
1 month ago
Selected Answer: 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
upvoted 1 times
...
anshad666
1 month, 1 week ago
Selected Answer: 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.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...