Google Professional Data Engineer

Google Professional Data Engineer

Get started today

Ultimate access to all questions.


As a professional working for a game developer utilizing Cloud Firestore, you are tasked with setting up regular backups. You need a command that initiates a backup process in the background immediately upon issuance, storing the backup file in a Cloud Storage bucket named 'game-ds-backup'. Which command should you use?




Explanation:

The correct command is gcloud datastore export gs://game-ds-backup --async. This command is designed for exporting data from Cloud Datastore to a Cloud Storage bucket, with the --async flag allowing the operation to run in the background. It's important to note that gsutil is used for managing Cloud Storage, not for interacting with Cloud Datastore. For more details, refer to the official documentation on exporting and importing entities and the gcloud datastore export command reference.