You have a containerized application that requires fine-grained control over networking, persistent storage, and custom scheduling. Which platform is the best choice?
Think about which platform gives you more control over infrastructure details.
GKE provides Kubernetes clusters where you can configure networking, storage, and scheduling. Cloud Run abstracts infrastructure and is best for stateless apps.
Consider a web service deployed on both Cloud Run and GKE. Which statement correctly describes their scaling behavior?
Think about which platform is fully managed and serverless.
Cloud Run automatically scales container instances based on request load. GKE requires setting up autoscaling policies or manual scaling.
You want to build an app where the backend API needs custom networking and persistent storage, but the frontend is a stateless service with unpredictable traffic. Which architecture is best?
Consider which platform supports persistent storage and which supports serverless scaling best.
GKE supports persistent storage and custom networking needed by backend. Cloud Run is ideal for frontend with unpredictable traffic due to automatic scaling.
Which statement correctly describes a key security difference between GKE and Cloud Run?
Think about who manages the infrastructure and isolation in each platform.
Cloud Run runs containers in Google-managed sandboxes, enhancing security by isolating workloads. GKE nodes are managed by users and require patching and configuration.
Your team wants to minimize costs for a microservices app with variable traffic and some stateful components. Which approach best optimizes cost?
Consider which platform charges you only when used and which is better for stateful workloads.
Cloud Run charges per request and scales to zero, reducing cost for variable traffic stateless services. GKE is better for stateful components with autoscaling to optimize resource use.