Cyderes interview question

Explain how device templates and device groups work in Panorama