Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
Embedded & IoT QASeniorSpecialistScenario

How do rollback, downgrade protection and data compatibility interact in firmware testing?

Answer

A failed candidate should revert to a known-good image, but security policy may forbid vulnerable versions and migrated data may no longer be readable by old firmware. Test version and security counters, image confirmation, forward and backward data schemas, factory recovery and emergency policy. Define which rollback paths are supported before testing them.

Strong answer includes

  • separates reliability rollback from security downgrade
  • tests persistent-data compatibility
  • requires an explicit supported-version policy

Practical example

A device rolls back to its previous firmware after a failed update, exactly as designed. But that previous version stored calibration data in a schema the new firmware had already migrated to a different format, so after rollback the old firmware reads garbage calibration values and the device operates out of spec until someone notices — the reliability rollback worked, but nobody had tested backward data-schema compatibility.

#embedded#rollback#downgrade-protection#compatibility

Sources

MCUboot design documentationMCUboot · Firmware image validation, secure boot, update swaps, rollback and downgrade protectionNIST IR 8259A — IoT Device Cybersecurity Capability Core BaselineNIST · IoT device identity, configuration, data protection, interface access, software update and security-state capabilities