DP-300 practice question 4 of 35

You need to identify the event_flle target for monitonng DB3 after the migration to Azure SQL Database. The solution must meet the management requirements, What should you use as the event_file target?

Full set: 407 questions

Domain Monitor, configure, and optimize database resources

Answer options
A: an Azure SQL database
B: an Azure Blob Storage container Correct answer
C: a SQL Server filegroup
D: an Azure Files share
Correct Answer:
B. an Azure Blob Storage container
Explanation

In Azure SQL Database, the database engine does not have access to a local file system like an on-premises SQL Server instance. Therefore, when using the eventfile target for an Extended Events session, the output must be written to an external location. The officially supported and integrated storage location for the eventfile target in Azure SQL Database is an Azure Blob Storage container. You must provide a URL to a blob container when defining the event session target.

Why Incorrect

A. an Azure SQL database: An Azure SQL database is not a valid target type for Extended Events files. The eventfile target writes to a file system or blob storage, not into another database.
C. a SQL Server filegroup: A filegroup is a logical construct within a database for organizing data files (.mdf, .ndf). It is not a destination for Extended Events session output.
D. an Azure Files share: While Azure Files provides file shares, the eventfile target in Azure SQL Database is specifically engineered to write to Azure Blob Storage, not an SMB-based Azure Files share.

References

1. Microsoft Learn

Extended events in Azure SQL Database and Azure SQL Managed Instance. Under the section "Event file target

" it explicitly states

"The eventfile target writes buffers to an Azure Storage container." The T-SQL example provided also demonstrates using a blob storage URL.

Section: Event file target

2. Microsoft Learn

CREATE EVENT SESSION (Transact-SQL). In the arguments section for ADD TARGET

the description for filename when used with Azure SQL Database specifies the format as a URL to Azure Blob Storage: 'https://.blob.core.windows.net//'.

Section: Arguments -> ADD TARGET ... -> package0.eventfile -> filename

Scroll to Top