Rivian Interview Question

How do you measure efficiency of a AC source to DC load?