Google Cloud Certified Associate Cloud Engineer Practice

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the Google Cloud Certified Associate Cloud Engineer Exam with our comprehensive quiz. Engage with interactive flashcards and multiple choice questions that offer hints and detailed explanations to solidify your understanding. Get ready to excel!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


What is the Compute Engine metadata key that allows you to run code at startup?

  1. startup-code

  2. init-script

  3. bootstrap-code

  4. startup-script

The correct answer is: startup-script

The Compute Engine metadata key that allows you to run code at startup is "startup-script". This key is specifically designed to run code when your instance boots up. Option A is incorrect because there is no Compute Engine metadata key called "startup-code". Option B is incorrect because it refers to MetaData as "init-script" whereas it should be "startup-script". Option C is incorrect because "bootstrap-code" is not a Compute Engine metadata key. Make sure to use the correct metadata key "startup-script" to run code at startup.