You created a Datastore index configuration YAML for App Engine. How do you deploy the new indexes to Cloud Datastore?
Choose an answer
Tap an option to check your answer.
Correct answer: Point gcloud datastore create-indexes to your configuration file.
Why this is the answer
The gcloud datastore create-indexes command is the correct and primary method for deploying Datastore index configurations. You specify the path to your index.yaml file, and the command handles the creation or update of indexes in Cloud Datastore. Uploading to a Cloud Storage bucket is not how Datastore indexes are deployed; it's typically used for application files or data. The GCP Console does not offer a direct "upload" feature for index configuration files for Datastore, and Datastore Admin is for managing entities, not deploying index definitions. Creating an HTTP request to a built-in Python module is not a standard or supported method for deploying Datastore indexes.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed