QuestionQ274

Managing and provisioning a cloud solution infrastructure

You discovered an error in your App Engine application that is due to missing Cloud Datastore indexes. You created a YAML file containing the necessary indexes and want to deploy the new indexes to Cloud Datastore. What should you do?

  • A Point gcloud datastore create-indexes to your configuration file
  • B Upload the configuration file to App Engine's default Cloud Storage bucket, and have App Engine detect the new indexes
  • C In the GCP Console, use Datastore Admin to delete the current indexes and upload the new configuration file
  • D Create an HTTP request to the built-in python module to send the index configuration file to your application
Explanation

Composite Cloud Datastore indexes are deployed from the local index configuration file by using the gcloud Datastore index-creation command. In current gcloud syntax, this is gcloud datastore indexes create INDEX_FILE; the older command form in the option is the equivalent intended action.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!