Video upload date:  · Duration: PT1H46M27S  · Language: EN

Scenario: You have a Compute Engine managed gcp video

solutions-architect-pro video for scenario: You have a Compute Engine managed instance group that dynamically adds and removes Compute Engine instances based on

This is a dedicated watch page for a single video.

Full Certification Question

Scenario: You have a Compute Engine managed instance group that dynamically adds and removes Compute Engine instances based on the application load. Each instance runs a shutdown script that removes REDIS database entries associated with it. However, many database entries are not being removed, and you suspect the shutdown script is the issue. You create a Cloud Function to remove the database entries. Now, you need to ensure that the commands in the shutdown script are executed reliably whenever an instance shuts down. Question: What should you do to ensure the commands in the shutdown script are executed reliably when an instance shuts down?