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! Go to 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.
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.