GCP Professional Cloud Architect Practice Question
Your organization has 50 Java microservices currently deployed as unmanaged VMs on Compute Engine. The CTO wants an architecture that will let individual services adopt new Google Cloud runtimes, such as Cloud Run or other services that may be released in the future, with minimal code changes. Operational effort must drop immediately, and the team wants to keep its existing CI/CD tooling but is willing to modernize packaging. What should you implement first to best meet these goals?
Replace every microservice with individual Cloud Functions triggered by HTTP, rewriting code to the function signature.
Rewrite all microservices into a single App Engine flexible environment application to abstract the infrastructure layer.
Containerize each microservice and deploy them on Google Kubernetes Engine with Anthos Service Mesh, storing the images in Artifact Registry.
Keep the services on Compute Engine but standardize custom VM images and use OS patch management for lower maintenance.
Containerizing each microservice decouples the application code from the underlying host, giving every service a well-defined contract: a container image. Deploying those images to Google Kubernetes Engine immediately reduces operational toil through managed control planes and autoscaling, while still letting the team use its current CI/CD system to build and push images to Artifact Registry. Adding Anthos Service Mesh further separates traffic management and observability concerns from the workloads, so services can later move-one at a time-to Cloud Run, Cloud Run for Anthos, or future Google Cloud compute products that accept OCI-compatible containers without significant refactoring.
Migrating to a single App Engine application removes modularity and would require a second major rewrite to adopt other runtimes later. Relying on improved VM images keeps the tight VM dependency and doesn't facilitate easy porting to newer services. Rewriting everything as Cloud Functions forces a large up-front rewrite and may not fit all microservice patterns, reducing flexibility for future options.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Anthos Service Mesh and why is it important?
Open an interactive chat with Bash
What benefits does containerization provide for microservices?
Open an interactive chat with Bash
What role does Artifact Registry play in this architecture?
Open an interactive chat with Bash
What is Anthos Service Mesh?
Open an interactive chat with Bash
What is Artifact Registry and how does it support the architecture?
Open an interactive chat with Bash
Why are containers better for modernizing microservices?
Open an interactive chat with Bash
GCP Professional Cloud Architect
Designing and planning a cloud solution architecture
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .