Answer:
A. The lights were a nice effect for the show. - effect is used as a noun as it should be.
B. affect
C. effect
D. effect.
An easy way to know is by checking if the word should be a noun or verb. Effect is a noun and Affect is a verb, so make sure they are used accordingly.