It is possible to defend the corner group with . But before , makes a kikashi so that the bottom group has two eyes as well.
If white tries to kill the left side group, then black can play at to connect both groups. White can play at a to capture one black stone, but all the other black stones are alive.