Question 1
Topic: MaxCompute
Skill tested: Selects MaxCompute table partitioning and lifecycle strategies for recurring data loads.
A retail analytics team receives a complete daily sales extract and retains detailed records for 18 months. Analysts usually query one or a few dates, and a new daily load must not overwrite prior dates. The team currently stores all rows in one unpartitioned table, causing broad scans and making retention operations difficult. The solution must use MaxCompute table features rather than maintaining separate physical tables for each day. Which design best meets these requirements?
A date-partitioned MaxCompute table aligns storage organization with the dominant query filter, so queries for selected dates can avoid scanning unrelated partitions. Loading each batch into its date partition preserves previous days, and retention can be managed against the required history. Replacing the whole table in B would discard earlier data. Separate daily tables in C add avoidable catalog and query-management overhead. In D, rows in one static partition are not distinguished by the partition value, so date filtering would not provide the intended partition pruning.