Hard1 markMultiple Choice

GCP PCA · Question 11 · Technical Requirements

CASE STUDY: TerramEarth

Company Overview: TerramEarth manufactures heavy equipment. 2 million vehicles in the field.
Current Environment: Vehicles send telemetry via cellular. Processing 100,000 msgs/sec. On-prem Hadoop cluster.
Business Requirements: Predict equipment failure. Reduce warranty costs. Provide fleet dashboard.
Executive Statements: CEO: 'Monetize data.' CFO: 'Storage costs spiraling.' CTO: 'Need scalable ingestion and ML.'
Technical Requirements: Ingest 500,000 msgs/sec. Store petabytes cost-effectively. Train ML models. Real-time anomaly detection.
Constraints: Intermittent connectivity. Strict vehicle authentication.

QUESTION:
Which architecture should you design to handle the ingestion of 500,000 messages per second from vehicles with intermittent connectivity?

Answer options:

A.

Send messages directly to Cloud SQL using REST APIs.

B.

Deploy an MQTT broker on GKE behind a Network Load Balancer, forwarding messages to Cloud Pub/Sub.

C.

Use Cloud Storage to receive CSV files uploaded by the vehicles every hour.

D.

Use Cloud Functions to process each message synchronously and write to Bigtable.

How to approach this question

Look for a highly scalable ingestion buffer capable of handling massive throughput (500k/sec) and standard IoT protocols (MQTT).

Full Answer

B.Deploy an MQTT broker on GKE behind a Network Load Balancer, forwarding messages to Cloud Pub/Sub.✓ Correct
Deploy an MQTT broker on GKE behind a Network Load Balancer, forwarding messages to Cloud Pub/Sub.
With the deprecation of Google Cloud IoT Core, the recommended architecture for high-throughput IoT ingestion is to run a scalable MQTT broker on GKE. The broker handles device connections and intermittent connectivity, then forwards the messages to Cloud Pub/Sub. Pub/Sub easily scales to handle 500,000 messages per second.

Common mistakes

Choosing Cloud Functions for direct ingestion, which cannot handle the connection pooling or throughput efficiently.

Practice the full GCP Professional Cloud Architect Practice Exam 1

50 questions · hints · full answers · grading

More questions from this exam