Courseiva
Knowledge + Practice
CertificationsVendorsCareer RoadmapsLabs & ToolsStudy GuidesGlossaryPractice Questions
C
Courseiva

Free IT certification practice questions with explained answers for CCNA, CompTIA, AWS, Azure, Google Cloud, and more.

Certification Practice Questions

CCNA practice questionsSecurity+ SY0-701 practice questionsAWS SAA-C03 practice questionsAZ-104 practice questionsAZ-900 practice questionsCLF-C02 practice questionsA+ Core 1 practice questionsGoogle Cloud ACE practice questionsCySA+ CS0-003 practice questionsNetwork+ N10-009 practice questions
View all certifications →

Product

CertificationsCertification PathsExam TopicsPractice TestsExam Dumps vs Practice TestsStudy HubComparisons

Company

AboutContactEditorial PolicyQuestion Writing PolicyTrust Center

Legal

Privacy PolicyTerms of Service

Courseiva is a free IT certification practice platform offering original exam-style practice questions, detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics for Cisco, CompTIA, Microsoft, AWS, and other technology certifications.

© 2026 Courseiva. Courseiva is operated by JTNetSolutions Ltd. All rights reserved.

Courseiva is an independent certification practice platform and is not affiliated with, endorsed by, or sponsored by Cisco, Microsoft, AWS, CompTIA, Google, ISC2, ISACA, or any other certification vendor. Vendor names and certification marks are used only to identify the exams learners are preparing for.

← Configure processes and communications practice sets

AZ-400 Configure processes and communications • Complete Question Bank

AZ-400 Configure processes and communications — All Questions With Answers

Complete AZ-400 Configure processes and communications question bank — all 0 questions with answers and detailed explanations.

125
Questions
Free
No signup
Certifications/AZ-400/Practice Test/Configure processes and communications/All Questions
Question 1easymultiple choice
Read the full Configure processes and communications explanation →

A team uses Azure Boards and wants to ensure that work items moved to the 'Done' state require a completed code review. What should they configure?

Question 2mediummultiple choice
Read the full Configure processes and communications explanation →

During a sprint review, stakeholders complain that they don't receive notifications about completed work items. The team uses Azure Boards with a custom notification subscription. What is the most likely cause?

Question 3hardmultiple choice
Read the full NAT/PAT explanation →

A multinational company uses Azure DevOps with a single project. The project has multiple teams in different time zones. They want to customize the process to reflect different working days for each team. What is the recommended approach?

Question 4mediummultiple choice
Read the full Configure processes and communications explanation →

A team uses Azure Repos with a Git branching strategy that includes feature branches. They want to ensure that all feature branches are deleted automatically after the pull request is completed. What should they do?

Question 5hardmultiple choice
Read the full Configure processes and communications explanation →

An organization uses Azure DevOps and wants to implement a change management process where all changes to the main branch require approval from a change advisory board (CAB). The CAB members are not part of the development team. How should they configure this?

Question 6easymulti select
Read the full Configure processes and communications explanation →

Which TWO actions help improve communication and collaboration in a distributed Azure DevOps team?

Question 7mediummulti select
Read the full Configure processes and communications explanation →

Which THREE steps are essential when customizing an Azure DevOps process?

Question 8hardmultiple choice
Read the full Configure processes and communications explanation →

You are the Azure DevOps administrator for a large enterprise with multiple projects using the Scrum process. The organization has recently adopted a new compliance policy requiring that all work items of type 'Epic' must be approved by a compliance officer before they can be moved to the 'Committed' state. The compliance officers are external to the development teams and should not have direct access to modify work items. You need to implement this requirement with minimal administrative overhead. The current process has the following states for Epics: New, Proposed, Committed, In Progress, Done. The desired flow is: from 'Proposed' to 'Committed', a compliance officer must approve the transition. Compliance officers are part of a security group named 'Compliance Officers'. They should be able to approve the transition without having to edit the work item directly. What should you do?

Question 9mediummultiple choice
Read the full Configure processes and communications explanation →

A company recently migrated its CI/CD pipelines from Jenkins to Azure Pipelines. The development team is experiencing frequent build failures due to conflicting changes when multiple developers push code simultaneously. The team wants to maintain a linear history and avoid merge commits. Which strategy should you recommend?

Question 10easymultiple choice
Read the full Configure processes and communications explanation →

You are designing the communication strategy for a large team using Azure DevOps. The team uses a Kanban board and wants to automatically notify stakeholders when work items are moved to 'Done'. Which Azure DevOps feature should you use?

Question 11hardmulti select
Read the full Configure processes and communications explanation →

Your team uses Azure Boards and has several work item types (Epic, Feature, User Story, Bug, Issue). They want to enforce a rule that bugs can only be linked to Features, not directly to Epics. Which TWO actions should you perform?

