
Google Professional Cloud Architect
Get started today
Ultimate access to all questions.
Your App Engine application is experiencing an error caused by missing Cloud Datastore indexes. To resolve this, you have created a YAML file containing the required indexes. What steps should you take to deploy these new indexes to Cloud Datastore?
Your App Engine application is experiencing an error caused by missing Cloud Datastore indexes. To resolve this, you have created a YAML file containing the required indexes. What steps should you take to deploy these new indexes to Cloud Datastore?
Explanation:
To deploy new indexes to Cloud Datastore, you should use the gcloud datastore indexes create command and point it to your configuration file. This command will read the YAML file and create the specified indexes in Cloud Datastore. Other options are incorrect because App Engine does not automatically detect and create indexes from uploaded configuration files in Cloud Storage, deleting current indexes in Datastore Admin is not necessary to upload new indexes, and there is no built-in Python module to send the index configuration file to your application.