exam questions

Exam Professional Cloud Architect All Questions

View all questions & answers for the Professional Cloud Architect exam

Exam Professional Cloud Architect topic 1 question 106 discussion

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

You are managing an application deployed on Cloud Run for Anthos, and you need to define a strategy for deploying new versions of the application. You want to evaluate the new code with a subset of production traffic to decide whether to proceed with the 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.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
VishalB
Highly Voted 3 years, 2 months ago
 Correct Answer: A o Each deployment to a service creates a revision. A revision consists of a specific container image, along with environment settings such as environment variables, memory limits, or concurrency value. o Once the new revision is deployed to a Service you can manage the traffic using MANAGE TRAFFIC option inside the revision tab  https://cloud.google.com/run/docs/resource-model
upvoted 54 times
...
omermahgoub
Highly Voted 1 year, 9 months ago
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, which allows you to perform a gradual rollout of the new version. To do this, you can follow these steps: Deploy a new revision of your application to Cloud Run with the new version. In the Cloud Run for Anthos console, navigate to the service that you want to roll out the new version for. In the "Revisions" tab, you should see the new revision listed alongside the current revision. Use the traffic percentage slider to specify the percentage of traffic that you want to send to the new revision. You can set the percentage to a small value initially, such as 5%, and gradually increase it over time as you evaluate the new version. Once you have set the traffic percentage, Cloud Run for Anthos will start directing a portion of the traffic to the new revision, allowing you to evaluate the new version with a subset of production traffic.
upvoted 19 times
omermahgoub
1 year, 9 months ago
Option B, deploying a new service and adding a Cloud Load Balancer instance in front of both services, is not recommended because it would require you to create and manage a separate service for the new version, which would be more complex and less efficient than deploying a new revision. Option C, using continuous deployment with Cloud Build and substitution variables, is not relevant to this scenario because it involves deploying new versions automatically based on changes to a development branch, rather than manually deploying new revisions with a specific percentage of traffic. Option D, using Traffic Director, is also not relevant because Traffic Director is used for managing traffic between different services or clusters, rather than between revisions of the same service.
upvoted 11 times
...
Sur_Nikki
1 year, 4 months ago
Extremely convinced by your explanations..Have u given this exam?
upvoted 1 times
baertierchen
1 year, 3 months ago
Those Answers are surely generated by ChatgGPT
upvoted 1 times
...
ccpmad
3 months, 3 weeks ago
Yes, chatgpt did the exam, LOL
upvoted 2 times
...
...
...
plumbig11
Most Recent 2 months, 3 weeks ago
Selected Answer: A
Deploy a new revision to Cloud Run with the new version. Configure traffic percentage between revisions.
upvoted 2 times
...
Pime13
8 months ago
Selected Answer: A
https://cloud.google.com/run/docs/rollouts-rollbacks-traffic-migration#gradual
upvoted 2 times
...
02fc23a
10 months, 1 week ago
Selected Answer: A
A: https://cloud.google.com/run/docs/rollouts-rollbacks-traffic-migration#gradual
upvoted 1 times
...
odacir
10 months, 2 weeks ago
Selected Answer: A
La Opción A - El uso de dashboards predefinidos proporciona una visión inmediata y eficiente del estado del sistema, y la capacidad de agregar métricas personalizadas y crear políticas de alertas permite una respuesta rápida y efectiva a los incidentes. Generar un Dashboard por incidente introduce complejidad innecesaria.
upvoted 1 times
...
odacir
10 months, 2 weeks ago
Selected Answer: A
https://cloud.google.com/anthos/run/docs/rollouts-rollbacks-traffic-migration
upvoted 1 times
...
JPA210
11 months, 3 weeks ago
You all forget that in the exam they expect you to choose the most complete answer, and C is the most efficient and complete one, where you show knowledge of Cloud Build also, and in the real life that is how you should implement this solution.
upvoted 1 times
SSS987
8 months, 2 weeks ago
C is saying "from development branch"!
upvoted 2 times
...
...
HRS1954
1 year ago
A is correct - https://cloud.google.com/anthos/run/docs/rollouts-rollbacks-traffic-migration#gradual
upvoted 2 times
...
BigfootPanda
1 year, 2 months ago
Selected Answer: C
C is ok as we want to DEFINE A STRATEGY
upvoted 3 times
...
TheCloudGuruu
1 year, 4 months ago
Selected Answer: A
Answer is A
upvoted 1 times
...
zerg0
1 year, 7 months ago
Selected Answer: A
https://cloud.google.com/anthos/run/docs/rollouts-rollbacks-traffic-migration
upvoted 4 times
...
KM0107
1 year, 9 months ago
Selected Answer: A
Selected A
upvoted 1 times
...
megumin
1 year, 10 months ago
Selected Answer: A
A is ok
upvoted 1 times
...
sfsdeniso
1 year, 11 months ago
A is correct currently there is possibility to use tags to test in production without receiving real traffic: https://cloud.google.com/anthos/run/docs/rollouts-rollbacks-traffic-migration#tags
upvoted 2 times
...
sfsdeniso
1 year, 11 months ago
whats wrong with C is configuring deployment from 'development branch' this is supper ugly
upvoted 2 times
...
zr79
1 year, 11 months ago
you can do a lab on this >>>Deploy Your Website on Cloud Run<<< Manage traffic is there
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago