exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 464 discussion

A Development team is deploying new APIs as serverless applications within a company. The team is currently using the AWS Management Console to provision
Amazon API Gateway, AWS Lambda, and Amazon DynamoDB resources. A Solutions Architect has been tasked with automating the future deployments of these serverless APIs.
How can this be accomplished?

  • A. Use AWS CloudFormation with a Lambda-backed custom resource to provision API Gateway. Use the AWS::DynamoDB::Table and AWS::Lambda::Function resources to create the Amazon DynamoDB table and Lambda functions. Write a script to automate the deployment of the CloudFormation template.
  • B. Use the AWS Serverless Application Model to define the resources. Upload a YAML template and application files to the code repository. Use AWS CodePipeline to connect to the code repository and to create an action to build using AWS CodeBuild. Use the AWS CloudFormation deployment provider in CodePipeline to deploy the solution.
  • C. Use AWS CloudFormation to define the serverless application. Implement versioning on the Lambda functions and create aliases to point to the versions. When deploying, configure weights to implement shifting traffic to the newest version, and gradually update the weights as traffic moves over.
  • D. Commit the application code to the AWS CodeCommit code repository. Use AWS CodePipeline and connect to the CodeCommit code repository. Use AWS CodeBuild to build and deploy the Lambda functions using AWS CodeDeploy. Specify the deployment preference type in CodeDeploy to gradually shift traffic over to the new version.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
donathon
Highly Voted 3 years, 7 months ago
B https://aws-quickstart.s3.amazonaws.com/quickstart-trek10-serverless-enterprise-cicd/doc/serverless-cicd-for-the-enterprise-on-the-aws-cloud.pdf https://aws.amazon.com/quickstart/architecture/serverless-cicd-for-enterprise/
upvoted 28 times
SD13
3 years, 6 months ago
Option B don't provide a gradual deployment option. Correct Answer is D
upvoted 2 times
zolthar_z
3 years, 5 months ago
that is wrong, https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/automating-updates-to-serverless-apps.html
upvoted 2 times
...
...
...
huhupai
Highly Voted 3 years, 7 months ago
I would go for D, SAM only works in CLI and the team is currently using the AWS Management Console to provision Amazon API Gateway, AWS Lambda, and Amazon DynamoDB resources.
upvoted 6 times
chaudh
3 years, 7 months ago
Because team is using Console --> need to improve for future automation deployment and not using Console any more. B is my choice.
upvoted 11 times
...
sarah_t
3 years, 6 months ago
There is no requirement to use the console in the future.
upvoted 3 times
...
arunkumar
3 years, 7 months ago
Codedeploy will not deploy Lambda functions. So the answer is B.
upvoted 4 times
VrushaliD
3 years, 6 months ago
check this out - https://aws.amazon.com/blogs/compute/implementing-safe-aws-lambda-deployments-with-aws-codedeploy/ I will go for D
upvoted 2 times
01037
3 years, 5 months ago
Actually it's still sam. CodeDeploy only controls the traffic.
upvoted 1 times
...
...
...
...
SkyZeroZx
Most Recent 1 year, 10 months ago
Selected Answer: B
Solution D uses CodeCommit, CodeBuild, and CodeDeploy to deploy the serverless application. However, it does not use SAM to define the application. This means that the development team would need to write their own YAML template, which can be complex. Therefore, the best solution is B. Here are some additional benefits of using SAM and CodePipeline: They are easy to use and manage. They are reliable and secure. They are cost-effective.
upvoted 1 times
...
hollie
2 years, 3 months ago
why not C?
upvoted 2 times
...
dmscountera
2 years, 6 months ago
Selected Answer: B
Based on all comments
upvoted 2 times
...
AYANtheGLADIATOR
2 years, 7 months ago
B is the answer here is the link to end the discussion. https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/automating-updates-to-serverless-apps.html
upvoted 1 times
...
peddyua
3 years, 2 months ago
Selected Answer: B
B. SAM for serveles is recommended by AWS https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/automating-updates-to-serverless-apps.html
upvoted 1 times
...
tkanmani76
3 years, 3 months ago
B - If you want to deploy your AWS SAM application gradually rather than all at once, you can specify deployment configurations that AWS CodeDeploy provides.
upvoted 1 times
...
AzureDP900
3 years, 4 months ago
B is right!
upvoted 2 times
...
Kopa
3 years, 5 months ago
going for B
upvoted 1 times
...
WhyIronMan
3 years, 5 months ago
I'll go with B
upvoted 3 times
...
Waiweng
3 years, 5 months ago
It's definitely B
upvoted 3 times
...
01037
3 years, 5 months ago
B. D (not correct), CodeDeploy can NOT be used to deploy lambda
upvoted 1 times
MrCarter
3 years, 5 months ago
Your statement is just wrong. CodeDeploy can be used to deploy lambda. But the answer is still B
upvoted 2 times
...
...
kiev
3 years, 6 months ago
My answer is B. Serverless application points to Sam.
upvoted 1 times
...
Kian1
3 years, 6 months ago
will go with B
upvoted 2 times
...
Ebi
3 years, 6 months ago
I go with B too
upvoted 4 times
...
sanjaym
3 years, 6 months ago
B for sure.
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