Microsoft Certified: DevOps Engineer ExpertConfigure processes and communicationsHard

A large enterprise is developing a mission-critical application using microservices. Each microservice has its own Git repository and CI/CD pipeline. The enterprise needs to ensure that when a new version of a core library microservice is released, all dependent microservices are automatically rebuilt, tested, and potentially redeployed. This propagation must be efficient and traceable. Which release strategy component is most crucial for achieving this automated dependency-driven release propagation across multiple repositories and pipelines?

  1. AArtifact tagging
  2. BScheduled triggers
  3. CManual release gates
  4. DPipeline resource triggers
Show answer & explanation

Correct answer: D. Pipeline resource triggers

Pipeline resource triggers in Azure DevOps (or similar concepts in other CI/CD systems) are specifically designed to enable one pipeline to trigger another automatically upon successful completion or artifact publication. This is crucial for managing dependencies across multiple repositories and ensuring that changes in a core library propagate correctly to dependent services.

Why the other options are wrong

  • A. Artifact tagging helps in identifying specific versions of artifacts but does not, by itself, automatically trigger dependent pipelines to rebuild or redeploy based on those tags. It's a part of traceability, not propagation.
  • B. Scheduled triggers initiate pipelines at fixed times, not based on the completion or artifact release of another pipeline, thus not addressing the dependency-driven requirement.
  • C. Manual release gates would require human intervention for each dependent microservice, which goes against the requirement for 'automated' propagation.

Pipeline Resource Triggers

Pipeline resource triggers in CI/CD systems enable one pipeline to automatically start when another pipeline completes or publishes new artifacts. They are essential for managing complex dependencies across multiple repositories and services to ensure automated propagation of changes.

  • Automate pipeline chaining.
  • Crucial for microservice architectures.
  • Ensures dependency-driven builds/releases.
  • Can trigger on completion or artifact publication.

Memory trick: Dependencies trigger the chain reaction.

More Configure processes and communications questions