Examtopics

AWS Certified Developer - Associate
  • Topic 1 Question 397

    A developer has a continuous integration and continuous delivery (CI/CD) pipeline that uses AWS CodeArtifact and AWS CodeBuild. The build artifacts are between 0.5 GB and 1.5 GB in size. The builds happen frequently and retrieve many dependencies from CodeArtifact each time.

    The builds have been slow because of the time it takes to transfer dependencies. The developer needs to improve build performance by reducing the number of dependencies that are retrieved for each build.

    Which solution will meet this requirement?

    • Specify an Amazon S3 cache in CodeBuild. Add the S3 cache folder path to the buildspec.yaml file for the build project.

    • Specify a local cache in CodeBuild. Add the CodeArtifact repository name to the buildspec.yaml file for the build project.

    • Specify a local cache in CodeBuild. Add the cache folder path to the buildspec.yaml file for the build project.

    • Retrieve the buildspec.yaml file directly from CodeArtifact. Add the CodeArtifact repository name to the buildspec.yaml file for the build project.


    シャッフルモード