A company stores customer records in a relational table with columns like CustomerID, Name, and Email. Product reviews are stored as JSON documents, and marketing images are stored as PNG files. Which of the following correctly orders these data types from most structured to least structured?
Customer records in a relational table are strictly structured (fixed schema), product reviews as JSON are semi-structured (schema-on-read), and marketing images are unstructured (binary files). This is the correct order from most to least structured.
Why this answer
Customer records in a relational table have a fixed schema with defined columns (e.g., CustomerID, Name, Email), making them the most structured. Product reviews stored as JSON documents are semi-structured because they have a flexible schema with key-value pairs but no fixed columns. Marketing images as PNG files are unstructured binary data with no inherent schema.
Option B correctly orders these from most to least structured.
Exam trap
The trap here is that candidates often confuse semi-structured JSON with unstructured data, or assume that any file format (like PNG) has inherent structure, leading them to misorder the data types by perceived complexity rather than schema rigidity.
Why the other options are wrong
Product reviews as JSON documents are semi-structured, not more structured than relational customer records. The order should be from most structured (relational) to least structured (unstructured images), so customer records must come first.
Marketing images (unstructured binary files) are the least structured, not the most. Customer records (relational table) are most structured, followed by product reviews (semi-structured JSON), then images (unstructured).
Marketing images (PNG) are unstructured binary data, not more structured than JSON product reviews. The correct order is relational (most structured) > JSON (semi-structured) > images (unstructured).