Question 12hardmultiple choice
Read the full Configure processes and communications explanation →

You are the DevOps lead for a financial services company. The company uses Azure DevOps Services with a single project containing multiple teams. The compliance team requires that all production deployments be approved by a change advisory board (CAB) member. Additionally, any deployment that changes a configuration value stored in Azure App Configuration must be audited. You have set up a release pipeline with a manual approval gate and a pre-deployment condition that runs a PowerShell script to validate configuration changes. However, the compliance team reports that some deployments bypassed the approval gate. Upon investigation, you find that developers with 'Edit release pipeline' permissions can modify the pipeline and remove the approval gate. You need to ensure that the approval gate cannot be bypassed by developers. You also need to ensure that any change to a configuration key is logged to Azure Monitor. What should you do?

Question 13mediummultiple choice
Read the full Configure processes and communications explanation →

A development team is transitioning from a centralized version control system to Git in Azure Repos. The team lead wants to ensure that the branch structure supports both feature development and hotfix releases, with the ability to stabilize a release candidate before final deployment. Which branch strategy should the team implement?

Question 14hardmulti select
Read the full Configure processes and communications explanation →

A team uses Azure Boards to manage work items. They want to automatically update the state of a work item when a related pull request is merged in Azure Repos. Which TWO actions should they configure to enable this integration?

Question 15easymultiple choice
Read the full Configure processes and communications explanation →

You see the above YAML pipeline trigger configuration in an Azure Pipeline. The repository uses Git Flow with branches: feature/new-feature, develop, release/v1.0, and main. A developer pushes a commit to the branch feature/new-feature. Which action will trigger the pipeline?

Exhibit

Refer to the exhibit.

```json
{
  "resources": {
    "repositories": {
      "self": {
        "ref": "refs/heads/feature/*"
      }
    }
  },
  "trigger": {
    "batch": true,
    "branches": {
      "include": ["main", "release/*"]
    }
  },
  "pr": {
    "branches": {
      "include": ["main"]
    }
  }
}
```
Question 16easymultiple choice
Read the full Configure processes and communications explanation →

Your team uses Azure Boards to track work items. They want to automatically update the state of a work item when a pull request is merged in Azure Repos. What should you configure?

Question 17mediummultiple choice
Read the full Configure processes and communications explanation →

A development team wants to ensure that all code changes are reviewed by at least two senior developers before merging into the main branch. They use Azure Repos. What should they configure?

Question 18hardmultiple choice
Read the full Configure processes and communications explanation →

Your team uses Azure DevOps and wants to implement a change management process where all production releases must be approved by a change advisory board (CAB) after the build is complete but before deployment. The approval must be recorded in the pipeline. What is the best approach?

Question 19mediumdrag order
Review the full routing breakdown →

Drag and drop the steps to configure a static route on a Cisco IOS router into the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
Question 20mediumdrag order
Read the full Configure processes and communications explanation →

Drag and drop the steps to set up a self-hosted Azure DevOps agent on a Windows VM into the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
Question 21mediummatching
Read the full Configure processes and communications explanation →

Match each Azure DevOps service to its primary function.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Agile planning and work tracking

Source control with Git or TFVC

CI/CD build and release automation

Manual and exploratory testing

Package management and sharing

Question 22mediummatching
Read the full Configure processes and communications explanation →

Match each Azure Test Plans concept to its definition.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Container for test suites and configurations

Group of test cases

Individual test with steps and expected results

Execution of a set of test cases

Question 23mediummultiple choice
Read the full Configure processes and communications explanation →

Your team uses GitHub Issues to track work. You want to enforce that all new issues include a specific set of labels based on the issue type (bug, feature, task). What is the most efficient way to achieve this?

Question 24hardmultiple choice
Read the full Configure processes and communications explanation →

Your Azure DevOps environment uses Microsoft Entra ID for authentication. You need to ensure that users from a partner organization can access only a specific Azure Boards project without being added to your tenant as guests. What should you do?

Question 25easymulti select
Open the full VLAN trunking answer →

Your team follows trunk-based development. The main branch should always be deployable. Which two practices must you implement? (Choose two.)

Question 26mediummultiple choice
Read the full Configure processes and communications explanation →

You are designing a communication strategy for a large Azure DevOps migration. The team is distributed across multiple time zones. Which approach best supports asynchronous collaboration?

Question 27hardmultiple choice
Read the full Configure processes and communications explanation →

Refer to the exhibit. The JSON above shows a branch policy configuration for the main branch in Azure Repos. A developer pushes a third commit to an existing pull request after two reviewers have already approved. What happens?

Exhibit

