Cloudflare employs CPU-intensive challenges as a security measure to deter malicious bots and automated attacks. These challenges are designed to consume significant computational resources, making it costly for attackers to continue their activities. Legitimate users may experience brief periods of increased CPU usage during these challenges, but this is a trade-off to enhance overall security. By imposing computational costs on potentially harmful traffic, Cloudflare effectively reduces the feasibility of large-scale automated attacks, thereby protecting websites from malicious activities.