Capgemini interview question

About Selenium commands with dynamic inputs for elements...