AZ-400 Design and implement source control • Complete Question Bank
Complete AZ-400 Design and implement source control question bank — all 0 questions with answers and detailed explanations.
Error from Azure DevOps pipeline: ##[error]No hosted parallelism has been purchased or granted. To request a free parallelism grant, please fill out the following form https://aka.ms/azpipeline-parallelism-request ##[error]The remote provider was unable to process the request. Please try again later.
Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Drag a concept onto its matching description — or click a concept then click the description.
Uses develop and feature branches with release branches
Feature branches merged to main with pull requests
Short-lived branches merged frequently to main
Main branch with release branches for production
Drag a concept onto its matching description — or click a concept then click the description.
Accessible to all projects in the organization
Accessible only within a specific project
Caches packages from external sources like NuGet.org
Filters packages by release status (e.g., prerelease)
# Azure DevOps pipeline YAML snippet
trigger:
branches:
include:
- main
- release/*
exclude:
- feature/*
pool:
vmImage: 'ubuntu-latest'
steps:
- script: echo Hello, world!
displayName: 'Run a one-line script'
- task: DotNetCoreCLI@2
inputs:
command: 'restore'
projects: '**/*.csproj'
- task: DotNetCoreCLI@2
inputs:
command: 'build'
projects: '**/*.csproj'
- task: DotNetCoreCLI@2
inputs:
command: 'test'
projects: '**/*.csproj'Azure DevOps pipeline YAML snippet:
stages:
- stage: Build
jobs:
- job: BuildJob
steps:
- script: echo Building...
- stage: Deploy
dependsOn: Build
condition: eq(variables['Build.SourceBranch'], 'refs/heads/main')
jobs:
- job: DeployJob
steps:
- script: echo Deploying...Azure DevOps Git repository configuration: Branch policies: - Branch: main Required reviewers: 2 Minimum number of reviewers: 1 Reset code reviewer votes when new changes are pushed: true Automatically include code reviewers: ["user1@contoso.com", "user2@contoso.com"]
Azure DevOps Pipeline resource trigger configuration:
resources:
repositories:
- repository: shared
type: git
name: MyProject/SharedRepo
trigger:
branches:
include:
- main
- release/*