AWS Certified Developer Associate DVA-C01 – Question417

A developer has three microservice projects that are separated into different folders under the same AWS CodeCommit repository. Each project has a separate AWS CodePipeline pipeline. The developer notices hat when changes are pushed to one microservice, all three pipelines begin to run.
The developer needs to ensure that only relevant pipelines run. The developer cannot make any changes to ow the repository is organized.
Which solution will meet these requirements?

A.
For each of the three microservice projects, create a separate CodeCommit repository.
B. Create an Amazon EventBridge (Amazon CloudWatch Events) rule that invokes an AWS Lambda function to evaluate changes to the repository and run the appropriate pipeline.
C. Create an Amazon API Gateway API that is backed by an AWS Lambda function to determine the appropriate pipeline to run. Add the API endpoint to a webhook in CodeCommit.
D. Migrate all three pipelines to a single pipeline. Add conditional stages to build a certain microservice project.