Full AWS Practitioner Certification Question

An e-learning company is designing a lightweight API using Amazon API Gateway to handle user-generated requests. The request traffic is highly unpredictablehours may pass without activity, but during busy periods, dozens of requests might arrive in quick succession. Each request initiates a background task that must complete within a few seconds. The solution should minimize costs and infrastructure overhead while meeting these performance requirements.Which AWS compute service should the solutions architect integrate with API Gateway to meet these needs most efficiently?