{
  "policies": {
    "required_reviewers": 2,
    "dismiss_stale_reviews": true,
    "require_code_owner_review": true,
    "require_last_push_approval": true,
    "allowed_merge_types": ["squash", "rebase"]
  }
}
Question 28easymultiple choice
Read the full Configure processes and communications explanation →

Your team uses Azure Repos and wants to enforce that every commit message includes a work item ID. Which policy should you configure?

Question 29mediummultiple choice
Read the full Configure processes and communications explanation →

Your organization uses GitHub Copilot for pull request summaries. However, some developers report that the summaries are inaccurate. What should you do to improve the quality of Copilot-generated pull request summaries?

Question 30hardmultiple choice
Read the full Configure processes and communications explanation →

Your Azure DevOps pipeline uses a self-hosted agent pool. You notice that builds are queuing for a long time. What is the most effective way to reduce queue times without incurring additional costs?

Question 31easymulti select
Read the full Configure processes and communications explanation →

Your team uses Azure Boards with a custom process. Which two features allow you to customize the work item types? (Choose two.)

Question 32mediummultiple choice
Read the full Configure processes and communications explanation →

Refer to the exhibit. You are migrating repository policies from Azure Repos to GitHub. The JSON shows a branch protection rule you plan to apply to the main branch. A developer pushes a hotfix directly to main without a pull request. What happens?

Exhibit

{
  "syntaxVersion": "1.0",
  "enforceAdmins": true,
  "branchProtection": [
    {
      "branch": "main",
      "requiredStatusChecks": ["continuous-integration/azure-pipelines"],
      "requiredApprovingReviewCount": 2,
      "dismissStaleReviews": true,
      "lockBranch": false
    }
  ]
}
Question 33hardmultiple choice
Read the full Configure processes and communications explanation →

Your team uses GitHub Actions for CI/CD. You need to ensure that secrets used in workflows are automatically rotated every 90 days. What is the best approach?

Question 34mediummulti select
Read the full Configure processes and communications explanation →

Your team uses Azure DevOps with a Git repository. You want to enforce that all pull requests to main must have at least one reviewer from the 'security' group. Which two configurations are required? (Choose two.)

Question 35hardmultiple choice
Read the full Configure processes and communications explanation →

Your organization uses GitHub Enterprise and wants to enforce that all repositories have a specific issue template. What is the most scalable way to achieve this?

Question 36easymultiple choice
Read the full Configure processes and communications explanation →

Your team uses Azure Test Plans. You need to ensure that testers can easily see which test cases are blocked by a known bug. What should you do?

Question 37mediummulti select
Read the full Configure processes and communications explanation →

Your team uses GitHub Discussions for Q&A. You notice that many questions go unanswered. Which two actions can improve response rates? (Choose two.)

Question 38mediummultiple choice
Read the full Configure processes and communications explanation →

Your team uses GitHub Issues for work tracking. You want to automate the creation of a new issue when a build pipeline fails in Azure Pipelines. Which action should you implement in the YAML pipeline?

Question 39hardmultiple choice
Read the full Configure processes and communications explanation →

A company uses Microsoft Entra ID for identity. They want to enforce that all code changes in Azure Repos require a linked work item and a successful policy evaluation. Which branch policy should they configure?

Question 40easymultiple choice
Read the full Configure processes and communications explanation →

Your team wants to automatically assign a code reviewer from a specific security group when a pull request modifies files in a 'security' folder. Which Azure DevOps feature should you use?

Question 41mediummultiple choice
Read the full Configure processes and communications explanation →

Your organization uses GitHub Copilot for pull request summaries. However, the summaries sometimes miss security-related changes. What should you recommend?

Question 42hardmultiple choice
Read the full Configure processes and communications explanation →

Your team uses Azure Boards with a custom process. You need to ensure that when a bug is closed, it automatically triggers a new release pipeline. Which approach should you use?

Question 43easymultiple choice
Read the full Configure processes and communications explanation →

Your team uses GitFlow and wants to enforce that all feature branches are deleted after merging to develop. Which automation should you implement?

Question 44mediummultiple choice
Read the full Configure processes and communications explanation →

Your organization uses Microsoft Teams for communication. You want to send a notification to a Teams channel when a release pipeline fails. Which action should you configure?

Question 45hardmultiple choice
Read the full Configure processes and communications explanation →

Your team uses GitHub Actions for CI/CD. You need to enforce that all workflows use approved actions from a private marketplace. Which GitHub feature should you configure?

Question 46easymultiple choice
Read the full Configure processes and communications explanation →

Your team wants to include a manual validation step before deploying to production. Which Azure Pipelines feature should they use?

Question 47mediummulti select
Read the full Configure processes and communications explanation →

Which TWO options are valid ways to communicate build status from Azure Pipelines to external stakeholders?

Question 48hardmulti select
Read the full Configure processes and communications explanation →

Which THREE practices improve the efficiency of code review processes in GitHub?

