; and (ii) is inadmissible or deportable under the Immigration and Nationality Act ( 8 U.S.C. 1101 et seq. )); and (B) (i) in the case of such an individual who was younger than 18 years of age on the date on which the individual initially entered the United States— (I) has earned a high school diploma, the recognized equivalent of such diploma from a secondary school, or a high school equivalency diploma recognized by State law, or is scheduled to complete the requirements for such a diploma or equivalent before the next academic year begins; (II) is enrolled at an institution of higher education pursuant to subsection (d); (III) has served in the uniformed services (as such term is defined in section 101 of title 10, United States Code) for not less than 2 years and, if discharged, received an honorable discharge; (IV) has acquired a degree, certificate, or recognized postsecondary credential from an institution of higher education or area career and technical education school (as such term is defined in section 3 of the Carl D. Perkins Career and Technical Education Act of 2006 ( 20 U.S.C. 2302 )); or (V) has completed not less than 2 years in a postsecondary program at an institution of higher education, or area career and technical education school, in the United States and has made satisfactory academic progress, as defined in subsection (c), during such time period; or (ii) (I) is, or at any time was, eligible for a grant of deferred action pursuant to— (aa) the memorandum of the Department of Homeland Security entitled Exercising Prosecutorial Discretion with Respect to Individuals Who Came to the United States as Children issued on June 15, 2012; or (bb) the memorandum of the Department of Homeland Security entitled Exercising Prosecutorial Discretion with Respect to Individuals Who Came to the United States as Children and with Respect to Certain Individuals Who Are the Parents of U.S. Citizens or Permanent Residents issued on November 20, 2014