Plumbing Course video

I was watching the video in section 5 of the InterNACHI Plumbing course. I thought I saw PVC pipe on an exhaust vent pipe and a TPR discharge pipe. Is this permitted?

Not allowed on TPR

It is allowed down here when heat and pressure rated. Kind of yellowish and ALWAYS marked with info. No marking I call it out.