Question 49easymulti select
Read the full Configure processes and communications explanation →

Which TWO Azure DevOps features can be used to implement change management processes?

Question 50hardmultiple choice
Read the full Configure processes and communications explanation →

You are reviewing a branch protection rule JSON for a GitHub repository. Developers complain that they cannot merge pull requests. What is the most likely cause?

Exhibit

Refer to the exhibit.
{
  "rules": [
    {
      "name": "Require signed commits",
      "type": "required_signatures",
      "settings": {
        "required_approving_review_count": 1
      }
    },
    {
      "name": "Allow squash merge",
      "type": "allowed_merge_methods",
      "settings": {
        "squash": true,
        "rebase": false,
        "merge": false
      }
    }
  ]
}
Question 51mediummultiple choice
Read the full Configure processes and communications explanation →

You run the PowerShell command shown in the exhibit. The virtual network already exists. What is the outcome?

Exhibit

Refer to the exhibit.
$resourceId = '/subscriptions/123/resourceGroups/rg-dev/providers/Microsoft.Network/virtualNetworks/vnet-dev'
$tags = @{Environment='Dev'; CostCenter='12345'}
New-AzResource -ResourceId $resourceId -Tag $tags -Force
Question 52hardmultiple choice
Read the full Configure processes and communications explanation →

You are deploying an ARM template using the parameters file shown. The deployment fails with an error that the referenced secret cannot be found. What is the most likely cause?

Exhibit

Refer to the exhibit.
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "environmentName": {
      "value": "production"
    },
    "sqlAdminLogin": {
      "reference": {
        "keyVault": {
          "id": "/subscriptions/123/resourceGroups/rg-kv/providers/Microsoft.KeyVault/vaults/kv-prod"
        },
        "secretName": "sql-admin-login"
      }
    }
  }
}
Question 53mediummultiple choice
Read the full Configure processes and communications explanation →

Your team uses GitHub Flow and wants to enforce that all pull requests require at least one approval before merging to the main branch. Which branch protection rule should you configure?

Question 54hardmultiple choice
Read the full Configure processes and communications explanation →

Your Azure DevOps project uses a self-hosted agent pool. Users report that builds are randomly failing with a 'disk full' error. The agents have 50 GB of disk space. What is the most effective way to mitigate this issue?

Question 55easymultiple choice
Read the full Configure processes and communications explanation →

A developer wants to automatically trigger a GitHub Actions workflow when a pull request is opened that targets the 'release' branch. Which trigger should they use?

Question 56mediummultiple choice
Read the full Configure processes and communications explanation →

Your organization is adopting Microsoft Entra ID for identity management. You need to configure Azure DevOps to trust tokens issued by Entra ID for service connections. Which authentication method should you use?

Question 57hardmultiple choice
Read the full Configure processes and communications explanation →

Your Azure DevOps pipeline uses a YAML template that includes a step to push a Docker image to Azure Container Registry. The pipeline fails with 'unauthorized: authentication required'. The service connection uses a workload identity federation. What is the most likely cause?

Question 58easymultiple choice
Read the full Configure processes and communications explanation →

You want to ensure that every commit message in your repository follows a specific format. Which GitHub feature can enforce this?

Question 59mediummultiple choice
Read the full Configure processes and communications explanation →

Your team uses Azure Boards and wants to automate work item state transitions when code is merged. What should you use?

Question 60hardmultiple choice
Read the full NAT/PAT explanation →

Your Azure DevOps pipeline deploys to multiple environments. You want to require manual approval before production deployment, but only if the deployment originated from a branch other than 'main'. How can you implement this?

Question 61easymultiple choice
Read the full Configure processes and communications explanation →

You need to automatically create a work item in Azure Boards when a GitHub issue is opened. What is the most efficient way to achieve this?

Question 62mediummulti select
Read the full Configure processes and communications explanation →

Which TWO practices are recommended for managing secrets in Azure Pipelines?

Question 63hardmulti select
Read the full Configure processes and communications explanation →

Which THREE are benefits of using a monorepo with Azure Repos and CI/CD pipelines?

Question 64easymulti select
Read the full Configure processes and communications explanation →

Which TWO features of GitHub Actions can be used to enforce code quality standards before merging?

Question 65mediummultiple choice
Read the full NAT/PAT explanation →

You applied the above branch policy to a GitHub repository. A developer tries to push a commit to the main branch that is signed with an S/MIME signature. What will happen?

Exhibit

Refer to the exhibit.

```json
{
  "policies": [
    {
      "name": "Require signed commits",
      "enforcementMode": "block",
      "scope": {
        "refNames": ["refs/heads/main"]
      },
      "parameters": {
        "signatureTypes": ["gpg", "ssh"]
      }
    }
  ]
}
```
Question 66hardmultiple choice
Read the full Configure processes and communications explanation →

