AWS Certified DevOps Engineer – Professional — Question 27
The Development team has grown substantially in recent months and so has the number of projects that use separate code repositories. The current process involves configuring AWS CodePipeline manually. There have been service limit alerts regarding the number of Amazon S3 buckets that exist.
Which pipeline option will reduce S3 bucket sprawl alerts?
Answer options
- A. Combine the multiple separate code repositories into a single one, and deploy using an AWS CodePipeline that has logic for each project.
- B. Create new pipelines by using the AWS API or AWS CLI, and configure them to use a single S3 bucket with separate prefixes for each project.
- C. Create a new pipeline in a different region for each project to bypass the service limits for S3 buckets in a single region.
- D. Create a new pipeline and S3 bucket for each project by using the AWS API or AWS CLI to bypass the service limits for S3 buckets in a single account.
Correct answer: B
Explanation
Option B is correct because it allows the use of a single S3 bucket with different prefixes, which reduces the total number of buckets and minimizes sprawl alerts. Option A does not address the S3 bucket issue, as it combines repositories but does not reduce bucket count. Option C creates additional pipelines in other regions, which does not solve the underlying problem of bucket limits. Option D increases the number of buckets further, which is contrary to the goal of reducing bucket sprawl.