Google Professional Cloud Developer Question 14
Single answerGoogle Cloud PlatformYou are developing a new web application for an e-commerce platform that experiences variable traffic patterns, especially during promotional events. The application requires high scalability to handle traffic spikes and must optimize costs during periods of low traffic. The development team prefers to focus on application logic rather than managing infrastructure. Which Google Cloud platform offering is most appropriate for this use case?
- A
Google Compute Engine (IaaS)
- B
Google Kubernetes Engine (CaaS)
- C
Cloud Functions (FaaS)
- D
App Engine (PaaS)
Show answer and explanation
Correct answer: D
Explanation
App Engine (PaaS) is the best choice for this scenario because it is a fully managed platform that allows the development team to focus on application logic while Google Cloud handles all infrastructure and scaling concerns. It is optimized for applications with variable traffic patterns, as it can automatically scale up during traffic spikes and scale down during quieter periods, ensuring cost efficiency.
- A. Incorrect.
Google Compute Engine (IaaS) provides virtual machines for complete control over infrastructure, but it requires significant effort to manage scaling, which is not ideal for a team that wants to focus on application logic.
- B. Incorrect.
Google Kubernetes Engine (CaaS) enables container orchestration and scalability, but it introduces operational complexity in managing the Kubernetes environment, which doesn't align with the team's preference to avoid infrastructure management.
- C. Incorrect.
Cloud Functions (FaaS) provides a serverless environment for executing individual functions, but it is better suited for event-driven workloads rather than a full web application.
- D. Correct.
App Engine (PaaS) offers a fully managed platform for deploying web applications, automatically handles scaling to accommodate traffic spikes, and abstracts infrastructure management, making it ideal for this scenario.