You execute the above Azure CLI command. A pipeline YAML references the variable group 'Config' and uses the variable 'env'. However, the pipeline fails because the variable 'env' is not found. What is the most likely reason?

Network Topology
org https://dev.azure.com/contosoproject MyProjectoutput tableRefer to the exhibit.```Name Type Variables
Question 67mediummultiple choice
Read the full Configure processes and communications explanation →

A developer pushes a commit to a branch named 'releases/v1.0'. What will happen?

Exhibit

Refer to the exhibit.

```yaml
# azure-pipelines.yml
trigger:
  branches:
    include:
      - main
      - releases/*
pr: none

pool:
  vmImage: 'ubuntu-latest'

steps:
- script: echo "Building..."
```
Question 68mediummultiple choice
Read the full Configure processes and communications explanation →

Your team uses Azure Boards to track work items. They want to automatically update the 'Remaining Work' field on a task when a developer completes a pull request linked to that task. Which Azure DevOps feature should you configure?

Question 69easymultiple choice
Read the full Configure processes and communications explanation →

Your Azure DevOps project has multiple teams. You need to ensure that each team's board only shows work items assigned to that team. What should you configure?

Question 70hardmultiple choice
Read the full Configure processes and communications explanation →

Your organization uses GitHub Flow with branch protections. Developers must link every pull request to an issue using a closing keyword (e.g., 'Fixes #123'). You need to enforce this linking automatically. What should you do?

Question 71easymultiple choice
Read the full Configure processes and communications explanation →

You are designing a process for incident management. When a critical bug is reported, you need to automatically create a work item in Azure Boards and notify the on-call engineer via Microsoft Teams. Which Azure DevOps feature should you use?

Question 72mediummultiple choice
Read the full Configure processes and communications explanation →

Your team uses feature flags to manage feature releases. You need to ensure that a feature flag is automatically turned off for all users except the development team after a production incident. What is the best approach?

Question 73hardmultiple choice
Read the full Configure processes and communications explanation →

Your organization uses GitHub Enterprise and requires that all commits to the main branch are signed with a GPG key verified by your organization. Developers are getting errors when pushing signed commits. What is the most likely cause?

Question 74easymultiple choice
Read the full Configure processes and communications explanation →

Your team uses Azure Pipelines to build and deploy a web app. You want to send a notification to a Microsoft Teams channel when a build fails. What should you configure?

Question 75mediummultiple choice
Read the full Configure processes and communications explanation →

Your project uses a monorepo in Azure Repos. You want to enforce that changes to a specific folder (/src/security) require approval from the security team. What is the best approach?

Question 76hardmultiple choice
Read the full Configure processes and communications explanation →

Your organization uses GitHub Advanced Security. You need to ensure that secrets detected in pull requests automatically block the PR from merging. What should you configure?

Question 77easymulti select
Read the full Configure processes and communications explanation →

Which TWO actions are recommended practices for improving communication within a DevOps team?

Question 78mediummulti select
Read the full Configure processes and communications explanation →

Which THREE practices help ensure that work item tracking is effective in Azure Boards?

Question 79hardmulti select
Read the full Configure processes and communications explanation →

Which TWO Azure DevOps features can be used to automate the process of updating work items when a build or release completes?

Question 80mediummultiple choice
Read the full Configure processes and communications explanation →

Your team uses a monorepo in Azure Repos. You want to enforce that every PR to the main branch includes a work item link and a specific label. Which branch policy should you configure?

Question 81easymultiple choice
Read the full Configure processes and communications explanation →

You are setting up a CI/CD pipeline for a microservices application deployed to Azure Kubernetes Service (AKS). Your team wants to automatically generate release notes from commit messages and work items. Which Azure DevOps feature should you use?

Question 82hardmultiple choice
Read the full Configure processes and communications explanation →

Your organization uses GitHub for source control and GitHub Actions for CI/CD. You need to implement a branching strategy where every commit to the main branch triggers a build and deployment to a staging environment, but only after a successful pull request review. Which GitHub Actions trigger should you use?

Question 83mediummultiple choice
Read the full Configure processes and communications explanation →

Your team uses Azure Boards to manage work items. You need to ensure that when a work item is moved to 'Closed', all linked pull requests in Azure Repos are automatically completed. What should you configure?

Question 84hardmultiple choice
Read the full Configure processes and communications explanation →

Your team uses a Git flow branching strategy with develop and release branches. You want to enforce that only release branches can be merged into main, and all merges into main require a successful deployment to a production-like environment. How should you implement this in Azure Pipelines?

Question 85easymultiple choice
Read the full Configure processes and communications explanation →

Your team is migrating from on-premises TFS to Azure DevOps Services. You need to ensure that all existing work item history and attachments are preserved. Which migration approach should you use?

