Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
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 116 discussion

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

You have developed a non-critical update to your application that is running in a managed instance group, and have created a new instance template with the update that you want to release. To prevent any possible impact to the application, you don't want to update any running instances. You want any new instances that are created by the managed instance group to contain the new update. What should you do?

  • A. Start a new rolling restart operation.
  • B. Start a new rolling replace operation.
  • C. Start a new rolling update. Select the Proactive update mode.
  • D. Start a new rolling update. Select the Opportunistic update mode.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
XDevX
Highly Voted 3 years, 4 months ago
IMHO the correct answer is d) opportunistic mode, not c) proactive mode. The requirement is not to update any running instances. see: https://cloud.google.com/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups For automated rolling updates, you must set the mode to proactive. Alternatively, if an automated update is potentially too disruptive, you can choose to perform an opportunistic update. The MIG applies an opportunistic update only when you manually initiate the update on selected instances or when new instances are created. New instances can be created when you or another service, such as an autoscaler, resizes the MIG.
upvoted 57 times
...
victory108
Highly Voted 3 years, 4 months ago
D. Start a new rolling update. Select the Opportunistic update mode.
upvoted 12 times
...
Chang401
Most Recent 2 months ago
Selected Answer: D
In Google Cloud, the main difference between proactive and opportunistic updates in a managed instance group (MIG) is when they are applied: Proactive updates: Automatically apply updates to existing VMs. Opportunistic updates: Only apply updates when you manually select a VM to update or when new instances are created. for all those who thinks its C please google and check its a straight forward question and you guyz are confusing people
upvoted 1 times
...
shashii82
8 months, 2 weeks ago
Option C. To release a non-critical update to your application without updating any running instances and ensuring that new instances created by the managed instance group contain the new update, you should choose option C: Start a new rolling update and select the Proactive update mode. In the Proactive update mode, the managed instance group creates new instances with the updated template while keeping the existing instances running until they are eventually replaced. This allows you to roll out the update gradually without affecting the currently running instances.
upvoted 4 times
...
kip21
10 months, 2 weeks ago
D - Correct Managed instance groups support two types of update: Automatic, or proactive, updates Selective, or opportunistic, updates If you want to apply updates automatically, set the type to proactive. Alternatively, if an automated update is potentially too disruptive, you can choose to perform an opportunistic update. The MIG applies an opportunistic update only when you manually initiate the update on selected instances or when new instances are created.
upvoted 3 times
...
discuss24
10 months, 3 weeks ago
D is correct, per Google's documentation (The MIG applies an opportunistic update only when you manually initiate the update on selected instances or when new instances are created. New instances can be created when you or another service, such as an autoscaler, resizes the MIG.)
upvoted 1 times
...
[Removed]
11 months ago
D Because the question says: "you don't want to update any running instances. You want any new instances that are created by the managed instance group to contain the new update." For the above case, we chose opportunistic Proactive vs Opportunistic: Proactive: If you want to apply updates automatically, set the type to proactive. Opportunistic: Alternatively, if an automated update is potentially too disruptive, you can choose to perform an opportunistic update. The MIG applies an opportunistic update only when you manually initiate the update on selected instances or when new instances are created. https://cloud.google.com/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#type
upvoted 1 times
...
spuyol
11 months, 2 weeks ago
Selected answer: D "To prevent any possible impact to the application, you don't want to update any running instances" this is automatic achievable only by using opportunistic applying it during autoscale actions as documentation says: if you want to selectively apply a new configuration only to new or to specific instances in a MIG, see Selectively apply VM configuration updates in a MIG
upvoted 2 times
...
6b13108
12 months ago
In my opinion C is correct for Proactive update mode. Considering the following doc; "....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. To start a basic rolling update where the update is applied to all instances in the group, follow the instructions below....." See Also: "Update type Managed instance groups support two types of update: Automatic, or proactive, updates Selective, or opportunistic, updates If you want to apply updates automatically, set the type to proactive." https://cloud.google.com/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#starting_a_basic_rolling_update
upvoted 2 times
...
thewalker
1 year ago
Selected Answer: C
https://cloud.google.com/compute/docs/instance-groups/updating-migs#choosing_between_automated_and_selective_updates Automatic (proactive): Use this method if you want the MIG to automatically apply new configurations to all or to a subset of existing VMs in the group. The level of disruption to running VMs depends on the update policy that you configure. You can use this method to canary update new instance templates. To use this method, set the MIG's update type to "proactive". Selective (opportunistic): Use this method if you want to apply the update manually or if you want to update all existing VMs in the group at once. You target any or all VMs to be updated to the latest configuration. To use this method, set the MIG's update type to "opportunistic". Hence, C
upvoted 3 times
...
JPA210
1 year, 1 month ago
It is option C, with proactive update, you are not updating the running instances, you start new ones with the new configuration template. And stop the old ones, so there is not disruption to the service.
upvoted 2 times
...
AdityaGupta
1 year, 1 month ago
Selected Answer: D
To apply an updated configuration to existing VMs, you can set up an automatic update–also known as a proactive update type. The MIG automatically rolls out configuration updates to all or to a subset of the group's VMs. Alternatively, if an automated update is potentially too disruptive, you can choose to perform an opportunistic update. The MIG applies an opportunistic update only when you manually initiate the update on selected instances or when new instances are created. New instances can be created when you or another service, such as an autoscaler, resizes the MIG. https://cloud.google.com/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups
upvoted 2 times
...
duzapo
1 year, 2 months ago
Selected Answer: D
https://cloud.google.com/compute/docs/instance-groups/updating-migs#selective_updates no more explications neded
upvoted 1 times
...
jawulya
1 year, 2 months ago
Selected Answer: D
The key here is "you don't want to update any running instances". Only opportunistic support this.
upvoted 1 times
...
heretolearnazure
1 year, 3 months ago
D is correct
upvoted 1 times
...
abhi52
1 year, 3 months ago
Selected Answer: D
Are the people creating these tests retarded? C is correct? how? Correct answer is D
upvoted 1 times
...
bhinar
1 year, 3 months ago
Selected Answer: C
If you want to apply updates automatically, set the type to proactive.
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 ...