TestGrid interview question

Regarding Automation Testing and Selenium, TestNG, Java