QuestionQ61

SDLC Automation

A development team manually creates an artifact locally and then puts it in an Amazon S3 bucket. The application uses a local cache that must be cleared whenever a deployment takes place. The team runs a command to perform this task, downloads the artifact from Amazon S3, and unzips the artifact to finish the deployment.

A DevOps team wants to move to a CI/CD process and include checks that halt and roll back a deployment if a failure occurs. The team must be able to track the deployment’s progress.

Which combination of actions will achieve this?

Choose three
Explanation

AWS CodePipeline supplies the source-to-deployment workflow and tracks the stages of the release. AWS CodeBuild produces the deployable artifact, including an Amazon S3 output artifact when configured, and AWS CodeDeploy deploys that revision to Amazon EC2 while recording lifecycle-hook results. CodeDeploy can run an AppSpec script during BeforeInstall, making it the appropriate lifecycle event for clearing the local cache before installation. A failing lifecycle script causes the deployment to fail, allowing configured rollback behavior to take effect.

Learn more

Community Discussion

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