When implementing a microservices architecture on GCP, which services are best suited to ensure high availability and durability by decoupling event producers from consumers?
Choose an answer
Tap an option to check your answer.
Correct answer: Cloud Pub/Sub and Cloud Functions..
Why this is the answer
*For a microservices architecture on GCP that requires decoupling of event producers from consumers to ensure high availability and durability, the combination of Cloud Pub/Sub and Cloud Functions is the most suitable. Cloud Pub/Sub is a real-time messaging service that allows for scalable and flexible communication between different components of an application, effectively handling the event production aspect. Cloud Functions can be triggered by events from Cloud Pub/Sub, making it an ideal consumer in an event-driven architecture. This pairing provides a robust and scalable solution for microservices that need to react to various events, maintaining high availability and ensuring durability. Other combinations, such as Cloud Tasks with Cloud Scheduler or Cloud SQL with Cloud Spanner, do not offer the same level of suitability for event-driven microservices that require real-time responsiveness and decoupling of event producers and consumers.*
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed