Exhibit (2)(n)

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We consent to the use in this Registration Statement No. 333-272231 on Form N-2 of our report dated December 22, 2023, relating to the financial statements of Apollo S3 Private Markets Fund. We also consent to the reference to us under the heading “Independent Registered Public Accounting Firm” in such Registration Statement.

/s/ Deloitte & Touche LLP

New York, New York

January 5, 2024