🔥 40% Off Crucial Exams Memberships — Deal ends today!

2 hours, 30 minutes remaining!

GCP Associate Cloud Engineer Practice Question

Your organization runs 200 Linux virtual machines in several Google Cloud projects. You want to use VM Manager to automatically install security updates every Sunday at 03:00 without requiring VM owners to modify their instances. Central administrators must be able to create and maintain the schedule from a single location. Which approach meets the requirements while following Google-recommended practices?

  • Install the Cloud Monitoring agent on all VMs and configure an uptime check that runs an apt-get upgrade command through a custom alerting policy every week.

  • Add a startup script to each instance template that runs yum update when the VM boots; then use instance group rolling updates to trigger patching on Sunday.

  • Enable the OS Config API in every project, verify that the OS Config agent is present, assign the roles/osconfig.patchDeploymentAdmin role to the operations team, and create a recurring patch deployment that targets instances with a common label scheduled for Sunday 03:00.

  • Create a cron job inside every VM that executes apt-get update && apt-get dist-upgrade at 03:00 on Sundays; no additional Google Cloud APIs need to be enabled.

GCP Associate Cloud Engineer
Planning and implementing a cloud solution
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot