nerdexam
Microsoft

70-466 · Question #32

You are developing a SQL Server Analysis Services (SSAS) tabular database. To maximize performance, queries must be resolved only by using cache. You need to configure the appropriate query mode. Whic

The correct answer is B. In-Memory. In SSAS Tabular, In-Memory mode stores all data compressed in RAM using the VertiPaq engine, ensuring all queries are served exclusively from cache with no live source fallback.

Build a tabular data model

Question

You are developing a SQL Server Analysis Services (SSAS) tabular database. To maximize performance, queries must be resolved only by using cache. You need to configure the appropriate query mode. Which query mode should you select?

Options

  • ADirectQuery with In-Memory
  • BIn-Memory
  • CIn-Memory with DirectQuery
  • DDirectQuery

How the community answered

(55 responses)
  • A
    7% (4)
  • B
    87% (48)
  • C
    2% (1)
  • D
    4% (2)

Why each option

In SSAS Tabular, In-Memory mode stores all data compressed in RAM using the VertiPaq engine, ensuring all queries are served exclusively from cache with no live source fallback.

ADirectQuery with In-Memory

DirectQuery with In-Memory designates DirectQuery as the primary mode while permitting some cached results, meaning queries can bypass the cache and go directly to the relational source.

BIn-MemoryCorrect

In-Memory mode uses the VertiPaq in-memory analytics engine to store all data compressed in RAM. Every query is resolved entirely from the in-memory cache with no DirectQuery fallback possible, which directly satisfies the requirement that queries must be resolved only by using cache.

CIn-Memory with DirectQuery

In-Memory with DirectQuery sets In-Memory as the primary mode but still permits DirectQuery fallback for queries or partitions that require it, so not all queries are guaranteed to be resolved from cache.

DDirectQuery

DirectQuery mode bypasses the in-memory cache entirely and sends all queries directly to the relational data source at query time.

Concept tested: SSAS Tabular In-Memory vs DirectQuery query modes

Source: https://learn.microsoft.com/en-us/analysis-services/tabular-models/directquery-mode-ssas-tabular

Topics

#query mode#In-Memory#DirectQuery#tabular performance

Community Discussion

No community discussion yet for this question.

Full 70-466 Practice