70-466 · Question #18
You need to configure the appropriate query mode. Which query mode should you select?
The correct answer is A. In-Memory with DirectQuery. SSAS tabular In-Memory with DirectQuery mode resolves queries from the in-memory cache by default, satisfying the requirement to maximize cache-based performance while retaining DirectQuery as a fallback.
Question
Options
- AIn-Memory with DirectQuery
- BDirectQuery with In-Memory
- CDirectQuery
- DIn-Memory
How the community answered
(55 responses)- A85% (47)
- B5% (3)
- C7% (4)
- D2% (1)
Why each option
SSAS tabular In-Memory with DirectQuery mode resolves queries from the in-memory cache by default, satisfying the requirement to maximize cache-based performance while retaining DirectQuery as a fallback.
In-Memory with DirectQuery sets in-memory cache as the primary query resolution path, delivering the highest query performance through cached data. When a query cannot be resolved from cache or DirectQuery is explicitly required, the engine falls back to the relational source - matching the stated requirement that queries use cache unless otherwise necessary.
DirectQuery with In-Memory reverses the priority, making the relational database the primary query target and using in-memory cache only as a secondary option, which does not prioritize cache-based performance.
DirectQuery mode routes all queries directly to the relational data source and never uses the in-memory cache, completely failing the requirement to resolve queries from cache.
In-Memory only mode uses exclusively the in-memory cache and provides no DirectQuery fallback capability, so it cannot serve queries that require direct relational source access.
Concept tested: SSAS tabular In-Memory vs DirectQuery query mode selection
Source: https://learn.microsoft.com/en-us/analysis-services/tabular-models/directquery-mode-ssas-tabular
Topics
Community Discussion
No community discussion yet for this question.