Key Point: Data-driven testing = one test method + many data sets. Build reusable utils, centralize DataProviders, and separate config from test data.
Answer all 5 questions, then submit to see your score.
1. What does a TestNG @DataProvider method return?
2. What is the purpose of @Optional in @Parameters?
3. Which library is used to read .xlsx Excel files in Java?
4. How do you share a DataProvider across multiple test classes?
5. What happens when a DataProvider method throws an exception?