Slalom interview question

Build a database for an IOT network