A page replacement algorithm suffers from Belady's anomaly when it is not a stack algorithm.
- FIFO suffers Belady's anomaly, but not always.
- Random page replacement, it may choose a page to replace in a FIFO manner or in a manner that does not satisfy the stack algorithm. This means it could suffer from Belady's anomaly.
So, the correct answer is $B;D.$