CertLumen

Microsoft DevOps Engineer Expert (AZ-400) · Section 3 · 53% of the exam

Develop and implement pipeline trigger rules

One of the objectives of the Exam AZ-400: Designing and Implementing Microsoft DevOps Solutions exam, in the section “Design and implement build and release pipelines”. Here is what it covers, the points to remember and a question to try.

What it covers

How to choose between GitHub Actions and Azure Pipelines, how to size and secure Microsoft-hosted, self-hosted and scale-set agents or runners, how GitHub repositories connect to Azure Pipelines, and how trigger rules decide when a pipeline runs.

Points to remember

  • Choose Azure Pipelines for Azure Boards, Artifacts, resource checks and multi-repo; choose GitHub Actions for GitHub-centric teams and Marketplace actions.
  • Parallel jobs, not agents or users, are what Azure Pipelines charges for; free tier: 1 hosted (1,800 min/month, 60 min per job) and 1 self-hosted.
  • A paid first hosted parallel job removes time limits; you need two purchased to run two at once when moving from the free tier.
  • Microsoft-hosted agents cannot join a VNet; use self-hosted, scale set agents or Managed DevOps Pools for private access.
  • Agents connect outbound over HTTPS only; keep them ephemeral and image-built.

Try a question

A security team asks which inbound firewall ports must be opened on the corporate network so a self-hosted Azure Pipelines agent can receive jobs. What is the correct answer?

  1. ANone; the agent connects outbound over HTTPS
  2. BTCP 22 inbound from the Azure DevOps service addresses
  3. CTCP 5985 inbound for WinRM from the build service
  4. DTCP 3389 inbound from the Azure DevOps service addresses
Show the answer

A. Agents poll the Azure DevOps service outbound over HTTPS (port 443). Proxies are supported, but inbound ports are not required.

Written for practice in the style of the exam: never a question from the real exam.

In the course

The lesson Choosing the automation platform, agents, runners and triggers teaches this objective (about 50 minutes), and 30 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.

More in this section

← Previous objective · All 86 objectives · Next objective →