nerdexam
GoogleGoogle

PROFESSIONAL-CLOUD-ARCHITECT · Question #273

PROFESSIONAL-CLOUD-ARCHITECT Question #273: Real Exam Question with Answer & Explanation

Sign in or unlock PROFESSIONAL-CLOUD-ARCHITECT to reveal the answer and full explanation for question #273. The question stem and answer options stay visible for context.

Submitted by jakub_pl· Mar 30, 2026

Question

You have a Compute Engine managed instance group that adds and removes Compute Engine instances from the group in response to the load on your application. The instances have a shutdown script that removes REDIS database entries associated with the instance. You see that many database entries have not been removed, and you suspect that the shutdown script is the problem. You need to ensure that the commands in the shutdown script are run reliably every time an instance is shut down. You create a Cloud Function to remove the database entries. What should you do next?

Options

  • AModify the shutdown script to wait for 30 seconds before triggering the Cloud Function.
  • BDo not use the Cloud Function. Modify the shutdown script to restart if it has not completed in 30
  • CSet up a Cloud Monitoring sink that triggers the Cloud Function after an instance removal log
  • DModify the shutdown script to wait for 30 seconds and then publish a message to a Pub/Sub

Unlock PROFESSIONAL-CLOUD-ARCHITECT to see the answer

You've previewed enough free PROFESSIONAL-CLOUD-ARCHITECT questions. Unlock PROFESSIONAL-CLOUD-ARCHITECT for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full PROFESSIONAL-CLOUD-ARCHITECT PracticeBrowse All PROFESSIONAL-CLOUD-ARCHITECT Questions