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

A company is using AWS CloudFormation as its deployment tool for all application. It stages all application binaries and templates within Amazon S3 bucket with versioning enabled. Developers have access to an Amazon EC2 instance that hosts the integrated development (IDE). The Developers download the application binaries from Amazon S3 to the EC2 instance, make changes, and upload the binaries to an S3 bucket after running the unit tests locally. The developers want to improve the existing deployment mechanism and implement CI/CD using AWS CodePipeline.
The developers have the following requirements:
✑ Use AWS CodeCommit for source control.
✑ Automate unit testing and security scanning.
✑ Alert the Developers when unit tests fail.
✑ Turn application features on and off, and customize deployment dynamically as part of CI/CD.
✑ Have the lead Developer provide approval before deploying an application.
Which solution will meet these requirements?

  • A. Use AWS CodeBuild to run tests and security scans. Use an Amazon EventBridge rule to send Amazon SNS alerts to the Developers when unit tests fail. Write AWS Cloud Developer kit (AWS CDK) constructs for different solution features, and use a manifest file to turn features on and off in the AWS CDK application. Use a manual approval stage in the pipeline to allow the lead Developer to approve applications.
  • B. Use AWS Lambda to run unit tests and security scans. Use Lambda in a subsequent stage in the pipeline to send Amazon SNS alerts to the developers when unit tests fail. Write AWS Amplify plugins for different solution features and utilize user prompts to turn features on and off. Use Amazon SES in the pipeline to allow the lead developer to approve applications.
  • C. Use Jenkins to run unit tests and security scans. Use an Amazon EventBridge rule in the pipeline to send Amazon SES alerts to the developers when unit tests fail. Use AWS CloudFormation nested stacks for different solution features and parameters to turn features on and off. Use AWS Lambda in the pipeline to allow the lead developer to approve applications.
  • D. Use AWS CodeDeploy to run unit tests and security scans. Use an Amazon CloudWatch alarm in the pipeline to send Amazon SNS alerts to the developers when unit tests fail. Use Docker images for different solution features and the AWS CLI to turn features on and off. Use a manual approval stage in the pipeline to allow the lead developer to approve applications.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
Gmail78
Highly Voted 3 years, 8 months ago
UI testing (AWS Lambda and AWS CodeBuild). Not sure B is correct, Jenkins is an alternative of AWS Pipeline.A seems the more close one.
upvoted 17 times
certainly
3 years, 7 months ago
A for sure. B is incorrect. 1. Lambda limit of 15 min make it a poor candidate for running unit tests and security scans. AWS Amplify is used for onboarding, ml, rt-collaboration, doesn't seem to be good fit here
upvoted 5 times
...
...
Ebi
Highly Voted 3 years, 7 months ago
I go with A
upvoted 7 times
...
nsvijay04b1
Most Recent 2 years, 7 months ago
Selected Answer: A
A. ->eventbridge handling codebuild state change and trigger SNS https://docs.aws.amazon.com/codebuild/latest/userguide/sample-build-notifications.html -> manual approval stage in pipeline
upvoted 2 times
...
xinhui
2 years, 10 months ago
I will also go with A , AWS CodeBuild is a fully managed continuous integration service that compiles source code, runs tests, and produces software packages that are ready to deploy.
upvoted 3 times
...
hilft
2 years, 10 months ago
A. Codebuild is the only option here
upvoted 2 times
...
tartarus23
3 years, 1 month ago
Selected Answer: A
A. CodeBuild is the AWS managed service for unit tests and scans. I highly doubt AWS will promote third party services such as Jenkins, instead of their own AWS services.
upvoted 1 times
...
Hari008
3 years, 2 months ago
Why on the earth AWS promote Jenkins instead of their own product
upvoted 3 times
...
mousedolly2002
3 years, 3 months ago
Should be A
upvoted 1 times
...
AzureDP900
3 years, 6 months ago
A code build and lead approval is key!
upvoted 1 times
...
andylogan
3 years, 7 months ago
It's A with CDK as integrated development (IDE)
upvoted 1 times
...
tgv
3 years, 7 months ago
AAA ---
upvoted 1 times
...
blackgamer
3 years, 7 months ago
Clearly A.
upvoted 1 times
...
WhyIronMan
3 years, 7 months ago
I'll go with A
upvoted 2 times
...
mustpassla
3 years, 7 months ago
A, major function of CodeBuild.
upvoted 3 times
...
victordun
3 years, 7 months ago
A - Code build for testing
upvoted 3 times
...
Waiweng
3 years, 7 months ago
it's A
upvoted 3 times
...
alisyech
3 years, 7 months ago
i go with A
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 ...