A platform team currently maintains a nightly Lakeflow Job whose only work is to run OPTIMIZE and VACUUM across a schema of Unity Catalog tables. The schema holds both managed tables and several external tables registered over a partner storage path. The team is considering enabling predictive optimization for the schema instead. Which two statements about predictive optimization are correct? (Select TWO.)
- AIt rewrites the clustering keys of each table whenever the query patterns against that table shift, so the team never has to consider which columns to cluster on.
- BIt runs maintenance operations including OPTIMIZE and VACUUM on eligible tables automatically, so the team no longer needs to schedule those statements in a job of its own. Correct
- CIt applies to every table the workspace can see, including tables that still live in the legacy workspace Hive metastore, which lets the team retire the job in one step.
- DIt covers Unity Catalog managed tables, so the external tables in this schema still need their maintenance scheduled by the team rather than being handled for them. Correct
- EIt removes the need for any file retention setting, because it keeps every historical data file so that time travel to any past table version continues to work.
Why A is wrong: Tempting because the feature is described as predictive, but its job is to schedule maintenance operations, not to decide a table's clustering keys for the team.
Why B is correct: Running the file compaction and file cleanup operations on the team's behalf, at times it judges worthwhile, is exactly what the feature is for.
Why C is wrong: This overstates the scope: predictive optimization is a Unity Catalog feature, and tables in the legacy workspace Hive metastore are outside it.
Why D is correct: Eligibility is limited to managed tables, so a schema mixing managed and external tables is only partly covered and the external ones remain the team's responsibility.
Why E is wrong: It is tempting to assume automation makes retention moot, but the feature runs VACUUM, which removes files beyond the retention threshold rather than keeping them all.