Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

APP Engine

You have an App Engine application serving as your front-end. It's going to publish messages to Pub/Sub.
The Pub/Sub API hasn't been enabled yet. What is the fastest way to enable the API?
A. Use a service account to auto-enable the API.
B. Enable the API in the Console.
C. Application's in App Engine don't require external APIs to be enabled.
D. The API will be enabled the first time the code attempts to access Pub/Sub.

 

What's the correct answer Guys. Not sure between B and D.

Thank you.

Solved Solved
0 1 173
1 ACCEPTED SOLUTION

Hi @fmugambi

Welcome to Google Cloud Community!

The fastest and most direct way to enable the Pub/Sub API is by navigating to Google Cloud Console, just simply search for the Pub/Sub API and enable it. So, the correct answer would be letter B.

For the letter D, you will need to enable the API first as trying to access Pub/Sub without enabling the API will result in an error. 

I hope the above information is helpful.

View solution in original post

1 REPLY 1

Hi @fmugambi

Welcome to Google Cloud Community!

The fastest and most direct way to enable the Pub/Sub API is by navigating to Google Cloud Console, just simply search for the Pub/Sub API and enable it. So, the correct answer would be letter B.

For the letter D, you will need to enable the API first as trying to access Pub/Sub without enabling the API will result in an error. 

I hope the above information is helpful.