In this scenario, the allele B for a black coat is dominant, and the allele b for a spotted coat is recessive. To have a spotted phenotype, a dog must have two recessive alleles, since the presence of at least one dominant allele (B) would result in a black coat.
Thus, the only genotype that would lead to a spotted phenotype is:
bb
So, the correct response is: bb.