
Explanation:
The correct approach is to enable the API via the Google Cloud Console, as it's the most straightforward method. This involves navigating to the GCP Console API Library, selecting your project, finding the Pub/Sub API, and clicking 'ENABLE'.
Ultimate access to all questions.
Your front-end is an App Engine application that needs to publish messages to Pub/Sub, but the Pub/Sub API hasn't been enabled yet. What's the quickest method to enable this API?
A
Utilize a service account with the Pub/Sub Admin role to automatically enable the API.
B
The API will automatically enable upon the first code attempt to access Pub/Sub.
C
App Engine applications do not need external APIs to be enabled.
D
Enable the API directly through the Google Cloud Console.
No comments yet.