QuestionQ211
Integrating applications with Google Cloud servicesYou are building an event-driven application and have created a topic to receive messages sent to Pub/Sub. You want the messages processed in real time. The application must be independent of any other system and incur costs only when new messages arrive. How should you configure the architecture?
- A Deploy the application on Compute Engine. Use a Pub/Sub push subscription to process new messages in the topic.
- B Deploy your code on Cloud Functions. Use a Pub/Sub trigger to invoke the Cloud Function. Use the Pub/Sub API to create a pull subscription to the Pub/Sub topic and read messages from it.
- C Deploy the application on Google Kubernetes Engine. Use the Pub/Sub API to create a pull subscription to the Pub/Sub topic and read messages from it.
- D Deploy your code on Cloud Functions. Use a Pub/Sub trigger to handle new messages in the topic.
Community Discussion