
Google Professional Cloud Developer
Get started today
Ultimate access to all questions.
How can you efficiently test and debug a microservices-based application using Cloud Run, Bigtable, and Pub/Sub to develop a minimally viable product with minimal cost?
How can you efficiently test and debug a microservices-based application using Cloud Run, Bigtable, and Pub/Sub to develop a minimally viable product with minimal cost?
Explanation:
The question focuses on testing and debugging quickly with minimal cost for an MVP using Cloud Run, Bigtable, and Pub/Sub. Option B is correct because using emulators (e.g., Bigtable and Pub/Sub emulators) allows local testing of cloud resource functionality without deploying to the cloud, reducing deployment time and costs. Once tested locally, the code can be deployed to Google Cloud. Options A, C, and D involve deploying to the cloud during testing (using Cloud Shell, Cloud Build pipelines, or Cloud Code), which incurs costs and delays. While Cloud Code (D) can integrate with emulators, the option does not explicitly mention local emulator usage, making B the clearer choice for minimizing cost and accelerating testing.