It's not the CPU I really don't think a CPU can make sound it's all electronic. There's no moving mechanical parts to make noise. The only noise that can come from the CPU is the fan. It's probably the HDD and I wouldn't worry about it.
if the hard drive is making noisy thats not good. especially since this is a new computer. that noise could be the head sticking which is not good or ideal.
OP id talk to whoever you bought the computer from and see what they want to do. get this worked out before any warranties end.