The correct answer is D. File-level metadata of all data files in an internal or external stage .
A Snowflake directory table is associated with a stage and stores file-level metadata for files in that stage. It lets users query staged file information using SQL.
Why D is correct:
Directory tables hold metadata about staged files, such as file name, relative path, size, last modified time, and file URL information.
Example concept:
SELECT *
FROM DIRECTORY(@my_stage);
This returns metadata for files in the stage associated with the directory table.
Why the other options are incorrect:
A. Directory tables do not store metadata about views in a schema.
B. Directory tables do not store metadata about regular Snowflake tables in a schema.
C. Directory tables do not store clustering key metadata.
Official Snowflake documentation reference:
Snowflake documentation describes directory tables as objects that store file-level metadata about staged files in cloud storage.
[Reference: Snowflake Documentation — Directory tables; Snowflake Documentation — Stages; SnowPro Core Study Guide — Data Loading and Unloading., ==]