Google Cloud Certified Associate Cloud Engineer Practice 2026 - Free Cloud Engineer Practice Questions and Study Guide

Question: 1 / 400

What is the command to create a new Spanner database?

gsutil mb gs://bucket-name/

`gcloud spanner databases create`

The command to create a new Google Cloud Spanner database is indeed `gcloud spanner databases create`. This command is part of the Google Cloud CLI, allowing users to interact with Cloud Spanner services directly from the command line. By using this command, you can create a database within a specified instance of Cloud Spanner, making it essential for anyone looking to manage their database services effectively.

The other choices do not pertain to the creation of a Spanner database. For instance, the first choice references `gsutil`, a tool used for managing Google Cloud Storage resources, such as creating buckets rather than databases. The third choice, "Deployments," is a more general term that doesn't specifically refer to Spanner databases, and the fourth choice, "Service Accounts," pertains to identity management and permissions rather than database creation. Therefore, the correct command to create a Spanner database is accurately represented by the second option.

Get further explanation with Examzify DeepDiveBeta

Deployments

Service Accounts

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy