nerdexam
Google

ASSOCIATE-CLOUD-ENGINEER · Question #69

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 th

Sign in or unlock ASSOCIATE-CLOUD-ENGINEER to reveal the answer and full explanation for question #69. The question stem and answer options stay visible for context.

Submitted by noor.lb· Mar 30, 2026Setting up a cloud solution environment

Question

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?

Options

  • AEnable the Cloud Pub/Sub API in the API Library on the GCP Console.
  • BRely on the automatic enablement of the Cloud Pub/Sub API when the Service Account accesses
  • CUse Deployment Manager to deploy your application.
  • DGrant the App Engine Default service account the role of Cloud Pub/Sub Admin.

Unlock ASSOCIATE-CLOUD-ENGINEER to see the answer

You've previewed enough free ASSOCIATE-CLOUD-ENGINEER questions. Unlock ASSOCIATE-CLOUD-ENGINEER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Cloud Pub/Sub#API enablement#App Engine#service accounts
Full ASSOCIATE-CLOUD-ENGINEER Practice