DVA-C02 Question 339
Single answerYou are developing a serverless application using AWS Lambda and want to ensure your code complies with AWS best practices for security, reliability, and performance. Which AWS service can automatically analyze your code and provide recommendations?
- A
AWS CodeBuild
- B
AWS CodeGuru Reviewer
- C
AWS CloudTrail
- D
AWS Config
Show answer and explanation
Correct answer: B
Explanation
AWS CodeGuru Reviewer is specifically designed to analyze your application code and provide recommendations for improving its quality. It uses machine learning to identify issues such as security vulnerabilities, performance bottlenecks, and coding inefficiencies, making it the appropriate choice for this scenario.
- A. Incorrect.
AWS CodeBuild is a fully managed build service used to compile source code, run tests, and produce software packages. It does not analyze code for best practices.
- B. Correct.
AWS CodeGuru Reviewer is a developer tool that uses machine learning to automatically analyze your code and provide recommendations for improving security, performance, and code quality.
- C. Incorrect.
AWS CloudTrail is a service that provides event history of your AWS account activity, primarily used for auditing and compliance, not for code analysis.
- D. Incorrect.
AWS Config is a service that helps track resource configurations and compliance, but it does not analyze application code.