Visual inspection plus OBD scan.
BAR-licensed smog inspection station.
Cite this answer — stable link: smoganswers.com/q/i-have-to-smog-my-car-how-does-it-work/#answer