Google Cloud Associate Cloud Engineer — Question 177
You have just created a new project which will be used to deploy a globally distributed application. You will use Cloud Spanner for data storage. You want to create a Cloud Spanner instance. You want to perform the first step in preparation of creating the instance. What should you do?
Answer options
- 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.
Correct answer: A
Explanation
The correct answer is A because enabling the Cloud Spanner API is a prerequisite for creating a Cloud Spanner instance. Options B and C are actions that can be taken after the API is enabled, and D is not necessary at this stage since you first need to enable the API to proceed.