This video by Autodesk Certified Instructor for Maya Andrew Klein introduces the basics of creating an ambient occlusion (AO) render pass/layer. This tutorial also looks at excluding elements from render layers, and also how to do some specific render settings overrides.