Topic 1 Question 103
You have a developer laptop with the Cloud SDK installed on Ubuntu. The Cloud SDK was installed from the Google Cloud Ubuntu package repository. You want to test your application locally on your laptop with Cloud Datastore. What should you do?
Export Cloud Datastore data using gcloud datastore export.
Create a Cloud Datastore index using gcloud datastore indexes create.
Install the google-cloud-sdk-datastore-emulator component using the apt get install command.
Install the cloud-datastore-emulator component using the gcloud components install command.
ユーザの投票
コメント(17)
I believe answer is C https://cloud.google.com/sdk/docs/downloads-apt-get
The question is not about the datastore command itself but from where we should run the update command on the Ubuntu to install the component.
👍 40someoneinthecloud2020/07/18- 👍 23professor2020/06/26
I have simulated the steps in my ubuntu machine... Correct answer is D
[email protected]:~$ gcloud components install cloud-datastore-emulator ERROR: (gcloud.components.install) You cannot perform this action because the Google Cloud CLI component manager is disabled for this installation. You can run the following command to achieve the same result for this installation:
sudo apt-get install google-cloud-sdk-datastore-emulator [email protected]:~$
👍 2kar_techie2022/12/01
シャッフルモード