You are provisioning a large fleet of low-cost sensors using DPS symmetric key attestation. What is the security best practice for managing the symmetric keys in the device firmware?

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

Correct Answer: Derive a unique device symmetric key using HMAC-SHA256 from the DPS group enrollment primary key, and flash only the unique key to the device

Group enrollments in DPS using symmetric keys should never have their master enrollment key distributed to devices. Instead, you derive a unique SAS key for each device ID using HM...

๐Ÿ“‹Part of Microsoft Certified: Azure IoT Developer Specialty (AZ-220) ยท Azure Certification Practice
Real Exam ScenarioIoT Security

You are provisioning a large fleet of low-cost sensors using DPS symmetric key attestation. What is the security best practice for managing the symmetric keys in the device firmware?

โœ“ Correct Answer & ExplanationIoT Security

Correct Answer

Derive a unique device symmetric key using HMAC-SHA256 from the DPS group enrollment primary key, and flash only the unique key to the device

Why This Answer Is Correct

Group enrollments in DPS using symmetric keys should never have their master enrollment key distributed to devices. Instead, you derive a unique SAS key for each device ID using HMAC-SHA256 and store only the unique derived key on the device.

๐Ÿ“š What This Question Tests

This question evaluates your knowledge of IoT Security โ€” a core concept tested in Microsoft Certified: Azure IoT Developer Specialty (AZ-220). Understanding IoT Security 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.