Bird
0
0

Why is decoupling services using messaging systems like Pub/Sub considered a best practice in cloud architecture?

hard📝 Conceptual Q10 of 15
GCP - Cloud Pub/Sub
Why is decoupling services using messaging systems like Pub/Sub considered a best practice in cloud architecture?
AIt requires services to share the same database schema
BIt forces all services to run on the same server
CIt eliminates the need for monitoring and logging
DIt allows services to evolve independently and handle failures gracefully
Step-by-Step Solution
Solution:
  1. Step 1: Understand decoupling benefits

    Decoupling means services do not depend directly on each other, allowing independent updates and scaling.
  2. Step 2: Recognize failure handling advantage

    Messaging buffers communication, so failures in one service do not crash others immediately.
  3. Final Answer:

    It allows services to evolve independently and handle failures gracefully -> Option D
  4. Quick Check:

    Decoupling = independence and graceful failure [OK]
Quick Trick: Decoupling lets services change without breaking others [OK]
Common Mistakes:
  • Thinking decoupling forces co-location
  • Assuming no need for monitoring
  • Believing shared database schema is required

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes