AWS Certified Solutions Architect – Professional (SAP-C02) — Question 43

A company hosts a Git repository in an on-premises data center. The company uses webhooks to invoke functionality that runs in the AWS Cloud. The company hosts the webhook logic on a set of Amazon EC2 instances in an Auto Scaling group that the company set as a target for an Application Load Balancer (ALB). The Git server calls the ALB for the configured webhooks. The company wants to move the solution to a serverless architecture.

Which solution will meet these requirements with the LEAST operational overhead?

Answer options

Correct answer: B

Explanation

Option B is correct because using Amazon API Gateway with AWS Lambda allows for a fully managed, serverless solution that minimizes operational overhead by handling scaling and maintenance automatically. Options A, C, and D introduce unnecessary complexity and do not leverage the full benefits of a serverless architecture, with A requiring individual Lambda URLs, C still using an ALB, and D depending on container orchestration.