People are sometimes sure or not sure about something and they convey it by using certain expressions. You say “I am sure that I will pass the test” when you are sure that you will pass a test. When you want to ask whether someone is sure that he or she will pass a test, you may say to him or her “Are you sure that you will pass the test”