nerdexam
GoogleGoogle

PROFESSIONAL-CLOUD-ARCHITECT · Question #179

PROFESSIONAL-CLOUD-ARCHITECT Question #179: Real Exam Question with Answer & Explanation

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 exce

Submitted by mike_84· Mar 30, 2026

Question

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 motion sensor that reports its status every second. You want to support the data upload and collection needs of this sensor network. The receiving infrastructure needs to account for the possibility that the devices may have inconsistent connectivity. Which solution should you design?

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

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/

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-ARCHITECT PracticeBrowse All PROFESSIONAL-CLOUD-ARCHITECT Questions