D1: Automated Testing in Pipelines
AWS Certified DevOps Engineer – Professional exam practice questions · 10 flashcards
Question
Test types?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Automated Testing in Pipelines practice questions and answers
- Test types?Unit, integration, acceptance, UI/end-to-end, load/performance, security scans (SAST/DAST).
- Where do unit tests run?Early in the build stage on every commit/PR.
- Where do integration/acceptance tests run?After deployment to a test/staging environment.
- Running builds on pull requests?Trigger CodeBuild on PR events (webhooks/CodeConnections) and report status back.
- Exit codes and test health?Non-zero exit code fails the build/stage in CodeBuild.
- Code coverage reports?CodeBuild report groups (JaCoCo, Cobertura, Clover, SimpleCov).
- Load testing at scale?Distributed Load Testing on AWS, JMeter/Locust on ECS/Fargate, CodeBuild.
- Invoking AWS services for tests?Lambda/Step Functions invoke actions in CodePipeline to run custom test logic.
- Security scans in pipeline?Amazon Inspector (ECR/Lambda/CI integration), CodeGuru Security, third-party SAST, cfn-nag/cfn-guard for IaC.
- Synthetic tests after deploy?CloudWatch Synthetics canaries verify endpoints and trigger rollback alarms.