
Ultimate access to all questions.
A company utilizes AWS CodeArtifact for centralized storage of Python packages, configured with a specific repository policy. A development team within an AWS Organizations account seeks to utilize a Python library already stored in this CodeArtifact repository. They employ AWS CodePipeline and AWS CodeBuild for their application's build process, which is configured to execute within a VPC that lacks internet connectivity due to compliance mandates. Despite the team's creation of VPC endpoints for CodeArtifact and the update of the CodeBuild buildspec.yaml file, they encounter issues downloading the Python library. What actions should a DevOps engineer undertake to facilitate the development team's access to the CodeArtifact repository?
A
Create an Amazon S3 gateway endpoint. Update the route tables for the subnets that are running the CodeBuild job.
B
Update the repository policy’s Principal statement to include the ARN of the role that the CodeBuild project uses.
C
Share the CodeArtifact repository with the organization by using AWS Resource Access Manager (AWS RAM).
D
Update the role that the CodeBuild project uses so that the role has sufficient permissions to use the CodeArtifact repository.
E
Specify the account that hosts the repository as the delegated administrator for CodeArtifact in the organization.