Google Associate Cloud Engineer Question 135
Single answerGoogle Cloud PlatformYou are tasked with deploying an application on Google Cloud that needs to process events from various Google Cloud services such as Cloud Storage and Pub/Sub. Which service should you use to seamlessly receive and react to these events?
- A
Google Cloud Functions
- B
Google Compute Engine
- C
Google Kubernetes Engine
- D
Google App Engine
Show answer and explanation
Correct answer: A
Explanation
Google Cloud Functions is the preferred choice for processing events from Google Cloud services because it is an event-driven, serverless compute service. It can directly respond to events from services like Cloud Storage and Pub/Sub without the need for extensive infrastructure management, making it a suitable and efficient solution for the described application.
- A. Correct.
Google Cloud Functions is a serverless compute service that allows you to trigger code in response to events from Google Cloud services, making it ideal for processing events from Cloud Storage and Pub/Sub.
- B. Incorrect.
Google Compute Engine provides virtual machines, which would require additional setup and management to handle events from Google Cloud services.
- C. Incorrect.
Google Kubernetes Engine is a managed Kubernetes service, which could handle events but would require complex setup and management compared to serverless options.
- D. Incorrect.
Google App Engine is a platform for building scalable web applications and backends, but it is not specifically designed for event-driven architectures like Cloud Functions.