Question 86mediummultiple choice
Read the full Configure processes and communications explanation →

You are designing a communication strategy for your DevOps team. They use Microsoft Teams for collaboration. You need to automatically notify the team when a release to production fails. Which Azure DevOps integration should you use?

Question 87hardmultiple choice
Read the full Configure processes and communications explanation →

Your organization uses GitHub for code and GitHub Actions for CI/CD. You want to enforce that all workflows include a 'codeql-analysis' job for security scanning. What is the best approach?

Question 88easymultiple choice
Read the full Configure processes and communications explanation →

Your team uses Azure Boards with a Kanban board. You want to limit the number of work items in the 'In Progress' column to prevent bottlenecks. What should you configure?

Question 89mediummulti select
Read the full Configure processes and communications explanation →

Which TWO actions should you take to ensure that your Azure DevOps pipeline securely manages secrets?

Question 90hardmulti select
Read the full Configure processes and communications explanation →

Which THREE practices are recommended for managing technical debt in a DevOps environment?

Question 91mediummulti select
Read the full Configure processes and communications explanation →

Which TWO approaches can you use to enforce consistent commit message conventions across your GitHub repositories?

Question 92mediummultiple choice
Read the full Configure processes and communications explanation →

Refer to the exhibit. You have this YAML pipeline in an Azure Repos repository. What is the expected behavior when a pull request is created from a feature branch to the main branch?

Exhibit

Refer to the exhibit.
```yaml
# azure-pipelines.yml
trigger:
  branches:
    include:
      - main
      - release/*
pr:
  branches:
    include:
      - develop

pool:
  vmImage: 'ubuntu-latest'

steps:
- task: DotNetCoreCLI@2
  inputs:
    command: 'build'
    projects: '**/*.csproj'
- script: echo "Build completed"
```
Question 93easymultiple choice
Read the full Configure processes and communications explanation →

Your team uses GitHub Flow for feature development. A developer commits directly to the main branch without creating a pull request. Which practice should you enforce to ensure code quality and prevent direct commits?

Question 94mediummultiple choice
Read the full Configure processes and communications explanation →

Your team uses Azure Boards to manage work items. They want to automatically update the status of a work item to 'Resolved' when a pull request that contains the work item ID is merged. Which feature should you configure?

Question 95hardmultiple choice
Read the full Configure processes and communications explanation →

Your organization uses GitHub Actions for CI/CD. A workflow that deploys to production uses a secret stored in GitHub Actions secrets. The secret is exposed in the logs due to a debug step. What is the most effective way to prevent future exposure?

Question 96easymultiple choice
Read the full Configure processes and communications explanation →

Your team wants to implement a policy that requires all pull requests to have at least one approval from a member of the 'Senior Developers' group before merging. Which mechanism should you use?

Question 97mediummultiple choice
Read the full Configure processes and communications explanation →

Your company uses Microsoft Teams for collaboration. You want to send notifications to a Teams channel whenever a build pipeline in Azure Pipelines fails. Which approach should you use?

Question 98hardmultiple choice
Open the full VLAN trunking answer →

Your team uses trunk-based development with short-lived feature branches. You notice that code reviews often delay merging because reviewers are not available. What is the best way to reduce review latency while maintaining quality?

Question 99easymultiple choice
Read the full Configure processes and communications explanation →

Your organization wants to enforce that all commits to the main branch are signed using GPG or S/MIME. Which GitHub feature should you enable?

Question 100mediummultiple choice
Read the full Configure processes and communications explanation →

Your team uses Azure Pipelines to deploy a web app. They want to automatically roll back the deployment if the post-deployment smoke tests fail. What is the recommended approach?

Question 101hardmultiple choice
Read the full Configure processes and communications explanation →

Your team uses GitHub Issues for tracking bugs and features. They want to automatically assign issues to the person who created the pull request that closes the issue. Which GitHub Actions workflow trigger and action should you use?

Question 102easymulti select
Read the full Configure processes and communications explanation →

Which TWO practices help improve the efficiency of code reviews? (Choose two.)

Question 103mediummulti select
Read the full Configure processes and communications explanation →

Which THREE elements are essential for an effective incident response process in a DevOps environment? (Choose three.)

Question 104hardmulti select
Read the full Configure processes and communications explanation →

Which TWO GitHub Actions features can be used to enforce deployment approvals for a production environment? (Choose two.)

Question 105hardmultiple choice
Read the full Configure processes and communications explanation →

