nerdexam
MicrosoftMicrosoft

AZ-400 · Question #421

AZ-400 Question #421: Real Exam Question with Answer & Explanation

Sign in or unlock AZ-400 to reveal the answer and full explanation for question #421. The question stem and answer options stay visible for context.

Submitted by sofia.br· Mar 6, 2026Implement and manage build and release pipelines using GitHub Actions, including configuring workflow triggers, path filters, and branch patterns

Question

Drag and Drop Question You have a GitHub repository named repo1 that stores the code of an app named App1. You need deploy a workflow for repo1 by using GitHub Actions. The solution must meet the following requirements: - Scan on pushes to the main branch. - Scan on pull requests to the main branch. - Scan on pull requests to any branch that has a prefix of releases/. - Scan all the files in the subdirectories of the src directory. - Exclude scanning of markdown files. How should you complete the code? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point. Answer:

Unlock AZ-400 to see the answer

You've previewed enough free AZ-400 questions. Unlock AZ-400 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#GitHub Actions#CI/CD Workflows#YAML Configuration#Branch Protection
Full AZ-400 PracticeBrowse All AZ-400 Questions