Deploying Applications to Google Cloud :Reliable Google Cloud Infrastructure: Design and Process (Preparing for Google Cloud Certification: Cloud Architect Professional Certificate) Answers 2025
Question 1
Photos uploaded โ use Vision API โ delete inappropriate ones โ want simplest, cheapest deployment.
โ GKE
๐ฉ Cloud Run functions
โ App Engine
โ Compute Engine
Explanation:
Cloud Run functions (Cloud Functions) are ideal for:
-
Event-driven tasks (triggered when an image is uploaded)
-
Very low cost (pay only when executed)
-
No servers to manage
Perfect for Vision API + Cloud Storage triggers.
Question 2
You have Docker containers on Compute Engine and want to reduce cost + simplify container management.
๐ฉ Migrate the containers to GKE.
โ Write Terraform scripts
โ Rewrite apps for Cloud Run functions
โ Rewrite apps for App Engine standard
Explanation:
GKE:
-
Runs Docker containers natively
-
Automates scaling & orchestration
-
Reduces operational overhead
-
Cheaper than running large VM fleets
No need to rewrite apps โ just migrate containers.
Question 3
Existing .NET 4 app โ requires Windows Server โ no code changes.
โ GKE
โ Cloud Run functions
โ App Engine
๐ฉ Compute Engine
Explanation:
Only Compute Engine supports:
-
Windows Server VMs
-
Full control over OS
-
Legacy apps with no modifications
App Engine, GKE, Cloud Run do NOT support .NET Framework 4 on Windows.
๐งพ Summary Table
| Q# | Correct Answer | Key Concept |
|---|---|---|
| 1 | Cloud Run functions | Best for event-driven, serverless, cheap execution |
| 2 | Migrate to GKE | Simplifies Docker management & reduces cost |
| 3 | Compute Engine | Required for Windows/.NET 4 apps |