Sample question 2 — Prepare the data
An import model reads from a SQL Server view. The analyst added an index column and several custom columns written in M near the start of the query, and refresh now takes far longer than it did before those steps existed even though the row count has not changed. Which explanation best accounts for the slowdown?
- A. The added steps broke query folding, so the source no longer pushes the work down to SQL Server.
- B. Index columns are stored in a separate partition, so the model must merge partitions during refresh.
- C. Import models re-read the whole view once per column added, so column count now drives refresh time.
- D. Custom columns are always evaluated twice per refresh, which doubles the time that each query takes.
Answer: A. Option A is correct. the added steps broke query folding: the source no longer pushes the work down to SQL Server once a step has no native equivalent, and an index column plus arbitrary M expressions have none, so from there every row streams into the mashup engine and the rest is evaluated locally. Option B is incorrect because custom columns are not evaluated twice by design; the cost here comes from where the logic runs, not from how often it runs. Option C is incorrect because an index is an ordinary output column and creates neither partitions nor a merge step. Option D is incorrect because a folded statement returns every requested field in a single round trip, so adding fields does not multiply reads of the view.
