exam questions

Exam Professional Cloud Network Engineer All Questions

View all questions & answers for the Professional Cloud Network Engineer exam

Exam Professional Cloud Network Engineer topic 1 question 49 discussion

Actual exam question from Google's Professional Cloud Network Engineer
Question #: 49
Topic #: 1
[All Professional Cloud Network Engineer Questions]

You have an application that is running in a managed instance group. Your development team has released an updated instance template which contains a new feature which was not heavily tested. You want to minimize impact to users if there is a bug in the new template.
How should you update your instances?

  • A. Manually patch some of the instances, and then perform a rolling restart on the instance group.
  • B. Using the new instance template, perform a rolling update across all instances in the instance group. Verify the new feature once the rollout completes.
  • C. Deploy a new instance group and canary the updated template in that group. Verify the new feature in the new canary instance group, and then update the original instance group.
  • D. Perform a canary update by starting a rolling update and specifying a target size for your instances to receive the new template. Verify the new feature on the canary instances, and then roll forward to the rest of the instances.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
mozammil89
Highly Voted 4 years, 7 months ago
The correct answer is "D", see Canary Updates section from following link. https://cloud.google.com/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups
upvoted 38 times
...
ydanno
Highly Voted 3 years, 10 months ago
"C" is correct. We perform a canary update if we have tested the new feature heavily. However, we have not tested heavily in this scenario. So we have to test the new feature and new template at first and have to MINIMIZE impacts to users. There are some impacts on users if there are some bugs on its template and we test on a canary update. There is no impact on users if we test the new instances in the new instance group which is not provided to users. So "D" has more impacts on users than "C". "C" is the least impactful way for users to test and update instances.
upvoted 5 times
...
saraali
Most Recent 2 months, 2 weeks ago
Selected Answer: D
Canary updates are commonly used to minimize risk when deploying new features. This approach allows you to test the new template on a small subset of instances (canary instances) first before rolling it out to all instances. Thus, Option D provides the safest approach for updating your instances with minimal user impact.
upvoted 1 times
...
dev62
8 months, 1 week ago
D : You have an application that is running in a managed instance group. Your development team has released an updated instance template which contains a new feature which was not heavily tested. You want to minimize impact to users if there is a bug in the new template. How should you update your instances? A. Manually patch some of the instances, and then perform a rolling restart on the instance group. B. Using the new instance template, perform a rolling update across all instances in the instance group. Verify the new feature once the rollout completes. C. Deploy a new instance group and canary the updated template in that group. Verify the new feature in the new canary instance group, and then update the original instance group. D. Perform a canary update by starting a rolling update and specifying a target size for your instances to receive the new template. Verify the new feature on the canary instances, and then roll forward to the rest of the instances.
upvoted 1 times
...
BenMS
10 months, 1 week ago
Selected Answer: D
https://cloud.google.com/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#starting_a_canary_update
upvoted 3 times
...
PyNerdy
10 months, 3 weeks ago
Selected Answer: D
D seems sensible , as the question states minimize the impact . Using a canary update we can deploy the patch on some instances and roll back if any bugs found.
upvoted 1 times
...
[Removed]
1 year ago
Selected Answer: D
If you add two backends(instance groups) to LB, and not seperate them by url mapping, the traffic balancing will not work properly. This is based on my experience.
upvoted 1 times
...
bob_builder
1 year ago
D -> https://cloud.google.com/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#starting_a_canary_update
upvoted 1 times
...
ankitgdexsza198
1 year, 1 month ago
D as targetSize is given in Canary updates
upvoted 1 times
...
gcpengineer
1 year, 1 month ago
Selected Answer: D
ans is D. https://cloud.google.com/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#canary_updates
upvoted 1 times
...
Thornadoo
1 year, 2 months ago
What has this even got to do with PCNE? More like a PCA q for me.
upvoted 2 times
...
didek1986
1 year, 2 months ago
Selected Answer: C
Automated updates support up to two instance template versions in your MIG. This means that you can specify two different instance template versions for your group, which is useful for performing canary updates.
upvoted 1 times
...
Komal697
1 year, 7 months ago
Selected Answer: C
By deploying a new instance group and canarying the updated template, the impact of the new feature can be tested on a smaller scale before rolling out to the entire user base. This allows for any issues to be identified and resolved before a full rollout is performed. Once the new feature has been verified in the canary instance group, the original instance group can be updated to use the new template. This minimizes the risk of user impact and ensures that the new feature is thoroughly tested before being rolled out to all users.
upvoted 2 times
Komal697
1 year, 7 months ago
Option A and B do not provide any mechanism for testing the new feature before a full rollout is performed, which increases the risk of user impact in case of any bugs or issues. Option D is similar to Option C in that it performs a canary update, but it does not involve deploying a new instance group for the canary. This may be riskier because it involves updating the production instance group directly with the new template, which could cause issues for users if there are any bugs or issues with the new feature.
upvoted 1 times
...
...
pk349
1 year, 9 months ago
• D. Perform a canary update by starting a rolling update ***** and specifying a target size for your instances to receive the new template. Verify the new feature on the canary instances, and then roll forward to the rest of the instances.
upvoted 1 times
...
AzureDP900
1 year, 11 months ago
D A canary update is an update that is applied to a subset of instances in the group. With a canary update, you can test new features or upgrades on a random subset of instances, instead of rolling out a potentially disruptive update to all your instances. If an update is not going well, you only need to roll back the subset of instances, minimizing the disruption for your users.
upvoted 1 times
AzureDP900
1 year, 11 months ago
D is right answer https://cloud.google.com/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#canary_updates
upvoted 1 times
...
...
vladani
2 years, 9 months ago
Selected Answer: D
ans - D
upvoted 2 times
...
kumarp6
2 years, 10 months ago
Answer is : D
upvoted 2 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