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

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

A developer wants to use AWS CodeDeploy to deploy an Amazon Elastic Container Service (Amazon ECS) service.

What are the MINIMUM properties required in the 'resources' section of the AppSpec file for CodeDeploy to deploy the ECS service successfully?

  • A. name, alias currentversion, and targetversion
  • B. TaskDefinition, ContainerName, and PlatformVersion
  • C. TaskDefimtion, ContainerName, and ContainerPort
  • D. name, currentversion, NetworkConfiguration, and PlatformVersion
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
practice_exam
1 year, 7 months ago
Letter A. https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-resources.html Each property is specified with a string. name – Required. This is the name of the Lambda function to deploy. alias – Required. This is the name of the alias to the Lambda function. currentversion – Required. This is the version of the Lambda function traffic currently points to. This value must be a valid positive integer. targetversion – Required. This is the version of the Lambda function traffic is shifted to. This value must be a valid positive integer.
upvoted 1 times
...
rcaliandro
1 year, 9 months ago
Selected Answer: C
Ops, I was opting for A "name, alias currentversion, and targetversion", I got confuse with lambda function. But it is for sure C: "TaskDefinition, ContainerName, and ContainerPort"
upvoted 2 times
...
Suraj_7
1 year, 11 months ago
Selected Answer: C
Since Option A is for AppSpec 'resources' section for AWS Lambda deployments. Not for Amazon ECS deployments. For Amazon ECS deployments option C is the right Choice. Refer: https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-resources.html
upvoted 1 times
...
shahs10
2 years ago
Selected Answer: A
For resource section of Appspec following fields are required: name, alias,current version and target versions https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-resources.html
upvoted 1 times
...
gaddour_med
2 years, 2 months ago
Container port is alreadyset in task definition.
upvoted 1 times
...
JuanFe
2 years, 2 months ago
it's c!
upvoted 1 times
...
sichilam
2 years, 3 months ago
C it is
upvoted 1 times
...
BelloMio
2 years, 4 months ago
C TaskDefimtion, ContainerName, and ContainerPort https://docs.aws.amazon.com/codedeploy/latest/userguide/tutorial-ecs-create-appspec-file.html "The AppSpec file for an Amazon ECS deployment specifies your task definition, container name, and container port"
upvoted 3 times
...
fabriciollf
2 years, 4 months ago
Selected Answer: C
https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-resources.html#reference-appspec-file-structure-resources-ecs TaskDefinition – Required. This is the task definition for the Amazon ECS service to deploy. It is specified with the ARN of the task definition. The ARN format is arn:aws:ecs:aws-region:account-id:task-definition/task-definition-family:task-definition-revision. For more information, see Amazon Resource Names (ARNs) and AWS service namespaces. ContainerName – Required. This is the name of the Amazon ECS container that contains your Amazon ECS application. It must be a container specified in your Amazon ECS task definition. ContainerPort – Required. This is the port on the container where traffic will be routed to.
upvoted 4 times
...
SBoksh
2 years, 4 months ago
Selected Answer: C
it' for ECS not EC2
upvoted 3 times
...
michaldavid
2 years, 4 months ago
Selected Answer: C
cccccc
upvoted 2 times
...
Chandra_07
2 years, 4 months ago
C https://docs.aws.amazon.com/codedeploy/latest/userguide/tutorial-ecs-create-appspec-file.html
upvoted 3 times
...
k1kavi1
2 years, 4 months ago
C - Below is the configuration required for ECS https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-resources.html
upvoted 3 times
...
sionita
2 years, 5 months ago
C - TaskDefinition, ContainerName, and ContainerPort https://docs.aws.amazon.com/codedeploy/latest/userguide/tutorial-ecs-create-appspec-file.html
upvoted 3 times
...
dark_cherrymon
2 years, 5 months ago
Selected Answer: A
https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-resources.html " resources: - name-of-function-to-deploy: type: "AWS::Lambda::Function" properties: name: name-of-lambda-function-to-deploy alias: alias-of-lambda-function-to-deploy currentversion: version-of-the-lambda-function-traffic-currently-points-to targetversion: version-of-the-lambda-function-to-shift-traffic-to "
upvoted 1 times
ryarya
2 years, 4 months ago
it is for lambda function
upvoted 2 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