You are the technical leader of your machine learning team where you are responsible for the quality of your team's code.
Your team generates a very high level of code per week, thousands of lines of Java code used in machine learning data ingestion, transformation, as well as EMR cluster jobs.
You need a way to improve the pull request review process.
So you have decided to use CodeGuru Reviewer to leverage its program analysis and machine learning to detect defects that your developers may fail to find while also leveraging its suggestions for improving the team's Java code.
To this end, you want to use CodeGuru to create code reviews.
You are using GitHub Enterprise Server for your code repository. When your developers commit code to your GitHub repository, you want the CodeGuru Reviewer code review to run.
What do you need to do to make this workflow possible?
Click on the arrows to vote for the correct answer
A. B. C. D.Answer: D.
Option A is incorrect.
CodeGuru Reviewer identifies problems with input validation for you using its machine learning capabilities.
Option B is incorrect.
You don't need to select the machine learning algorithm used by CodeGuru Reviewer.
Option C is incorrect.You don't need to select the machine learning algorithm used by CodeGuru Reviewer.
Option D is CORRECT.
If you use GitHub Enterprise Server as your code repository, you are required to create a connection to your repository using AWS CodeStar connections to connect the CodeGuru Reviewer service to your GitHub repository.
Reference:
Please see the Amazon CodeGuru Reviewer user guide titled What is Amazon CodeGuru Reviewer?.
Please see the Amazon CodeGuru Reviewer user guide titled Create a repository for your source code.
Please see the Developer Tools console user guide titledWhat are connections?.
The correct answer is D. Create a connection to your repository using AWS CodeStar connections to connect the CodeGuru Reviewer service to your GitHub repository.
To use CodeGuru Reviewer to create code reviews for your GitHub Enterprise Server code repository, you need to connect your repository to CodeGuru Reviewer. This is achieved through the creation of an AWS CodeStar connection, which is a secure connection between your GitHub Enterprise Server code repository and the AWS services you want to use, such as CodeGuru Reviewer.
AWS CodeStar Connections simplifies the process of setting up a secure connection between your on-premises or third-party source code repository and AWS services such as CodeGuru Reviewer, AWS CodeBuild, AWS CodePipeline, and Amazon Elastic Container Registry. CodeStar Connections allows you to use existing connections or create new ones.
Here are the steps to connect your GitHub Enterprise Server code repository to CodeGuru Reviewer:
Once the connection is established, CodeGuru Reviewer can access your GitHub Enterprise Server code repository to automatically create code reviews for pull requests. This will save your team time and improve the efficiency of your pull request review process.
Regarding the other options: A. Input validation is not related to connecting your repository to CodeGuru Reviewer. B. and C. SageMaker built-in algorithms are not used for connecting your repository to CodeGuru Reviewer. They are used for machine learning tasks such as regression and clustering.