Medium1 markMultiple Choice
Subtask 2.3: Compute SystemsIntegrationPub/SubAsynchronousCloud Run
This question is part of a case study — click to read the full scenario(Case 06)

CASE STUDY: RetailMart

Overview:
Industry: Retail/E-commerce
Size: 2000 employees, $500M revenue

Environment:

  • Monolithic Java app on VMware
  • Oracle RAC DB
  • F5 Load Balancers
  • 10 Gbps Direct Connect to AWS

Requirements:

  • CapEx to OpEx
  • Handle 10x Black Friday traffic
  • Personalized recommendations
  • Modernize without impacting sales

Exec Statements:

  • CEO: Omnichannel experience.
  • CFO: Predictable costs, no hardware refresh.
  • CTO: Break monolith, but Oracle DB stays on-prem for 2 years.

Tech Reqs:

  • Zero downtime deployments
  • PCI-DSS compliance
  • Image processing pipeline
  • Async order processing

Constraints:

  • Hybrid architecture required
  • Team knows Spring Boot, zero Kubernetes exp
  • 6-month timeline

QUESTION: The CTO requires the Oracle database to remain on-premises while the application moves to GCP. Which hybrid connectivity solution should you implement to ensure high throughput and low latency?

GCP PCA · Question 09 · Compute Systems

CASE STUDY: RetailMart

Overview:
Industry: Retail/E-commerce
Size: 2000 employees, $500M revenue

Environment:

  • Monolithic Java app on VMware
  • Oracle RAC DB
  • F5 Load Balancers
  • 10 Gbps Direct Connect to AWS

Requirements:

  • CapEx to OpEx
  • Handle 10x Black Friday traffic
  • Personalized recommendations
  • Modernize without impacting sales

Exec Statements:

  • CEO: Omnichannel experience.
  • CFO: Predictable costs, no hardware refresh.
  • CTO: Break monolith, but Oracle DB stays on-prem for 2 years.

Tech Reqs:

  • Zero downtime deployments
  • PCI-DSS compliance
  • Image processing pipeline
  • Async order processing

Constraints:

  • Hybrid architecture required
  • Team knows Spring Boot, zero Kubernetes exp
  • 6-month timeline

QUESTION: How should you design the asynchronous order processing system to ensure no orders are lost during Black Friday spikes?

Answer options:

A.

Write orders directly to the on-premises Oracle database using synchronous REST APIs.

B.

Publish orders to a Pub/Sub topic and use push subscriptions to trigger Cloud Run services.

C.

Store orders in an in-memory Memorystore (Redis) cache and run a cron job to process them hourly.

D.

Use Cloud Tasks to execute synchronous HTTP calls to the inventory service.

How to approach this question

Identify the GCP service designed for decoupled, highly scalable asynchronous messaging.

Full Answer

B.Publish orders to a Pub/Sub topic and use push subscriptions to trigger Cloud Run services.✓ Correct
Cloud Pub/Sub is a globally distributed message bus that decouples senders and receivers. By placing Pub/Sub between the frontend and the backend order processors, you protect the backend (and the on-prem database) from traffic spikes. Pub/Sub retains messages until they are successfully acknowledged.

Common mistakes

Choosing synchronous APIs (A), which creates tight coupling and leads to cascading failures under heavy load.

Practice the full GCP Professional Cloud Architect Practice Exam 6

50 questions · hints · full answers · grading

More questions from this exam