Bird
0
0

A developer notices that changes in Service C trigger pipelines for Services A and B as well. What is the most likely cause?

medium📝 Analysis Q6 of 15
Microservices - CI/CD for Microservices
A developer notices that changes in Service C trigger pipelines for Services A and B as well. What is the most likely cause?
AThe pipeline triggers are not properly scoped by service paths
BService C depends on Services A and B at runtime
CThe services share a single monolithic repository
DThe CI/CD system is configured to run all pipelines on every commit
Step-by-Step Solution
Solution:
  1. Step 1: Analyze pipeline trigger configuration

    If pipelines trigger on unrelated changes, triggers likely lack path filters.
  2. Step 2: Match cause to options

    Improper trigger scoping causes unrelated pipelines to run; dependencies or repo structure alone don't cause this.
  3. Final Answer:

    The pipeline triggers are not properly scoped by service paths -> Option A
  4. Quick Check:

    Proper path filters prevent unnecessary pipeline runs [OK]
Quick Trick: Use path filters to scope pipeline triggers [OK]
Common Mistakes:
  • Confusing runtime dependencies with pipeline triggers
  • Assuming repo structure alone causes triggers
  • Not checking CI/CD trigger settings

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes