EX-31 Rule 13a-14(d)/15d-14(d) Certification.

  Banc of America Alternative Loan Trust 2007-2
  Mortgage Pass-Through Certificates,
  Series 2007-2

  I, Robert Caruso, a Senior Vice President of Bank of America, National
  Association (the "Servicer"), certify that:

  1.I have reviewed this report on Form 10-K and all reports on Form 10-D
    required to be filed in respect of the period covered by this report on
    Form 10-K of the Banc of America Alternative Loan Trust 2007-2 (the
    "Exchange Act Periodic Reports");

  2.Based on my knowledge, the Exchange Act Periodic Reports, taken as a
    whole, do not contain any untrue statement of a material fact or omit
    to state a material fact necessary to make the statements made, in
    light of the circumstances under which such statements
    were made, not misleading with respect to the period covered by this
    report;

  3.Based on my knowledge, all of the distribution, servicing and other
    information required to be provided under Form 10-D for the period
    covered by this report is included in the Exchange Act Periodic Reports;

  4.I am responsible for reviewing the activities performed by the Servicer
    and based upon my knowledge and the compliance review conducted in
    preparing the servicer compliance statements required in this report
    under Item 1123 of Regulation AB, and except as disclosed in the
    Exchange Act Periodic Reports, the Servicer has fulfilled its
    obligations under the pooling and servicing agreement, dated May 30,
    2007, among Banc of America Mortgage Securities, Inc., as depositor,
    Wells Fargo Bank, N.A., as trustee, and the Servicer, in all material
    respects; and

  5.All of the reports on assessment of compliance with the servicing
    criteria for asset-backed securities and their related attestation
    reports on assessment of compliance with servicing criteria for
    asset-backed securities required to be included in this report in
    accordance with Item 1122 of Regulation AB and Exchange Act Rules
    13a-18 and 15d-18 have been included as an exhibit to this report,
    except as otherwise disclosed in this report. Any material instances of
    noncompliance described in such reports have been
    disclosed in this report on Form 10-K.

    In giving the certifications above, I have reasonably relied on
    information provided to me by the following unaffiliated party: Wells
    Fargo Bank, N.A. as Trustee.

    Dated:   March 25, 2008


    /s/ Robert Caruso
    Signature

    Senior Vice President
    (senior officer in charge of the servicing function of the servicer)