Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Google Cloud Certified Professional Cloud Developer · Google Cloud
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
D. Place the unique configuration values in the instance template instance metadata. The instance metadata is a good place to store configuration values that are unique to each managed instance group while using the same machine image across all deployments. This allows you to use the same base image but customize the behavior of each instance group based on the metadata passed to them. Metadata can be accessed by the instances at startup, and scripts can be written to configure the instance based on these values.
D is correct.
Option D is the correct answer. Instance metadata is metadata that is associated with a Compute Engine instance and can be used to pass configuration values to the instance at startup. It can be accessed from within the instance itself, allowing you to use the same custom machine image in all deployments and still provide unique configuration values to each deployment. Option A is not a good solution because the persistent disk is not automatically attached to the instance at startup and is not intended for storing configuration values. Option B is not a good solution because Cloud Bigtable is a NoSQL database, which is not well-suited for storing configuration values. Option C is not a good solution because the startup script is executed after the instance has started, so it cannot be used to pass configuration values to the instance at startup.