Google Cloud Certified Associate Cloud Engineer Practice

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the Google Cloud Certified Associate Cloud Engineer Exam with flashcards and multiple choice questions. Each question includes hints and explanations to help you study effectively. Get ready to pass your certification exam!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


What is the command to create a new Spanner database?

  1. gsutil mb gs://bucket-name/

  2. `gcloud spanner databases create`

  3. Deployments

  4. Service Accounts

The correct answer is: `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.