Soru

Zorluk: ZorPlanning and Assessing Cloud Compute Solutions

An enterprise organization is planning to migrate a stateless HTTP web application to Google Cloud. The application is packaged as a custom Docker container image containing specialized binary dependencies, but it does not require low-level Linux kernel modifications or persistent disk storage. Traffic to the application is highly sporadic with unpredictable volume spikes, and the team requires the solution to scale down to zero instances during idle periods to eliminate unnecessary compute costs. The operations team has strictly mandated that infrastructure and server management overhead must be kept to an absolute minimum. Which GCP compute option should you recommend?

  1. Deploy the application container directly to Cloud Run.Cevap
  2. B
    Deploy the application container as a Deployment workload in a Google Kubernetes Engine (GKE) Autopilot cluster.
  3. C
    Deploy the container across a Managed Instance Group (MIG) using Compute Engine Spot VMs with an autoscaling policy.
  4. D
    Refactor the application code into a single Cloud Functions (1st gen) instance.

Cevap

Deploy the application container directly to Cloud Run.
Deploying directly to Cloud Run is correct because Cloud Run is a fully managed serverless execution environment designed specifically for stateless HTTP container workloads. It natively accepts custom Docker images, automatically scales to zero when idle to eliminate cost, and requires zero node or cluster management overhead.

Adım Adım Çözüm

1
Analyze workload characteristics and constraints
The workload is a stateless HTTP service packaged in a custom Docker container, requiring zero instance idle scaling and minimal operational management.
Evaluating containerization, traffic patterns, and operational boundaries determines the appropriate GCP compute paradigm.
2
Compare compute platform capabilities against constraints
Cloud Run natively supports custom Docker containers, automatically scales from zero to handle sporadic traffic spikes, and eliminates all server or cluster administration.
Compute Engine MIGs incur OS patching and management overhead, GKE Autopilot introduces Kubernetes manifest management complexity, and Cloud Functions 1st gen lacks flexible custom container support.
3
Identify the optimal compute platform
Cloud Run fulfills all operational and functional constraints with minimal administrative effort and maximum cost efficiency.
Cloud Run is Google Cloud's recommended serverless platform for stateless containerized web applications.

Anahtar Kavram

Selecting and planning GCP compute options based on operational overhead, containerization, and scaling requirements.
Tahmini Süre:2m 0s
Bu soruyu puanla