nerdexam
Microsoft

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.

Build a tabular data model

Question

You need to configure the appropriate query mode. Which query mode should you select?

Options

  • AIn-Memory with DirectQuery
  • BDirectQuery with In-Memory
  • CDirectQuery
  • DIn-Memory

How the community answered

(55 responses)
  • A
    85% (47)
  • B
    5% (3)
  • C
    7% (4)
  • D
    2% (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.

AIn-Memory with DirectQueryCorrect

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.

BDirectQuery with In-Memory

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.

CDirectQuery

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.

DIn-Memory

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

#query mode#In-Memory with DirectQuery#cache priority#DirectQuery fallback

Community Discussion

No community discussion yet for this question.

Full 70-466 Practice