A CI/CD pipeline built with CodePipeline and CodeBuild deploys five independent Lambda functions sequentially. An EventBridge rule starts the pipeline immediately when source changes occur. After months of use the pipeline takes too long to finish. What is the best change to speed up the pipeline?
Choose an answer
Tap an option to check your answer.
Correct answer: Change the CodePipeline setup so actions for each Lambda function run in parallel by assigning the same runOrder to those actions..
Why this is the answer
The problem states the pipeline deploys five independent Lambda functions sequentially, causing it to take too long. CodePipeline actions with the same runOrder execute in parallel. By assigning the same runOrder to the deployment actions for the independent Lambda functions, they will deploy concurrently, significantly reducing the overall pipeline execution time. Changing CodeBuild compute types or network throughput primarily affects individual build speeds, not the overall pipeline duration when the bottleneck is sequential execution of independent steps. Building a custom CodeBuild environment for symmetric multiprocessing is not directly applicable to parallelizing independent deployment actions in CodePipeline. Running CodeBuild projects inside a VPC with dedicated instances is an operational change that doesn't inherently parallelize independent deployment steps.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed