Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

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

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 493 discussion

A company is using AWS CloudFormation as its deployment tool for all applications. It stages all application binaries and templates within Amazon S3 buckets with versioning enabled. Developers have access to an Amazon EC2 instance that hosts the integrated development environment (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 unit tests and security scans. Use an Amazon EventBridge rule to send Amazon SNS alerts to the developers when unit tests fail. Write AWS Cloud Development Kit (AWS CDK) constructs for different solution features, and use a manifest file to tum 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 tum 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 (?) , you can switch to a simple comment.
Switch to a voting comment New
ebbff63
Highly Voted 5 months ago
A- Yes B - No - Lambda not optimal for unit testing c- No - Jenkins needs separate management not part of the AWS native services D - No - CodeDeploy is for deployment, not to run unit tests and security scans
upvoted 7 times
...
AzureDP900
Most Recent 1 week, 1 day ago
By choosing option A, the developers can meet all of their requirements and implement a robust CI/CD pipeline that integrates with AWS services. Using AWS CodeBuild to run unit tests and security scans meets the requirement of automating these tasks. The use of Amazon EventBridge rules to send SNS alerts when unit tests fail meets the requirement of alerting developers when tests fail. Writing AWS CDK constructs for different solution features allows for dynamic customization of deployment, meeting the requirement of turning features on and off. Using a manifest file to control feature toggling in the AWS CDK application provides a centralized way to manage these changes, making it easier to customize deployment dynamically. The manual approval stage using AWS CodePipeline allows the lead developer to provide approval before deploying an application, meeting this requirement.
upvoted 1 times
...
0b43291
1 week, 1 day ago
Selected Answer: A
By leveraging AWS CodeBuild, EventBridge, SNS, AWS CDK, and manual approval stages in CodePipeline, Option A provides a comprehensive solution that meets all the requirements for implementing CI/CD using AWS CodePipeline. Option B: AWS Lambda is not suitable for running unit tests and security scans. Additionally, using Amplify plugins and user prompts for feature toggling may not be as flexible as using AWS CDK constructs and a manifest file. Option C: Using Jenkins for unit testing and security scanning introduces an additional tool to manage and maintain. Additionally, using nested stacks and parameters for feature toggling may not be as flexible as using AWS CDK constructs and a manifest file. Option D: AWS CodeDeploy is primarily used for application deployment, not for running unit tests and security scans. Additionally, using Docker images and the AWS CLI for feature toggling may not be as flexible as using AWS CDK constructs and a manifest file.
upvoted 1 times
...
backbencher2022
3 months ago
Selected Answer: A
A is correct option - https://docs.aws.amazon.com/codebuild/latest/userguide/test-reporting.html
upvoted 1 times
...
ryuhei
3 months, 3 weeks ago
Selected Answer: A
I think A is the correct answer because I will be testing with codebuild.
upvoted 1 times
...
5ehjry6sktukliyliuliykutjhy
4 months, 3 weeks ago
Selected Answer: A
Codebuild looks good
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 ...