nerdexam
Google

PROFESSIONAL-CLOUD-DEVELOPER · Question #292

You have a web application that publishes messages to Pub/Sub. You plan to build new versions of the application locally and need to quickly test Pub/Sub integration for each new build. How should you

Sign in or unlock PROFESSIONAL-CLOUD-DEVELOPER to reveal the answer and full explanation for question #292. The question stem and answer options stay visible for context.

Developing, deploying, and debugging applications

Question

You have a web application that publishes messages to Pub/Sub. You plan to build new versions of the application locally and need to quickly test Pub/Sub integration for each new build. How should you configure local testing?

Options

  • AIn the Google Cloud console, navigate to the API Library, and enable the Pub/Sub API. When
  • BInstall the Pub/Sub emulator using gcloud, and start the emulator with a valid Google Project ID.
  • CRun the gcloud config set api_endpoint_overrides/pubsub
  • DInstall Cloud Code on the integrated development environment (IDE). Navigate to Cloud APIs,

Unlock PROFESSIONAL-CLOUD-DEVELOPER to see the answer

You've previewed enough free PROFESSIONAL-CLOUD-DEVELOPER questions. Unlock PROFESSIONAL-CLOUD-DEVELOPER 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

#Pub/Sub#Local Development#Emulators#Testing
Full PROFESSIONAL-CLOUD-DEVELOPER Practice