You have found an error in your App Engine application caused by missing Cloud Datastore indexes. You have created a YAML file with the required indexes and want to deploy these new indexes to Cloud Datastore. What should you do?
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 most straightforward way to deploy new or updated Datastore index configurations. You specify the path to your index.yaml file, and the command handles the deployment to Cloud Datastore. Uploading to a Cloud Storage bucket is not how Datastore indexes are deployed. The GCP Console does not offer a direct "upload configuration file" option for Datastore indexes; index management is typically done via gcloud or the App Engine deployment process. 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