You want to send and consume Cloud Pub/Sub messages from your App Engine application. The Cloud Pub/Sub API is currently disabled. You will use a service account to authenticate your application to the API. You want to make sure your application can use Cloud Pub/Sub. What should you do?
A) Enable the Cloud Pub/Sub API in the API Library on the GCP Console.
B) Rely on the automatic enablement of the Cloud Pub/Sub API when the Service Account accesses it.
C) Use Deployment Manager to deploy your application. Rely on the automatic enablement of all APIs used by the application being deployed.
D) Grant the App Engine Default service account the role of Cloud Pub/Sub Admin. Have your application enable the API on the first connection to Cloud Pub/Sub.
Correct Answer:
Verified
Q43: You are deploying an application to a
Q44: You have an application that looks for
Q45: You want to configure 10 Compute Engine
Q46: Your organization has user identities in Active
Q47: Your company set up a complex organizational
Q49: You have successfully created a development environment
Q50: You created an instance of SQL Server
Q51: You want to verify the IAM users
Q52: Your organization has a dedicated person who
Q53: Several employees at your company have been
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents