D major is a major scale based on D. Its key signature has two sharps .
Its key signature consists of two sharps .