A company stores raw CSV files in an AWS S3 bucket that is managed by their data platform team. A data engineer wants to register this S3 location as a table in Unity Catalog so that if the table is dropped, the CSV files are NOT deleted. Which table type should the engineer create?
- A. An external table pointing to the S3 path✓ Correct
- B. A managed table pointing to the S3 path
- C. A materialized view over the S3 path
- D. A Delta Live Tables dataset backed by the S3 path
Explanation
An external table in Unity Catalog is backed by a user-specified storage location (like an S3 path). When an external table is dropped, only the metadata is removed from the metastore; the underlying data files at the external location are left intact. This is exactly the behavior required. A managed table would cause data files to be deleted when the table is dropped, which violates the requirement. A Delta Live Tables dataset is a pipeline construct and is not the same as directly registering a pre-existing CSV location as a table. A materialized view is a computed, read-only object derived from a query — it does not directly map raw CSV files from an external path as a regular queryable table.