nerdexam
Google

PROFESSIONAL-CLOUD-ARCHITECT · Question #110

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 D

The correct answer is A. Point gcloud datastore create-indexes to your configuration file. You upload your index.yaml configuration file to Datastore with the gcloud command. If the index.yaml file defines any indexes that don't exist in Datastore, those new indexes are built. gcloud datastore indexes create index.yaml https://cloud.google.com/sdk/gcloud/reference/data

Submitted by helene.fr· Mar 30, 2026Managing implementation

Question

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?

Options

  • APoint gcloud datastore create-indexes to your configuration file
  • BUpload the configuration file the App Engine's default Cloud Storage bucket, and have App
  • CIn the GCP Console, use Datastore Admin to delete the current indexes and upload the new
  • DCreate an HTTP request to the built-in python module to send the index configuration file to your

How the community answered

(40 responses)
  • A
    88% (35)
  • B
    3% (1)
  • C
    3% (1)
  • D
    8% (3)

Explanation

You upload your index.yaml configuration file to Datastore with the gcloud command. If the index.yaml file defines any indexes that don't exist in Datastore, those new indexes are built. gcloud datastore indexes create index.yaml https://cloud.google.com/sdk/gcloud/reference/datastore/indexes/create

Topics

#Cloud Datastore#gcloud CLI#index deployment#YAML configuration

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-ARCHITECT Practice