Google Professional Cloud Developer Question 13
Single answerGoogle Cloud PlatformYour team is building a real-time event processing system for a stock trading platform. The system must process millions of events per second, requires low latency, and needs to scale dynamically. The development team wants to focus solely on writing the event-processing logic rather than managing underlying infrastructure. Based on these requirements, which platform is the most suitable for this use case?
- A
IaaS (Infrastructure as a Service)
- B
CaaS (Container as a Service)
- C
PaaS (Platform as a Service)
- D
FaaS (Function as a Service)
Show answer and explanation
Correct answer: D
Explanation
FaaS (Function as a Service) is the most suitable platform for this use case because it is designed to handle event-driven workloads with automatic scaling and low latency. It enables the development team to focus on writing the event-processing code without the need to manage infrastructure or scalability manually. This aligns perfectly with the requirements of a real-time event processing system for a stock trading platform.
- A. Incorrect.
IaaS provides virtualized computing resources such as virtual machines, but it requires significant effort to manage scalability, networking, and other infrastructure components. This doesn't align with the team's desire to focus solely on event-processing logic.
- B. Incorrect.
CaaS allows developers to deploy and manage containers, which can help with scalability and portability. However, it still requires managing container orchestration and infrastructure, which is not the team's priority.
- C. Incorrect.
PaaS abstracts much of the infrastructure management and provides a platform for deploying applications. However, it may not provide the fine-grained scalability and event-driven capabilities required for this real-time event processing system.
- D. Correct.
FaaS is a serverless compute service that automatically scales based on the number of incoming events. It allows developers to focus solely on the event-processing logic without worrying about managing infrastructure, making it the ideal choice for the described use case.