Testing and Deployment I
Explore how to apply safe testing and deployment practices using AWS services like CodePipeline, CodeDeploy, and Lambda. Understand managing environment configurations, diagnosing build failures, setting up CI workflows, and safely updating CloudFormation stacks. This lesson helps you prepare practical solutions for the AWS Certified Developer Associate exam and real-world AWS deployments.
We'll cover the following...
Question 40
A team deploys a REST API with AWS CodePipeline and AWS CodeDeploy. After every deployment, the team wants smoke tests that call the new API endpoint and check the response, and an AI coding assistant drafts those tests. A broken release must not stay in production.
Which practices keep this use of AI-generated tests safe? (Select any two options.)
A. Let the AI assistant run the smoke tests and decide whether to promote the release, because it wrote the tests.
B. Have a developer read the generated smoke tests and merge them into the repository before they gate a release.
C. Run the smoke tests after deployment in a CodeBuild action or a CodeDeploy lifecycle hook, so that a failure stops the pipeline or triggers a rollback.
D. ...