The correct option is D all odd length palindromes
S→ aSa | bSb | a | b
is the grammar corresponding to all odd length palindromes.
Notice that choice (c) is not correct since "abaa" is a string that begins and ends with the same symbol but cannot be generated by above grammar.
Since all strings generates by this grammar have odd length, choices (a) and (d) are also incorrect.