You are a DevOps engineer for a large enterprise that uses GitHub Enterprise Cloud. The development team follows a GitFlow branching strategy with develop, feature, release, and main branches. The release branch is created from develop when a release is ready. After testing, the release branch is merged into main and then tagged. However, the team frequently forgets to merge release branches back into develop, causing hotfixes applied to main to not be in develop. You need to implement an automated process to ensure that after a release branch is merged into main, the changes are also merged back into develop. The solution must not require manual intervention and must handle merge conflicts gracefully by opening a pull request for conflict resolution. Which approach should you use?

Question 106mediummultiple choice
Read the full Configure processes and communications explanation →

Your organization uses Azure DevOps Services. The development team uses feature branches and pull requests to merge changes into the main branch. You need to implement a policy that ensures every pull request has at least two approvals from the 'Senior Developers' group, and the build must succeed before merging. Additionally, any comment on the pull request must be resolved before merging. The policy should apply to the main branch only. You have already created the 'Senior Developers' group in Azure DevOps. What should you do?

Question 107mediummultiple choice
Read the full Configure processes and communications explanation →

Your team uses Azure Boards and wants to automatically update the work item state when a pull request is merged. The policy should require a successful build before merging and update the work item to 'Resolved' on merge. Which branch policy should you configure?

Question 108easymultiple choice
Read the full Configure processes and communications explanation →

A developer reports that their Azure DevOps pipeline is failing with 'Access denied' when trying to push to a protected branch. The branch policy requires a successful build and approval from the 'Code Owners' group. The developer is a member of 'Contributors' but not 'Code Owners'. What is the most likely cause?

Question 109hardmultiple choice
Read the full Configure processes and communications explanation →

Your organization uses GitHub and wants to enforce that all commits to the main branch are signed with a GPG key that is verified against the user's GitHub account. Additionally, you want to block unsigned commits even if the committer is a repository admin. Which configuration should you use?

Question 110mediummultiple choice
Read the full Configure processes and communications explanation →

Your team uses Azure DevOps and wants to automate the creation of work items when a build pipeline fails. The work item should be assigned to the last person who committed a change in the failed build. Which approach should you use?

Question 111easymultiple choice
Read the full Configure processes and communications explanation →

Your team is adopting GitHub Discussions for community Q&A. You want to ensure that only maintainers can create new discussion categories, but any authenticated user can create discussion posts within existing categories. How should you configure this?

Question 112hardmultiple choice
Read the full Configure processes and communications explanation →

Your organization uses GitHub and wants to implement a policy that requires all pull requests to be approved by at least two members of the 'security-team' team before merging. The 'security-team' team is a child team of 'engineering'. Which branch protection rule setting should you use?

Question 113mediummulti select
Read the full Configure processes and communications explanation →

Your team uses Azure DevOps and wants to enforce that all work items must be linked to a pull request before merging. Additionally, the pull request must be approved by at least two reviewers. Which two branch policies should you enable?

Question 114mediummulti select
Read the full Configure processes and communications explanation →

Your organization uses GitHub and wants to ensure that all commits to the main branch are associated with a GitHub issue. Which three settings should you configure?

Question 115easymulti select
Read the full Configure processes and communications explanation →

Your team uses Azure DevOps and wants to automate the creation of a bug work item when a release pipeline fails. Which two actions should you take?

Question 116easymulti select
Read the full Configure processes and communications explanation →

Your organization uses GitHub and wants to automatically assign pull request reviewers based on the files changed. Which three steps should you take?

Question 117hardmultiple choice
Read the full Configure processes and communications explanation →

Refer to the exhibit. You are reviewing an Azure DevOps YAML pipeline. The pipeline is configured with a webhook trigger from GitHub for pull request opened events. However, the pipeline does not trigger when a PR is opened. What is the most likely cause?

Exhibit

{
  "pipelines": [
    {
      "name": "CI",
      "trigger": "none",
      "resources": {
        "webhooks": [
          {
            "webhookName": "GitHubPR",
            "connection": "GitHubConnection",
            "filters": [
              {"path": "action", "value": "opened"}
            ]
          }
        ]
      },
      "steps": [
        {"script": "echo Build triggered via webhook"}
      ]
    }
  ]
}
Question 118mediummultiple choice
Read the full Configure processes and communications explanation →

Refer to the exhibit. You are reviewing the branch policy configuration for the main branch in Azure DevOps. The policy requires a successful status check for 'continuous-integration/azure-devops' but not for 'security-scanner'. The minimum approver count is 0 and direct push is disallowed. What is the effect of this policy?

Exhibit

{
  "branchPolicies": [
    {
      "scope": [
        {"repositoryName": "MyRepo", "branchName": "main"}
      ],
      "isEnabled": true,
      "settings": {
        "statusChecks": [
          {"context": "continuous-integration/azure-devops", "required": true},
          {"context": "security-scanner", "required": false}
        ],
        "minimumApproverCount": 0,
        "allowDirectPush": false
      }
    }
  ]
}
Question 119hardmultiple choice
Read the full Configure processes and communications explanation →

