Does the friction force act on the cabinet in the room? If so, which one?

If the floor were strictly horizontal, there would be no friction force on the cabinet, since there would be no force tending to move the cabinet. In reality, the floor is never strictly horizontal, therefore the static friction force acts on the cabinet, but its value is small compared to other forces acting on the cabinet (gravity and elastic force).

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.