Difficult to tell from the video, but could it be a noisy fan? I replaced the fan in my APC UPS recently because the bearings were on their way out and it was causing an intermittent vibration.
But in relation to your original question - how often is 'sometimes'? and for how long is 'a while'?
Does it make this noise when running from mains power, or only during a powercut whilst running from battery?
These UPS tend to perform a self-test periodically - I think mine is configured to do this once per week, and it lasts around a minute. During that time it will be running from battery power, the fan will be running, and there will be noise from the inverter.