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 225 discussion

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

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?

  • A. Deploy your application on Cloud Run. Use traffic splitting to direct a subset of user traffic to the new version based on the revision tag.
  • B. Deploy your application on Google Kubernetes Engine with Anthos Service Mesh. Use traffic splitting to direct a subset of user traffic to the new version based on the user-agent header.
  • C. Deploy your application on App Engine. Use traffic splitting to direct a subset of user traffic to the new version based on the IP address.
  • D. Deploy your application on Compute Engine. Use Traffic Director to direct a subset of user traffic to the new version based on predefined weights.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
__rajan__
7 months ago
Selected Answer: B
Anthos Service Mesh is a fully managed service that provides a wide range of features for managing microservices, including traffic splitting. Traffic splitting allows you to distribute traffic between different versions of your application based on a variety of factors, such as the user-agent header.
upvoted 2 times
...
purushi
8 months, 3 weeks ago
Selected Answer: B
B is perfect. Key is split traffic based on type of OS. So that info can be retrieved with user-agent header.
upvoted 1 times
...
zellck
1 year, 4 months ago
Selected Answer: B
B is the answer.
upvoted 1 times
...
x_cath
1 year, 4 months ago
Selected Answer: B
The key point for this question is the last two word of this statement "you want to control which users are forwarded to the new version of the application based on their operating system". Operating system. Where could the developers find the OS for a certain user? That's the User-Agent header. Example of a header: Mozilla/5.0 (Macintosh; Intel Mac OS X x.y; rv:42.0) Gecko/20100101 Firefox/42.0. - More info about the User-Agent header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent
upvoted 4 times
...
kisswd
1 year, 4 months ago
Selected Answer: B
The requirement is "you want to control which users are forwarded to the new version of the application based on their operating system". https://cloud.google.com/traffic-director/docs/ingress-traffic#sending-traffic
upvoted 3 times
...
TNT87
1 year, 4 months ago
Selected Answer: C
You can use traffic splitting to specify a percentage distribution of traffic across two or more of the versions within a service. Splitting traffic allows you to conduct A/B testing between your versions and provides control over the pace when rolling out features. https://cloud.google.com/appengine/docs/legacy/standard/python/splitting-traffic#ip_address_splitting Answer C
upvoted 1 times
zellck
1 year, 4 months ago
C is based on IP address and not OS, so it cannot be the answer.
upvoted 4 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago