Code* Flashcards
This deck aims to help retain concepts related to the CodeCommit, CodeArtifact, CodeBuild, CodeDeploy, CodePipeline, and CodeGuru services.
What AWS service provides a secure, scalable, and managed source control solution designed for teams to privately store, manage, and collaborate on assets such as source code, documents, and binary files?
AWS CodeCommit
Which compliance programs is AWS CodeCommit in scope with?
- HIPAA
- ISO 27001
- PCI DSS
- FIPS 140-2
What connection options does AWS CodeCommit support for accessing repositories?
- HTTPS: Requires authentication via username and password
- SSH: Requires an SSH key-pair
Both of which can be configured for an IAM user
How many triggers can be configured for a single AWS CodeCommit repository?
Up to 10 triggers
What AWS service is a fully managed artifact repository designed to securely store, publish, and share software packages during the development process?
AWS CodeArtifact
Which build tools and package managers are supported by AWS CodeArtifact?
- NuGet CLI
- Maven, Gradle
- npm, yarn
- pip, twine
Are there any limitations on the number or total size of packages that can be stored in AWS CodeArtifact?
No, there are no limits
What AWS service provides developers with intelligent recommendations to enhance code quality and pinpoint an application’s most expensive lines of code?
AWS CodeGuru
What AWS service provides a fully managed Continuous Integration (CI) service that compiles source code, runs tests, and generates deployable artifacts?
AWS CodeBuild
What is the name of the file, written in YAML format, that AWS CodeBuild uses to define build settings and commands, which can be included in the source code or specified during build project creation?
buildspec.yml
, must be located at the root of the source code
What are the four phases defined in the buildspec.yml
file used by AWS CodeBuild?
- install: Installs required packages
- pre_build: Performs preparatory steps
- build: Executes commands during the actual build
- post_build: Handles final tasks, such as packaging artifacts, pushing Docker images, or sending notifications
What information can be defined in the buildspec.yml
file within AWS CodeBuild?
- run-as: Linux user that runs commands in the build
- env: Custom environment variables for the build
- proxy: Configures an explicit proxy server for the build
- batch: Settings for batch builds
- phases: Commands to be executed during each build phase
- reports: Defines the report groups to which build reports are sent
- artifacts: Specifies artifacts related settings
- cache: Configures file caching to speed up subsequent builds
What service is used by AWS CodeBuild as an artifact repository by default?
S3
What is the billing model of the AWS CodeBuild service?
Billed based on the compute resources consumed during the build process
What platform does AWS CodeBuild use to create consistent build environments?
Docker