🔥 3-day streak
Microsoft DevOps Engineer Expert77 / 138
Question 77 of 138
Your team maintains a monorepo in Azure Repos containing a web frontend under /src/web and shared libraries under /src/shared. You have a dedicated YAML pipeline for the frontend. Currently every commit to the main branch triggers this pipeline, even when only unrelated backend folders change, wasting parallel job minutes. You must configure the frontend pipeline so that CI runs only when files under /src/web or /src/shared change, while still triggering on the main branch. Which trigger configuration should you use?
Reviewed for accuracy · Report an issueNext question