Q39 — AWS DOP-C02 Ch.2

Question 39 of 100 | ← Chapter 2

A development team recently expanded, increasing the number of projects hosted in separate code repositories. Current processes involve manually configuring AWS CodePipeline. A service limit alert has been triggered regarding the number of existing Amazon S3 buckets.

Correct Answer: B. Use the AWS API or AWS CLI to create new pipelines and configure them to use a single S3 bucket, with each project assigned a unique prefix.

Explanation

Given service limit alerts about the number of S3 buckets, the goal is to reduce the total bucket count. Option B proposes using a single S3 bucket with distinct prefixes per project, effectively minimizing bucket proliferation while preserving project isolation and manageability. Option A may reduce buckets but introduces pipeline complexity. Options C and D increase bucket count, worsening the service limit alert. Thus, Option B is the optimal solution to reduce S3 bucket sprawl.