PROFESSIONAL-CLOUD-ARCHITECT · Question #179
Your company wants to track whether someone is present in a meeting room reserved for a scheduled meeting. There are 1000 meeting rooms across 5 offices on 3 continents. Each room is equipped with a…
The correct answer is C. Have devices poll for connectivity to Cloud Pub/Sub and publish the latest messages on a regular. A is not correct because having a persistent connection does not handle the case where the device is disconnected. B is not correct because Cloud SQL is a relational database and not the best fit for sensor data. Additionally, the frequency of the writes has the potential to…
Question
Options
- AHave each device create a persistent connection to a Compute Engine instance and write
- BHave devices poll for connectivity to Cloud SQL and insert the latest messages on a regular
- CHave devices poll for connectivity to Cloud Pub/Sub and publish the latest messages on a regular
- DHave devices create a persistent connection to an App Engine application fronted by Cloud
How the community answered
(46 responses)- A13% (6)
- B4% (2)
- C76% (35)
- D7% (3)
Explanation
A is not correct because having a persistent connection does not handle the case where the device is disconnected. B is not correct because Cloud SQL is a relational database and not the best fit for sensor data. Additionally, the frequency of the writes has the potential to exceed the supported number of concurrent connections. C is correct because Cloud Pub/Sub can handle the frequency of this data, and consumers of the data can pull from the shared topic for further processing. D is not correct because having a persistent connection does not handle the case where the device is disconnected. https://cloud.google.com/sql/ https://cloud.google.com/pubsub/
Topics
Community Discussion
No community discussion yet for this question.