Combine the files: Run the OPTIMIZE command on a schedule
Q: 15
You have a Fabric tenant.
You are creating a Fabric Data Factory pipeline.
You have a stored procedure that returns the number of active customers and their average sales for
the current month.
You need to add an activity that will execute the stored procedure in a warehouse. The returned
values must be available to the downstream activities of the pipeline.
Which type of activity should you add?
Options
Discussion
Remove the files: Run the VACUUM command on a schedule
Combine the files: Run the OPTIMIZE command on a schedule
Combine the files: Run the OPTIMIZE command on a schedule
Remove the files: Run the VACUUM command on a schedule, Combine the files: Run the OPTIMIZE command on a schedule. VACUUM actually deletes those unused files out of Delta storage, which helps keep things clean. OPTIMIZE is designed to bin-pack small files up to around 1GB, perfect for their combine-files requirement. I’m pretty sure this is what Microsoft wants, unless they change default behaviors in Fabric.
Remove the files: Run the VACUUM command on a schedule, Combine the files: Run the OPTIMIZE command on a schedule. autoCompact is tempting but doesn't hit that 1GB file size like OPTIMIZE. If anyone disagrees, let me know but that's how I've seen it on practice sets.
Remove the files: Run the VACUUM command on a schedule, Combine the files: Run the OPTIMIZE command on a schedule. If retention policies or write patterns were changed, that might flip it, but for this default setup, pretty sure that's what the exam wants. Someone correct me if they've seen an odd variation on this.
Remove the files: Run the VACUUM command on a schedule, Combine the files: Run the OPTIMIZE command on a schedule. That's how I'd map it since VACUUM handles cleanup and OPTIMIZE gets you those big 1GB files. Pretty sure that's what Microsoft's aiming for-let me know if anyone disagrees.
A tbh
Nah, I don’t think autoCompact is right for combining here-trap option! Should be Remove: Run the VACUUM command on a schedule, Combine: Run the OPTIMIZE command on a schedule. Seen similar in exam reports.
Remove the files: Run the VACUUM command on a schedule, Combine the files: Run the OPTIMIZE command on a schedule. VACUUM clears unused data, OPTIMIZE bins small files into 1GB chunks which matches what they want. Pretty sure that's what Microsoft expects here, but open to corrections if I'm missing something subtle.
Set the autoCompact table setting for combining, VACUUM command for removing. I've seen similar question formats in practice sets and this mapping seemed expected, but honestly Fabric documentation sometimes makes these settings sound interchangeable.
Remove the files: Run the VACUUM command on a schedule, Combine the files: Set the autoCompact table setting
Be respectful. No spam.
Question 15 of 25