Correct Answer: A self-hosted agent pool
Self-hosted agents allow you to persist the working directory and caches between pipeline runs, which enables incremental builds and significantly speeds up compilation for large p...
Correct Answer
A self-hosted agent pool
Why This Answer Is Correct
Self-hosted agents allow you to persist the working directory and caches between pipeline runs, which enables incremental builds and significantly speeds up compilation for large projects. Microsoft-hosted agents provide a fresh, clean VM for every job, meaning you lose the incremental build cache. VMSS pools set to tear down act similarly to Microsoft-hosted agents.
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.
You are using Azure Pipelines environments to deploy to production. Before the deployment proceeds to the production environment, you need an external IT Service Management (ITSM) tool (like ServiceNow) to approve the change request ticket automatically. How do you implement this in Azure 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?
You are using Azure DevOps Classic Release Pipelines. You want to deploy to the Production stage only after ensuring that there are no active High-severity bugs logged against the current release in Azure Boards. Which feature automates this check?