The Ethics of Online Test Questions

If the goal is to learn the material … then why shouldn’t a student take advantage of any resource or study aid that is genuinely available to them?