Google Professional Cloud Developer Question 431
Single answerGoogle Cloud PlatformYou are tasked with deploying a new application on Google Cloud that requires the use of Cloud Storage, Cloud Pub/Sub, and Cloud Functions. The project is new, and none of these services have been used before. What is the first step you need to take to ensure these services can be used?
- A
Enable the required APIs for Cloud Storage, Cloud Pub/Sub, and Cloud Functions in the Google Cloud Console.
- B
Create service accounts with the required roles for Cloud Storage, Cloud Pub/Sub, and Cloud Functions.
- C
Assign IAM roles to the users who will manage these services.
- D
Install the Google Cloud SDK on your local machine.
Show answer and explanation
Correct answer: A
Explanation
Before you can use any Google Cloud services like Cloud Storage, Cloud Pub/Sub, or Cloud Functions in a project, you must enable their respective APIs in the Google Cloud Console. This step is necessary to activate the services and allows other configurations, such as assigning IAM roles or creating service accounts, to be performed afterward.
- A. Correct.
Correct: APIs for services like Cloud Storage, Cloud Pub/Sub, and Cloud Functions must be explicitly enabled in a project before using them. This is the first step in ensuring the services are available.
- B. Incorrect.
Incorrect: While service accounts and IAM roles are important for managing access, they are not the first step in making services available. APIs must be enabled first.
- C. Incorrect.
Incorrect: Assigning IAM roles is necessary for managing permissions, but it is not the first step required to use the services.
- D. Incorrect.
Incorrect: Installing the Google Cloud SDK is useful for interacting with Google Cloud services from the command line, but it does not enable the required services in the project.