CI/CD Pipelines Flashcards
7 cards from real AWS practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 7 CI/CD Pipelines flashcards as text
A pipeline must build artifacts and then deploy them to multiple AWS regions simultaneously. Which CodePipeline feature supports cross-region actions?
Answer: Multi-Region Action Groups using cross-region artifact stores
CodePipeline supports cross-region actions by configuring region-specific artifact stores; actions in a stage can target different regions simultaneously.
When using AWS CodeBuild with a cache configuration, which cache type stores cached files in an Amazon S3 bucket between builds?
Answer: S3 cache
The S3 cache type in CodeBuild uploads and downloads cached directories (like dependency folders) to/from a specified S3 bucket across builds.
A development team wants to use feature flags to decouple code deployment from feature release in their CI/CD pipeline. Which AWS service directly supports this pattern?
Answer: AWS AppConfig
AWS AppConfig allows teams to deploy feature flags and configuration changes independently of code deployments, enabling safe progressive feature releases.
In CodePipeline, what happens when two pipeline executions are triggered in quick succession and the pipeline is already running?
Answer: The second execution is queued and supersedes the first in pending stages once earlier stages complete
CodePipeline queues the newer execution; if the older one is still running when the newer one catches up, the newer one supersedes (replaces) it in pending stages.
Which AWS CodeBuild feature allows you to run multiple build tasks in parallel within a single build project using the same buildspec?
Answer: Build batching with batch build configuration
CodeBuild batch builds allow a single buildspec to define multiple build tasks that run in parallel or in a dependency graph within a single batch execution.
A team has an AWS CodePipeline that deploys to AWS Elastic Beanstalk. Which deployment policy in Elastic Beanstalk minimizes downtime by deploying to a separate set of instances before swapping?
Answer: Immutable
The Immutable deployment policy launches a completely new set of instances, deploys to them, then swaps them in — ensuring no downtime and easy rollback.
Which CodePipeline artifact encryption option allows you to use a customer-managed key (CMK) instead of the default service-managed key?
Answer: Specify an AWS KMS CMK in the pipeline's encryption configuration
CodePipeline supports specifying a KMS customer-managed key (CMK) ARN in the pipeline's encryptionKey configuration to encrypt pipeline artifacts with your own key.