What is the most suitable architecture for a stateless application that expects unpredictable user traffic on Google Cloud?

Disable ads (and more) with a premium pass for a one time $4.99 payment

Prepare for the Google Cloud Professional Cloud Developer Test. Benefit from mock assessments featuring flashcards and multiple-choice format, each furnished with hints and detailed explanations. Excel in your exam with confidence!

The choice to deploy the application to Cloud Run with Firestore as the database is appropriate for a stateless application that anticipates unpredictable user traffic due to several reasons.

Cloud Run is designed to handle serverless containers, allowing applications to scale up and down seamlessly based on demand. This elasticity makes it well-suited for applications that experience variable traffic patterns, as it automatically adjusts the number of active instances needed to handle incoming requests without any need for manual intervention.

Additionally, Firestore is a NoSQL database that excels in handling dynamic and unpredictable workloads. It offers real-time synchronization and scalability features, which are beneficial for applications that require fast access to data and need to support a large number of users without performance degradation.

This combination of Cloud Run and Firestore allows developers to focus on building applications without worrying about the underlying infrastructure, providing not only resilience and scalability but also rapid deployment capabilities, which are critical for applications dealing with fluctuating traffic levels.

In contrast, other options may introduce complexity or limitations. For example, App Engine flexible environment with CloudSQL or standard environment with CloudSQL may not provide the same level of scalability and ease of deployment as Cloud Run, especially if the application experiences rapid changes in user traffic. Managed instance groups with autoscaling can offer

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy