
Answer-first summary for fast verification
Answer: Enable the Cloud Spanner API.
The correct first step in preparation for creating a Cloud Spanner instance is to enable the Cloud Spanner API. This is necessary because without enabling the API, you cannot interact with Cloud Spanner in GCP. Even though the Cloud Console might enable it automatically when you create an instance, the explicit first step remains to ensure that the API is enabled. References and practical tests have shown this to be the first critical step.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are tasked with deploying a globally distributed application for a new project. For data storage, you have chosen Google Cloud Spanner due to its scalability and global distribution capabilities. Before you can create a Cloud Spanner instance, there is a crucial preparatory step that needs to be taken. What is the initial step you must perform to prepare for creating the Cloud Spanner instance?
A
Enable the Cloud Spanner API.
B
Configure your Cloud Spanner instance to be multi-regional.
C
Create a new VPC network with subnetworks in all desired regions.
D
Grant yourself the IAM role of Cloud Spanner Admin.
No comments yet.