QuestionQ7

SDLC Automation

A company is building an ecommerce application on AWS and wants to ensure that the application can withstand sudden traffic increases.

The company uses AWS CodePipeline for its CI/CD process. It must implement a solution that integrates automated load testing into the CI/CD pipeline to validate the application's performance. The solution must deploy to production only when performance exceeds a threshold.

Which solution meets these requirements with the LEAST operational overhead?

Explanation

AWS CodeBuild provides managed compute for running load-testing tools and integrates directly with AWS CodePipeline as a build or test action. Test artifacts can be stored in Amazon S3, while Amazon CloudWatch can evaluate performance metrics and alarms against the required threshold. A Lambda-based pipeline action can return failure when the threshold is not met, preventing the production deployment; this avoids managing test EC2 instances or ECS/Fargate infrastructure.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!