Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
How can you test the Pub/Sub integration for an application that reads credit card data before deploying it to Google Cloud, after completing unit testing?
A
Create a service to publish messages, and deploy the Pub/Sub emulator. Generate random content in the publishing service, and publish to the emulator.
B
Create a service to publish messages to your application. Collect the messages from Pub/Sub in production, and replay them through the publishing service.
C
Create a service to publish messages, and deploy the Pub/Sub emulator. Collect the messages from Pub/Sub in production, and publish them to the emulator.
D
Create a service to publish messages, and deploy the Pub/Sub emulator. Publish a standard set of testing messages from the publishing service to the emulator.