How should you design an event-driven architecture using Pub/Sub where messages are processed in real time, with the application being self-contained and cost-effective (only incurring charges when new messages arrive)? | Google Professional Cloud Developer Quiz - LeetQuiz