Certified quantum non-demolition measurement of a macroscopic material system