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 317 discussion

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

A developer is using AWS CodeDeploy to automate a company's application deployments to Amazon EC2.

Which application specification file properties are required to ensure the software deployments do not fail? (Choose two.)

  • A. The file must be a JSON-formatted file named appspec.json.
  • B. The file must be a YAML-formatted file named appspec.yml.
  • C. The file must be stored in AWS CodeBuild and referenced from the application's source code.
  • D. The file must be placed in the root of the directory structure of the application's source code.
  • E. The file must be stored in Amazon S3 and referenced from the application's source code.
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

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
joshnort
1 year, 4 months ago
Selected Answer: BD
"If your application uses the EC2/On-Premises compute platform, the AppSpec file must be a YAML-formatted file named appspec.yml and it must be placed in the root of the directory structure of an application's source code. Otherwise, deployments fail." https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file.html#appspec-reference-server
upvoted 1 times
...
rcaliandro
1 year, 10 months ago
Selected Answer: BD
I agree with you the correct choice is B and D. The file must be named "appspec.yml" and must be placed in the root directory of the source code.
upvoted 1 times
...
Ankit1010
2 years, 2 months ago
BD Option A is not necessarily incorrect, as the application specification file can indeed be a JSON-formatted file named "appspec.json". However, the question asks for which properties are required to ensure that the software deployments do not fail, and simply having a JSON-formatted file with the correct name is not enough to guarantee success. The application specification file must also include the necessary lifecycle event hooks and deployment instructions to ensure that the application is deployed correctly. These instructions and hooks are typically defined using YAML syntax in the appspec.yml file. Therefore, while having an appspec.json file is a valid option, it is not a required property to ensure successful software deployments using AWS CodeDeploy.
upvoted 1 times
...
JuanFe
2 years, 3 months ago
B & D are correct for me.
upvoted 1 times
...
KT_Yu
2 years, 4 months ago
Selected Answer: BD
E is incorrect because CodeDeploy can pull code from GitHub
upvoted 1 times
...
S_S_01
2 years, 5 months ago
B & D for me
upvoted 1 times
...
michaldavid
2 years, 5 months ago
Selected Answer: BD
B and D are correct
upvoted 2 times
...
k1kavi1
2 years, 5 months ago
Selected Answer: BD
Going with B & D
upvoted 2 times
...
kapil206001
2 years, 5 months ago
B & D https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file.html
upvoted 3 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