There are four CPA Exam sections you must pass to complete the Uniform CPA Examination, divided by major topics: Auditing & Attestation (AUD), Business Environment & Concepts (BEC), Financial Accounting & Reporting (FAR), and Regulation (REG). Each section is tested separately in its own four-hour exam.
You wouldn't need the 2 years' experience to appear for the exams. You will need it to get the license. So, worry not as of now, clear your exams and then you can think of getting the experience. Also, for certain states, the experience requirement is only 1 year.