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

A company is developing an ecommerce application on AWS. The company wants to make sure that the application can handle sudden increases in traffic.

The company uses AWS CodePipeline for its CI/CD process. The company must implement a solution to integrate automated load testing into the CI/CD pipeline to validate the application's performance. The solution must perform production deployment only if the performance exceeds a threshold.

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

Answer options

Correct answer: D

Explanation

Using AWS CodeBuild to run load tests and Amazon S3 to store artifacts minimizes operational overhead because CodeBuild is a fully managed, serverless build service that integrates natively with AWS CodePipeline. Integrating an AWS Lambda function as a custom action to evaluate CloudWatch metrics and alarms allows the pipeline to dynamically halt or proceed with production deployment based on performance thresholds. Other options, such as managing EC2 instances or ECS/Fargate container infrastructure specifically for load testing, introduce significantly more administrative and operational overhead.