nerdexam
Microsoft

DP-203 · Question #404

You have an Azure subscription that contains a Microsoft Purview account. You need to search the Microsoft Purview Data Catalog to identify assets that have an assetType property of Table or View…

The correct answer is B. assetType:Table OR assetType:view. Microsoft Purview Data Catalog search uses a field:value syntax where multiple values for the same property are expressed as separate clauses joined by OR.

Submitted by weili_xi· Mar 30, 2026Secure, monitor, and optimize data storage and data processing

Question

You have an Azure subscription that contains a Microsoft Purview account. You need to search the Microsoft Purview Data Catalog to identify assets that have an assetType property of Table or View. Which query should you run?

Options

  • AassetType IN ('Table', 'View')
  • BassetType:Table OR assetType:view
  • CassetType = (Table OR View)
  • DassetType:(Table OR View)

How the community answered

(46 responses)
  • A
    2% (1)
  • B
    83% (38)
  • C
    7% (3)
  • D
    9% (4)

Why each option

Microsoft Purview Data Catalog search uses a field:value syntax where multiple values for the same property are expressed as separate clauses joined by OR.

AassetType IN ('Table', 'View')

The IN operator with parentheses and quoted string literals follows SQL syntax, which is not the query language supported by the Microsoft Purview Data Catalog search interface.

BassetType:Table OR assetType:viewCorrect

Purview Data Catalog search uses Lucene-inspired field-filter syntax in which a property filter is written as field:value. To match assets where assetType is either Table or View, you specify each value as its own clause and combine them with the OR operator, yielding assetType:Table OR assetType:view as the correct, supported query format.

CassetType = (Table OR View)

The equals-sign assignment operator combined with grouped OR (assetType = (Table OR View)) is not valid Purview search query syntax and will not be parsed or evaluated correctly.

DassetType:(Table OR View)

The grouped multi-value shorthand assetType:(Table OR View) uses a Lucene parentheses grouping pattern that Purview Data Catalog search does not support; each value must appear as a separate explicit field:value clause.

Concept tested: Microsoft Purview Data Catalog field:value search query syntax

Source: https://learn.microsoft.com/en-us/purview/how-to-search-catalog

Topics

#Microsoft Purview#Data Catalog#search query syntax#asset discovery

Community Discussion

No community discussion yet for this question.

Full DP-203 Practice