What should the DevOps Engineer implement to BEST improve the speed of the pipeline?
Modify the CodeBuild projects within the pipeline to use a compute type with more available network throughput.
Create a custom CodeBuild execution environment that includes a symmetric multiprocessing configuration to run the builds in parallel.
Modify the CodePipeline configuration to execute actions for each Lambda function in parallel by specifying the same runOrder.
Modify each CodeBuild project to run within a VPC and use dedicated instances to increase throughput.
Explanations:
While modifying the CodeBuild projects to use a compute type with more network throughput might improve performance, it does not address the overall pipeline execution time effectively, especially since the Lambda functions are independent and can be executed in parallel.
Creating a custom CodeBuild execution environment with symmetric multiprocessing may improve the build times for individual functions, but it does not optimize the overall pipeline execution time, as it does not allow for parallel execution of the Lambda functions themselves.
Modifying the CodePipeline configuration to execute actions for each Lambda function in parallel by specifying the same runOrder allows the independent Lambda functions to be built, tested, and deployed simultaneously, significantly reducing the overall execution time of the pipeline.
Running each CodeBuild project within a VPC with dedicated instances may enhance throughput, but it can introduce latency and complexities related to VPC networking. This approach does not inherently allow for parallel execution of the Lambda functions, which is essential for speeding up the pipeline.