Answer:
When you identify a key signature you're looking at the beginning of the music where you see the table clef, or bass clef etc... and next to it, there is sharps or flats. The sharps and flats determine what key signature the music is in. Here is a graph that helped me when I was in choir, ik it looks confusing but I hope it kind of helps.