Stop iCloud to sync with a specific file

Solution 1:

Add .nosync to the file (before the extension).

HugeFile.nosync.pdf

An icon (crossed out cloud) will indicate the exclusion.