A developer is setting up an automated release pipeline in AWS CodePipeline to handle application updates. Arrange the pipeline stages in the correct execution sequence, from the initial trigger to the final production release.
- 1The Source stage retrieves the source code from a repository when a new change is detected.
- 2The Build stage compiles the retrieved source code and runs unit tests using AWS CodeBuild.
- 3The Approval stage pauses execution for manual review by a developer.
- 4The Deploy stage deploys the approved build output artifacts to the target servers.
Cevap
The correct sequence of stages is: first, the Source stage retrieves the source code; second, the Build stage compiles and tests the code; third, the Approval stage pauses the pipeline for verification; and finally, the Deploy stage deploys the artifacts to the target environment.
The correct sequence begins with the Source stage to retrieve raw source files, followed by the Build stage to compile and test the application, then the Approval stage to hold deployment for verification, and finally the Deploy stage to update the live environment.
Adım Adım Çözüm
Anahtar Kavram
AWS CodePipeline execution flow and stage sequencing.