You are building a smart building solution using Azure Digital Twins. You need to model the physical hierarchy: Building → Floor → Room → Sensor. Each room must know its current temperature from its sensors. Which Azure Digital Twins concept represents this hierarchy?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Create separate DTDL models for each entity type and use DTDL Relationships to link them

Azure Digital Twins uses DTDL (Digital Twins Definition Language) to define models. Each entity (Building, Floor, Room, Sensor) is a separate DTDL model. Relationships in DTDL link...

📋Part of Microsoft Certified: Azure IoT Developer Specialty (AZ-220) · Azure Certification Practice
Real Exam ScenarioAzure Digital Twins

You are building a smart building solution using Azure Digital Twins. You need to model the physical hierarchy: Building → Floor → Room → Sensor. Each room must know its current temperature from its sensors. Which Azure Digital Twins concept represents this hierarchy?

✓ Correct Answer & ExplanationAzure Digital Twins

Correct Answer

Create separate DTDL models for each entity type and use DTDL Relationships to link them

Why This Answer Is Correct

Azure Digital Twins uses DTDL (Digital Twins Definition Language) to define models. Each entity (Building, Floor, Room, Sensor) is a separate DTDL model. Relationships in DTDL link instances together, creating a navigable graph that mirrors the physical hierarchy. This enables graph queries across the entire building model.

📚 What This Question Tests

This question evaluates your knowledge of Azure Digital Twins — a core concept tested in Microsoft Certified: Azure IoT Developer Specialty (AZ-220). Understanding Azure Digital Twins is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.