This question is part of a case study — click to read the full scenario(Case 16)
CASE STUDY: AutoMakers Inc
Company Overview:
AutoMakers Inc is a global vehicle manufacturer. They have recently launched a line of connected cars.
Current Technical Environment:
- 1 million connected cars currently on the road
- Cars send telemetry data (speed, engine temp, location) every 5 seconds
- Current on-premises MQTT brokers are crashing under the load
Business Requirements:
- Enable predictive maintenance to alert drivers before parts fail
- Provide real-time fleet tracking for commercial customers
- Support over-the-air (OTA) software updates
Executive Statements:
- CEO: "Data is our new revenue stream. We need to monetize this telemetry data."
- CTO: "We expect to have 10 million connected cars in 3 years. The architecture must scale infinitely without manual intervention."
- CFO: "The cost of ingesting and storing this data must be strictly controlled. We cannot pay for idle capacity."
Technical Requirements:
- Ingest up to 100,000 messages per second
- Low-latency processing for real-time alerts
- Time-series data storage for historical analysis
- Handle variable network connectivity (cars driving through tunnels)
Constraints:
- Strict budget for data ingestion
- Small data engineering team
QUESTION:
To meet the CTO's requirement for infinite scaling and the technical requirement to ingest 100,000 messages per second, which ingestion and processing pipeline should you design?
GCP PCA · Question 19 · Domain 4: Analyzing and Optimizing Technical and Business Processes
CASE STUDY: AutoMakers Inc
Company Overview:
AutoMakers Inc is a global vehicle manufacturer. They have recently launched a line of connected cars.
Current Technical Environment:
- 1 million connected cars currently on the road
- Cars send telemetry data (speed, engine temp, location) every 5 seconds
- Current on-premises MQTT brokers are crashing under the load
Business Requirements:
- Enable predictive maintenance to alert drivers before parts fail
- Provide real-time fleet tracking for commercial customers
- Support over-the-air (OTA) software updates
Executive Statements:
- CEO: "Data is our new revenue stream. We need to monetize this telemetry data."
- CTO: "We expect to have 10 million connected cars in 3 years. The architecture must scale infinitely without manual intervention."
- CFO: "The cost of ingesting and storing this data must be strictly controlled. We cannot pay for idle capacity."
Technical Requirements:
- Ingest up to 100,000 messages per second
- Low-latency processing for real-time alerts
- Time-series data storage for historical analysis
- Handle variable network connectivity (cars driving through tunnels)
Constraints:
- Strict budget for data ingestion
- Small data engineering team
QUESTION:
The operations team needs to be alerted if the number of unacknowledged messages in the Pub/Sub subscription exceeds 500,000, indicating a processing bottleneck. How should you configure this?
CASE STUDY: AutoMakers Inc
Company Overview:
AutoMakers Inc is a global vehicle manufacturer. They have recently launched a line of connected cars.
Current Technical Environment:
- 1 million connected cars currently on the road
- Cars send telemetry data (speed, engine temp, location) every 5 seconds
- Current on-premises MQTT brokers are crashing under the load
Business Requirements:
- Enable predictive maintenance to alert drivers before parts fail
- Provide real-time fleet tracking for commercial customers
- Support over-the-air (OTA) software updates
Executive Statements:
- CEO: "Data is our new revenue stream. We need to monetize this telemetry data."
- CTO: "We expect to have 10 million connected cars in 3 years. The architecture must scale infinitely without manual intervention."
- CFO: "The cost of ingesting and storing this data must be strictly controlled. We cannot pay for idle capacity."
Technical Requirements:
- Ingest up to 100,000 messages per second
- Low-latency processing for real-time alerts
- Time-series data storage for historical analysis
- Handle variable network connectivity (cars driving through tunnels)
Constraints:
- Strict budget for data ingestion
- Small data engineering team
QUESTION:
The operations team needs to be alerted if the number of unacknowledged messages in the Pub/Sub subscription exceeds 500,000, indicating a processing bottleneck. How should you configure this?
Answer options:
Write a Cloud Function that queries the Pub/Sub API every minute and sends an email if the count is high.
Create an alerting policy in Cloud Monitoring based on the pubsub.googleapis.com/subscription/num_undelivered_messages metric.
Configure Cloud Logging to search for 'bottleneck' errors in the Dataflow logs.
Enable Pub/Sub dead-letter topics and alert when messages are sent there.
How to approach this question
Full Answer
Common mistakes
Practice the full GCP Professional Cloud Architect Practice Exam 3
50 questions · hints · full answers · grading
Expert