
Answer-first summary for fast verification
Answer: Cache dependencies on S3
Cache dependencies on S3 AWS CodeBuild is a fully managed continuous integration service that compiles source code, runs tests, and produces software packages that are ready to deploy. With CodeBuild, you don’t need to provision, manage, and scale your build servers. Downloading dependencies is a critical phase in the build process. These dependent files can range in size from a few KBs to multiple MBs. Because most of the dependent files do not change frequently between builds, you can noticeably reduce your build time by caching dependencies in S3.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are engaged in a project with over 100 Java dependencies. During each build process executed by AWS CodeBuild, these dependencies need to be resolved from external Ivy repositories, resulting in significant delays. To address this, your manager is seeking a way to expedite the build process within AWS CodeBuild.
Which of the following approaches will assist you in achieving this goal with minimal effort?
A
Cache dependencies on S3
B
Reduce the number of dependencies
C
Use Instance Store type of EC2 instances to facilitate internal dependency cache
D
Ship all the dependencies as part of the source code
No comments yet.