PROFESSIONAL-CLOUD-DEVELOPER · Question #329
You work for an environmental agency in a large city. You are developing a new monitoring platform that will capture air quality readings from thousands of locations in the city. You want the air qual
The correct answer is D. 1 Run the air quality devices' backends in a managed instance group.. The goal is to minimize TTFB for thousands of geographically distributed IoT devices using curl (HTTP) against a single-region backend on Premium Tier networking. A Global External HTTP(S) Load Balancer with a managed instance group is the optimal setup: the load balancer uses gl
Question
You work for an environmental agency in a large city. You are developing a new monitoring platform that will capture air quality readings from thousands of locations in the city. You want the air quality reading devices to send and receive their data payload to the newly created RESTful backend systems every minute by using a curl command. The backend systems are running in a single cloud region and are using Premium Tier networking. You need to connect the devices to the backend while minimizing the daily average latency, measured by using Time to First Byte (TTFB). How should you build this service?
Options
- A
- Run the air quality devices' backends on Compute Engine VMs.
- B
- Run the air quality devices' backends on Compute Engine VMs.
- C
- Run the air quality devices' backends in a managed instance group.
- D1 Run the air quality devices' backends in a managed instance group.
How the community answered
(52 responses)- A8% (4)
- B4% (2)
- C17% (9)
- D71% (37)
Explanation
The goal is to minimize TTFB for thousands of geographically distributed IoT devices using curl (HTTP) against a single-region backend on Premium Tier networking. A Global External HTTP(S) Load Balancer with a managed instance group is the optimal setup: the load balancer uses global anycast, so each device's TCP connection terminates at the nearest Google Point of Presence (PoP) worldwide. The request then travels over Google's private, low-latency Premium Tier backbone network to the backend region - dramatically reducing TTFB compared to the device routing over the public internet all the way to the backend. A regional load balancer (options A/B/C) would force all traffic to traverse the public internet to the backend region, increasing latency for distant devices.
Topics
Community Discussion
No community discussion yet for this question.