AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 94

A business has an application that consists of five independent AWS Lambda functions.

The DevOps engineer has built a CI/CD pipeline using AWS CodePipeline and AWS CodeBuild that builds, tests, packages, and deploys each Lambda function in sequence. The pipeline uses an Amazon EventBridge rule to ensure the pipeline starts as quickly as possible after a change is made to the application source code.

After working with the pipeline for a few months, the DevOps engineer has noticed the pipeline takes too long to complete.

What should the DevOps engineer implement to BEST improve the speed of the pipeline?

Answer options

Correct answer: C

Explanation

The correct answer is C because modifying the CodePipeline to allow actions for each Lambda function to run in parallel significantly reduces the overall pipeline duration. Options A and D may enhance throughput but do not address the sequential nature of the current setup. Option B, while it suggests parallel execution, doesn't align with the existing AWS services and configurations effectively.