You must test Pub/Sub code locally without using the cloud service. What fits?
Why A is the answer
Cloud Emulators
Cloud Emulators let you test Pub/Sub code locally, without the cloud service.
In detail
- Cloud Emulators let you test locally.
- Emulators exist for several services.
Use case
An illustrative scenario, not a real incident.
A developer tests Pub/Sub code against a local emulator, with no cloud cost.
See it in different ways
mindmap
root((Operations))
Tests
Load
Integration
Chaos
Penetration
Observability
Cloud Logging
Cloud Profiler
Learning
Blameless reviewsequenceDiagram participant P0 as Local code participant P1 as Pub/Sub emulator P0->>P1: Publish P1-->>P0: Deliver
Key point: Emulators test locally.
Why the other options are wrong
- B. Cloud Interconnect
- That is a network link.
- C. Model Armor
- That screens prompts.
- D. A production topic
- That is the cloud service.

