On Ubuntu with Cloud SDK installed from Google's apt repository, you need a local Datastore emulator for development. What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Install the google-cloud-sdk-datastore-emulator package via apt-get..
Why this is the answer
To use the Datastore emulator on an Ubuntu system where Cloud SDK was installed via Google's apt repository, you must install the specific emulator package using apt-get. The command sudo apt-get install google-cloud-sdk-datastore-emulator will add the necessary components. Exporting Datastore data with gcloud datastore export is for managing data in a live Datastore instance, not for installing the emulator. Creating Datastore indexes with gcloud datastore indexes create is also for managing indexes on a live Datastore instance. While gcloud components install is used to add components to a Cloud SDK installation, it's primarily for installations done directly from the Google Cloud website or tarball. When using the apt repository, individual components like emulators are typically installed as separate apt packages.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed