Topic 1 Question 51
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?
Point gcloud datastore create-indexes to your configuration file
Upload the configuration file to App Engine's default Cloud Storage bucket, and have App Engine detect the new indexes
In the GCP Console, use Datastore Admin to delete the current indexes and upload the new configuration file
Create an HTTP request to the built-in python module to send the index configuration file to your application
ユーザの投票
コメント(17)
Correct A, you have to recreate the indexes
👍 28jcmoranp2019/10/26A is incorrect because the command is actually gcloud datastore indexes create. (https://cloud.google.com/sdk/gcloud/reference/datastore/indexes/create).
👍 13Eroc2019/10/26A is incorrect. There is no correct answer, in fact. In 2022, the gcloud parameter "create-index" doesn't exist anymore. However, that was in 2017*. Today, the right CLI command** should be gcloud datastore "indexes create".
Evidences:
👍 7[Removed]2022/04/08
シャッフルモード