The correct answer is D. perfectly confident.
Kunika was cocksure that she was able to do the job as desired. This means that she was very confident in her abilities and was not worried about whether or not she would be able to complete the task.
The other options are incorrect because they do not accurately describe Kunika's state of mind. A. doubtful means to be uncertain or unsure of something. B. not able to imagine means to be unable to picture something in one's mind. C. least worried means to be the least concerned about something.
Kunika was not doubtful, not unable to imagine, and not least worried about whether or not she would be able to do the job as desired. She was perfectly confident in her abilities.