A DevOps engineer is using AWS CodePipeline to automate deployments. They want to run a custom action that performs integration tests after deployment. Which method should they use?
Answer
Add a custom action in CodePipeline using AWS Lambda.
Explanation
CodePipeline supports custom actions via Lambda, allowing integration tests to be run after deployment. Manual approval is for human approval, CodeBuild is for build/test but not custom post-deploy actions, and CodeDeploy hooks are limited to deployment lifecycle events.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
A company uses AWS CodeDeploy to deploy a new version of an application to an Auto Scaling group with a load balancer. They want to minimize downtime and ensure that if the new version fails health checks, the deployment automatically rolls back. Which deployment configuration should they use?
View question →
A DevOps engineer needs to store and manage application configuration settings that include database passwords and API keys. The settings must be encrypted at rest and automatically rotated. Which AWS service should be used?
View question →
A DevOps team wants to enforce that all EC2 instances launched in their account have a specific tag 'Environment' with values 'Production' or 'Development'. Which AWS service should they use?
View question →
A company needs to ensure that their AWS Lambda function can access an Amazon RDS database without hardcoding credentials. What is the most secure way to provide the credentials?
View question →
Which AWS service would you use to manage access to your machine learning resources and data?
View question →
Which statement is true about hyperparameters in machine learning?
View question →