Google Cloud Associate Cloud Engineer — Question 100

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?

Answer options

Correct answer: C

Explanation

The correct answer is C because you need to install the google-cloud-sdk-datastore-emulator component to run a local emulator for Cloud Datastore. Options A and B are related to managing data and indexes in Cloud Datastore but do not set up a local testing environment. Option D incorrectly suggests installing the emulator using the gcloud components install command, which is not the correct method in this context.