nerdexam
Google

PROFESSIONAL-CLOUD-DEVELOPER · Question #105

You are developing an application that reads credit card data from a Pub/Sub subscription. You have written code and completed unit testing. You need to test the Pub/Sub integration before deploying t

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

Building and testing applications

Question

You are developing an application that reads credit card data from a Pub/Sub subscription. You have written code and completed unit testing. You need to test the Pub/Sub integration before deploying to Google Cloud. What should you do?

Options

  • ACreate a service to publish messages, and deploy the Pub/Sub emulator. Generate random
  • BCreate a service to publish messages to your application. Collect the messages from Pub/Sub in
  • CCreate a service to publish messages, and deploy the Pub/Sub emulator. Collect the messages
  • DCreate a service to publish messages, and deploy the Pub/Sub emulator. Publish a standard set

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 Testing#Emulator#Application Development
Full PROFESSIONAL-CLOUD-DEVELOPER Practice