exam questions

Exam AWS Certified Developer Associate All Questions

View all questions & answers for the AWS Certified Developer Associate exam

Exam AWS Certified Developer Associate topic 1 question 248 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 248
Topic #: 1
[All AWS Certified Developer Associate Questions]

A development team sets up a project's file directory structure in AWS CodeCommit. The team plans to use AWS CodeBuild and AWS CodeDeploy. The team creates the necessary configuration files for CodeBuild and CodeDeploy. The team wants to name and place these files according to service defaults.

Where should the team place the CodeBuild and CodeDeploy files?

  • A. A directory named "aws" under the route source directory
  • B. A directory named "deploy" under the root source directory
  • C. A directory named "scripts" under the root source directory
  • D. The root of the source directory
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
rcaliandro
1 year, 10 months ago
Selected Answer: D
Easy: the root of source directory. D is the correct answer
upvoted 1 times
...
pranay_2406
1 year, 11 months ago
Selected Answer: D
D. The root of the source directory Placing the configuration files in the root directory allows AWS CodeBuild and AWS CodeDeploy to automatically detect and use them. The default locations for the configuration files are: buildspec.yml for CodeBuild: Placing this file in the root directory allows CodeBuild to automatically detect and use it as the build specification file for the project. appspec.yml for CodeDeploy: Placing this file in the root directory allows CodeDeploy to automatically detect and use it as the application specification file for the deployment. By following the service defaults and placing the configuration files in the root directory, the team can ensure that CodeBuild and CodeDeploy recognize and utilize them correctly during the build and deployment processes.
upvoted 2 times
...
JuanFe
2 years, 3 months ago
I think D is correct because buildspec.yml for example has to be at the root of the source directory. So if We mention CodeBuild, we are talking about buildspec too indirectly
upvoted 2 times
JuanFe
2 years, 3 months ago
"If you include a buildspec as part of the source code, by default, the buildspec file must be named buildspec.yml and placed in the root of your source directory." https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html
upvoted 1 times
...
...
michaldavid
2 years, 5 months ago
appspec.yml and it must be placed in the root of the directory structure of an application's source code
upvoted 1 times
...
michaldavid
2 years, 5 months ago
Selected Answer: D
Going with D
upvoted 2 times
...
k1kavi1
2 years, 5 months ago
Selected Answer: D
Should be root of the source directory
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago