Soru

Zorluk: KolaySelecting and Designing Compute and Application Platforms

An enterprise organization is planning to deploy two new stateless workloads to Google Cloud with the goal of minimizing operational overhead and infrastructure management:

1. A RESTful web microservice packaged as a Docker container that handles HTTP traffic.
2. A small, lightweight event handler that executes code automatically whenever a file is uploaded to a Cloud Storage bucket.

Which TWO Google Cloud compute platforms should the cloud architect select to host these workloads according to Google recommended practices?

  1. Deploy the containerized RESTful web microservice on Cloud Run.Cevap
  2. Deploy the file upload event handler using Cloud Functions.Cevap
  3. C
    Provision a Google Kubernetes Engine (GKE) cluster with dedicated node pools to run both workloads.
  4. D
    Create Compute Engine virtual machine instances with custom bash scripts to poll Cloud Storage and serve HTTP endpoints.

Cevap

The cloud architect should deploy the containerized RESTful web microservice on Cloud Run and deploy the file upload event handler using Cloud Functions.
For stateless containerized HTTP microservices, Cloud Run provides a serverless platform that automatically scales containers to zero and handles infrastructure management. For event-driven execution responding to Cloud Storage events, Cloud Functions offers direct integration without needing persistent server management, achieving minimal operational overhead for both requirements.

Adım Adım Çözüm

1
Analyze workload 1 requirements
Workload 1 is a stateless HTTP microservice packaged in a Docker container.
Cloud Run is the optimal Google Cloud serverless compute platform for containerized stateless web applications.
2
Analyze workload 2 requirements
Workload 2 is a lightweight event handler triggered by Cloud Storage file uploads.
Cloud Functions natively integrates with Cloud Storage events to execute code on-demand without server management.
3
Evaluate operational overhead constraint
Both Cloud Run and Cloud Functions are fully managed serverless compute services requiring zero cluster management.
This minimizes operational maintenance compared to managing Kubernetes clusters or virtual machine instances.

Anahtar Kavram

Selecting Serverless Compute Platforms for Stateless and Event-Driven Workloads
Bu soruyu puanla