Azure Cosmos DB Analytical Store Column Count
You have an Azure subscription that contains an Azure Cosmos DB database. Azure Synapse Link is implemented on the database. You configure a full fidelity schema for the analytical store. You perform the following actions: • Insert {"customerID": 12, "customer": “Tailspin Toys"} as the first document in the container. • Insert {"customerID": "14", "customer": "Contoso"} as the second document in the container. How many columns will the analytical store contain?
Community Votes
100% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
It tests the concept of type preservation in analytical stores; the trap is assuming SQL-like schema enforcement merges types, whereas full fidelity keeps them distinct.
This question tests understanding of Azure Cosmos DB's full fidelity schema in Synapse Link, where different data types for the same field create separate columns. The community consensus is that integer and string versions of 'customerID' plus 'customer' result in three columns.
Option B (2 columns) is incorrect because it assumes 'customerID' is a single column regardless of whether the value is an integer or a string, ignoring the full fidelity requirement.
Community Discussion (6 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
With Azure Synapse Link's full fidelity schema enabled, the analytical store preserves the exact data types from the operational store. Since the first document hascustomerID as an integer and the second has it as a string, these are stored in two separate columns to maintain type integrity. The customer field is consistently a string, resulting in one column for it. Thus, there are three columns total: customerID_int, customerID_string, and customer_string.Why the Other Options Are Wrong
Options A and B fail to account for the type separation required by full fidelity. Option D suggests too many columns, perhaps counting metadata or other hidden fields not relevant to the user-defined schema. The key is recognizing that inconsistent typing within a single logical field creates multiple physical columns in the analytical store.Community Comment Notes
Comment [1] provides the clearest explanation, noting that different types for the same field are stored separately. Comment [2] breaks down the specific column names effectively. Comment [3] links to official documentation confirming Spark manages datatypes as columns. Comments [4], [5], and [6] reinforce the reasoning that the datatype change triggers the third column.Official Reference
Exam Strategy
When dealing with 'full fidelity' or 'schema-on-read' concepts in Cosmos DB, always check for data type inconsistencies. If a field varies in type across documents, assume each unique type generates a separate column in the analytical store.