PROFESSIONAL-CLOUD-DEVELOPER · Question #234
Your team detected a spike of errors in an application running on Cloud Run in your production project. The application is configured to read messages from Pub/Sub topic A, process the messages, and w
Sign in or unlock PROFESSIONAL-CLOUD-DEVELOPER to reveal the answer and full explanation for question #234. The question stem and answer options stay visible for context.
Question
Your team detected a spike of errors in an application running on Cloud Run in your production project. The application is configured to read messages from Pub/Sub topic A, process the messages, and write the messages to topic B. You want to conduct tests to identify the cause of the errors. You can use a set of mock messages for testing. What should you do?
Options
- ADeploy the Pub/Sub and Cloud Run emulators on your local machine. Deploy the application
- BUse the gcloud CLI to write mock messages to topic A. Change the logging level in the
- CDeploy the Pub/Sub emulator on your local machine. Point the production application to your local
- DUse the Google Cloud console to write mock messages to topic A. Change the logging level in
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.