QuestionQ101

Deploying applications

You work for a rapidly expanding financial-technology startup. You manage a Go-based payment-processing application hosted on Cloud Run in the Singapore region (asia-southeast1). The payment-processing application handles data stored in a Cloud Storage bucket that is likewise in the Singapore region.

The startup plans to expand further across the Asia Pacific region. You intend to deploy the Payment Gateway in Jakarta, Hong Kong, and Taiwan during the next six months. Each location has data-residency requirements requiring customer data to remain in the country where the transaction occurred. You want to minimize the cost of these deployments. What should you do?

  • A Create a Cloud Storage bucket in each region, and create a Cloud Run service of the payment processing application in each region.
  • B Create a Cloud Storage bucket in each region, and create three Cloud Run services of the payment processing application in the Singapore region.
  • C Create three Cloud Storage buckets in the Asia multi-region, and create three Cloud Run services of the payment processing application in the Singapore region.
  • D Create three Cloud Storage buckets in the Asia multi-region, and create three Cloud Run revisions of the payment processing application in the Singapore region.
Explanation

Cloud Run services reside in a selected region, and customer data associated with a service is stored in that region. Regional Cloud Storage buckets place object data in their chosen region. Deploying a bucket and a Cloud Run service in each transaction country meets country-specific data residency and keeps processing colocated with its data, avoiding cross-region access costs. The Cloud Storage ASIA multi-region explicitly excludes Hong Kong and Indonesia, so it cannot satisfy the Jakarta and Hong Kong residency requirements.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!