20+ practice questions focused on Design and implement a source control strategy — one of the most tested topics on the Microsoft Azure DevOps Engineer Expert AZ-400 exam. Each question includes a detailed explanation so you learn why the right answer is correct.
Start Design and implement a source control strategy PracticeYou are reviewing a webhook payload from Azure Repos. The payload indicates that a new branch named 'feature-123' was created. Which event type triggered this webhook?
Explanation: In Azure Repos, the webhook event type for any push to the repository, including creating a new branch, is 'Code pushed' (also referred to as 'Push'). There is no separate 'New branch creation' event type. The payload contains a 'refUpdates' array where a 'created' flag distinguishes a new branch from an update to an existing branch. Therefore, the correct answer should be 'Code pushed', but that option is not listed.
Which TWO actions help reduce the size of a Git repository over time?
Explanation: Git LFS (Large File Storage) replaces large binary files with text pointers in the repository, storing the actual binary content in an external server. This prevents the repository from bloating with large files that are stored in full in every commit, significantly reducing the repository size over time. Similarly, using 'git filter-branch' or 'git filter-repo' allows you to rewrite history to permanently remove obsolete files or sensitive data from previous commits, so those objects are no longer stored in the repository's history. Both actions directly reduce the total size of the repository by eliminating or externalizing file content, unlike shallow clones or commit squashing, which do not reduce the remote repository size, and 'git gc', which only compresses objects without removing reachable content.
Which THREE are best practices for managing secrets in GitHub Actions workflows?
Explanation: Environment secrets are scoped to environments, not workflows. They provide fine-grained control by allowing secrets to be used only by jobs that reference a specific environment. Option D is correct because enabling secret scanning and push protection helps prevent accidental exposure of secrets. Option E is correct because storing secrets as GitHub Actions secrets ensures they are encrypted and masked in logs. Option A is incorrect because passing secrets as environment variables can expose them in logs or to other actions. Option C is incorrect because storing the same secret in multiple repositories increases the risk of exposure.
Your team uses GitHub and wants to automate the creation of a new release branch (e.g., release/v1.2.3) whenever a tag starting with 'v' is pushed. Which GitHub Actions trigger should you use?
Explanation: GitHub Actions does not support `tags` or `branches` filters on the `create` event. To trigger on tag creation/push, use the `push` event with a `tags` filter. For example: `on: push: tags: ['v*']`. None of the provided options match this valid configuration.
Your team uses GitHub and wants to enforce a policy that all commits to the main branch must be signed with a GPG key that is associated with the author's GitHub account. Which method should you use to enforce this?
Explanation: Both branch protection rules and repository rulesets support the 'Require signed commits' setting. Branch protection rules are the classic method, while repository rulesets are the newer feature. The question as written is ambiguous because it asks for a single method without excluding either. To make it a single-answer question, it should specify criteria such as 'classic' or 'simplest'. Otherwise, both C and D are correct.
+15 more Design and implement a source control strategy questions available
Practice all Design and implement a source control strategy questions1. Baseline your knowledge
Start with 10 questions to gauge your current understanding of Design and implement a source control strategy. This tells you whether you need a concept refresher or just practice.
2. Review every explanation
For each question — right or wrong — read the full explanation. Understanding why an answer is correct is more valuable than knowing the answer itself.
3. Focus on exam traps
Design and implement a source control strategy questions on the AZ-400 frequently use trap wording. Look for subtle differences in answers that test your precision, not just general knowledge.
4. Reach 80% consistently
Do repeated sessions until you score 80%+ three times in a row. Then move to mixed-mode practice to test cross-topic recall under realistic conditions.
The exact number varies per candidate. Design and implement a source control strategy is tested as part of the Microsoft Azure DevOps Engineer Expert AZ-400 blueprint. Practicing with targeted Design and implement a source control strategy questions ensures you can handle any format or difficulty that appears.
Yes. Courseiva provides free AZ-400 practice questions across all exam topics and domains. The platform includes topic-based practice, mock exams, missed-question review, bookmarked questions, and readiness tracking — no account required.
Difficulty is subjective, but Design and implement a source control strategy is a high-priority exam concept tested in multiple ways — direct recall, scenario analysis, and command-output interpretation. Consistent practice is the best way to build confidence.
Launch a full Design and implement a source control strategy practice session with instant scoring and detailed explanations.
Start Design and implement a source control strategy Practice →