What is the "proper way" to parent a Virtual Camera to a moving object?

in sequencer, if the vehicle and the camera are both tracks in it
you can add an attach track to the camera, and choose the vehicle
it will parent the camera to the vehicle’s local space