
Answer-first summary for fast verification
Answer: Define a buildspec.yml file in the root directory
Overall explanation Correct option: Define a buildspec.yml file in the root directory AWS CodeDeploy is a fully managed deployment service that automates software deployments to a variety of compute services such as Amazon EC2, AWS Fargate, AWS Lambda, and your on-premises servers. AWS CodeDeploy makes it easier for you to rapidly release new features, helps you avoid downtime during application deployment, and handles the complexity of updating your applications. A build spec is a collection of build commands and related settings, in YAML format, that AWS CodeBuild uses to run a build. You can include a build spec as part of the source code or you can define a build spec when you create a build project.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
As a site reliability engineer responsible for developing and maintaining large-scale, distributed, and fault-tolerant systems in the cloud with the use of automation, you recently transitioned your company's Jenkins-based CI/CD platform to AWS CodeBuild. You are now tasked with programmatically defining the build steps for your CI/CD process.
Which of the following options should you choose?
A
Define a buildspec.yml file in the codebuild/ directory
B
Define an appspec.yml file in the root directory
C
Define an appspec.yml file in the codebuild/ directory
D
Define a buildspec.yml file in the root directory
No comments yet.