Your organization has 50 different microservices, each with its own Azure Pipeline YAML file. All pipelines share the exact same 15-step security scanning and build process. You need to centralize this logic so that updating a security step applies to all microservices instantly without editing 50 files. What should you use?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: YAML Pipeline Templates

YAML Pipeline Templates allow you to define reusable pipeline logic (jobs, steps, or stages) in a single central YAML file. The 50 individual microservice pipelines simply referenc...

๐Ÿ“‹Part of Microsoft Certified: DevOps Engineer Expert (AZ-400) ยท Azure Certification Practice
Real Exam ScenarioAzure Pipelines

Your organization has 50 different microservices, each with its own Azure Pipeline YAML file. All pipelines share the exact same 15-step security scanning and build process. You need to centralize this logic so that updating a security step applies to all microservices instantly without editing 50 files. What should you use?

โœ“ Correct Answer & ExplanationAzure Pipelines

Correct Answer

YAML Pipeline Templates

Why This Answer Is Correct

YAML Pipeline Templates allow you to define reusable pipeline logic (jobs, steps, or stages) in a single central YAML file. The 50 individual microservice pipelines simply reference the template and pass parameters to it. When you update the central template, all pipelines inherently use the updated logic on their next run. Task groups are for Classic pipelines.

๐Ÿ“š What This Question Tests

This question evaluates your knowledge of Azure Pipelines โ€” a core concept tested in Microsoft Certified: DevOps Engineer Expert (AZ-400). Understanding Azure Pipelines is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.