A company is selecting serverless compute for several workloads and does not need host operating system access. Which workload-to-compute pairings are appropriate? (Choose three.)
Choose 3 answers
Show the answer
Correct answersA. A continuously running container worker using AWS FargateB. A short API request handler using AWS LambdaD. A two-minute scheduled function using AWS Lambda
AWhy this is right: Fargate supports long-running container workers without requiring server management.
BWhy this is right: Lambda is appropriate for short request-driven processing, commonly invoked through Amazon API Gateway.
CWhy not this: A single Lambda invocation cannot run uninterrupted for two hours; the maximum duration is 15 minutes.
DWhy this is right: Lambda supports scheduled execution, and two minutes is within its invocation duration limit.
EWhy not this: Fargate manages the underlying hosts and does not allow customers to install a custom host kernel.
Lambda suits short scheduled functions and API handlers, while Fargate supports continuously running container workloads. Lambda has a 15-minute maximum invocation duration, and Fargate does not allow customers to customize the host kernel.