Your organization uses Azure DevOps and has a strict compliance requirement: all changes to the main branch must be reviewed by at least two members of the 'ComplianceTeam' group. Additionally, a static code analysis tool must run and its results must be published to the pull request. The ComplianceTeam is a custom group defined in Azure DevOps, not a Microsoft Entra ID group. The team wants to enforce this using branch policies. You need to configure the minimum number of reviewers and also ensure that the code analysis results are visible to reviewers. What should you do?

Question 120mediummultiple choice
Read the full NAT/PAT explanation →

Your team uses GitHub and wants to implement a policy that requires all pull requests to have a successful status check from a GitHub Actions workflow that runs unit tests. Additionally, the policy should require that the PR author is not allowed to merge their own PR. The repository is for a critical application and the main branch is protected. You need to configure the branch protection rules. Which combination of settings should you use?

Question 121easymultiple choice
Read the full Configure processes and communications explanation →

Your organization uses Azure DevOps and has a project with multiple teams. The 'AlphaTeam' wants a branch policy on their feature branch 'feature/alpha' that requires a successful build from the CI pipeline and approval from at least one member of 'AlphaTeam'. However, the 'BetaTeam' should be able to push directly to 'feature/alpha' without a pull request. You need to configure the branch policy accordingly. What should you do?

Question 122easymulti select
Read the full Configure processes and communications explanation →

You are designing a process to manage work item tracking in Azure Boards. Your team uses a custom process based on the Agile template. You need to ensure that when a bug is resolved, the associated user story is automatically moved to the 'Done' state. Which TWO approaches can you use to achieve this?

Question 123hardmultiple choice
Read the full Configure processes and communications explanation →

Your team manages a large-scale microservices application deployed on Azure Kubernetes Service (AKS). The code is hosted in Azure Repos, and you use Azure Pipelines for CI/CD. You have recently adopted GitHub Copilot for code suggestions. Your compliance team requires that all pipeline runs include a security scan using Microsoft Defender for Cloud. Additionally, all pull requests must have at least two reviewers from separate teams before merging. The current pipeline completes in 45 minutes, and you want to minimize overhead. You need to design a process that enforces these requirements without degrading developer productivity. Which approach should you recommend?

Question 124mediummultiple choice
Read the full NAT/PAT explanation →

Your company uses GitHub Enterprise for source control and GitHub Actions for CI/CD. The development team is distributed across three time zones. You are designing a process to improve communication and collaboration for code reviews. The team currently uses email notifications for pull request reviews, which often get missed. You want to implement a more efficient system that integrates with Microsoft Teams and provides real-time updates. Additionally, you need to ensure that critical pull requests (e.g., those affecting production) are escalated if not reviewed within 4 hours. You also want to automatically assign reviewers based on the files changed. Which combination of actions should you take?

Question 125easymultiple choice
Read the full Configure processes and communications explanation →

Your organization is adopting Azure DevOps to manage a new project for a client. The client requires that all work items be linked to Git commits and pull requests. Additionally, they want a dashboard that shows the team's velocity and work item trends. You are responsible for setting up the project and configuring the necessary integrations. The team uses a Scrum process with Sprints. You have already created the project and imported the work items. What should you do next to meet the client's requirements?

Practice tests

Scored 10-question sessions with instant feedback and explanations.

AZ-400 Practice Test 1 — 10 Questions→AZ-400 Practice Test 2 — 10 Questions→AZ-400 Practice Test 3 — 10 Questions→AZ-400 Practice Test 4 — 10 Questions→AZ-400 Practice Test 5 — 10 Questions→AZ-400 Practice Exam 1 — 20 Questions→AZ-400 Practice Exam 2 — 20 Questions→AZ-400 Practice Exam 3 — 20 Questions→AZ-400 Practice Exam 4 — 20 Questions→Free AZ-400 Practice Test 1 — 30 Questions→Free AZ-400 Practice Test 2 — 30 Questions→Free AZ-400 Practice Test 3 — 30 Questions→AZ-400 Practice Questions 1 — 50 Questions→AZ-400 Practice Questions 2 — 50 Questions→AZ-400 Exam Simulation 1 — 100 Questions→

Practice by domain

Each domain maps to a weighted exam section. Focus on the domain where you are weakest.

Configure processes and communicationsDesign and implement source controlDesign and implement build and release pipelinesDevelop a security and compliance planImplement an instrumentation strategyDesign and implement a DevOps infrastructureDesign and implement a source control strategy

Practice by scenario

Filter questions by type — troubleshooting, exhibit, drag-and-drop, PBQ, ACLs, OSPF, and more.

Browse scenarios→

Continue studying

All Configure processes and communications setsAll Configure processes and communications questionsAZ-400 Practice Hub