Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Google Cloud Certified Professional Cloud Architect · Google Cloud
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
A, option
To deploy new Cloud Datastore indexes using the YAML file you created, you should use the `gcloud` command-line tool. Specifically, the correct option is: **A. Point gcloud datastore create-indexes to your configuration file** Here’s how you can do it: 1. **Ensure you have the `gcloud` CLI installed**: You need the Google Cloud SDK installed and set up on your local machine. If you haven't done this yet, follow the [installation guide](https://cloud.google.com/sdk/docs/install). 2. **Navigate to the directory containing your `index.yaml` file**: This file contains the definitions of the indexes you want to deploy. 3. **Run the following command**: ```bash gcloud datastore indexes create index.yaml ``` This command will deploy the indexes defined in the `index.yaml` file to Cloud Datastore.
A is correct: https://cloud.google.com/sdk/gcloud/reference/datastore/indexes/create