Bash, the Crucial Exams Chat Bot
AI Bot

Implementing Continuous Integration  Flashcards

Microsoft DevOps Engineer Expert AZ-400 Flashcards

What is the 'condition' property in a pipeline step
Code coverage, linting, and running unit tests
A configuration file defining steps of a pipeline in an easy-to-read format
What is the purpose of automated unit testing
Executes a job or stage only once during the pipeline run
Command to add a Git remote repository
What is a YAML file in Azure Pipelines
Common build validation methods in CI
git remote add [name] [repository URL]
A condition that determines whether a particular step will execute
What does the 'runOnce' deployment strategy in YAML do
To ensure individual units of source code work as expected
FrontBack
Benefit of integrating Git repositories in a CI pipelineAutomatic fetching of the latest code for building and testing
Best practice for naming pipelinesUse descriptive names that reflect the pipeline's purpose, such as "Build-Frontend-App" or "Test-Backend-API"
Command to add a Git remote repositorygit remote add [name] [repository URL]
Command to fetch the latest changes from a Git repositorygit pull
Command to run a build pipeline in Azure DevOpsTriggered by committing code to the repository or manually initiating
Common build validation methods in CICode coverage, linting, and running unit tests
Core components of a YAML pipeline in Azure DevOpsTrigger, stages, jobs, steps
How can you ensure a pipeline runs on a specific agent poolSpecify the agent pool name within the 'pool' section of the pipeline YAML
How do you secure sensitive data in a build pipelineUse Azure DevOps secrets and environment variables
How to enable parallel jobs in a build pipelineDefine multiple jobs in the 'stages' section and mark them for parallel execution
How to link a GitHub repository to Azure PipelinesUse the "GitHub" option when setting up a new pipeline and authenticate with your GitHub account
How to set up a new pipeline in Azure DevOpsNavigate to the Pipelines section and use the "New Pipeline" option to configure a new build or release process
How to specify the branch for a pipeline in YAMLUse the 'trigger' section and define the branches to monitor
How to store reusable code or templates in Azure PipelinesUse templates in YAML files to define reusable pipeline components
How to test a pipeline change before applying it to a main branchUse a feature branch to create and run the pipeline changes before merging
How to view pipeline execution logs in Azure PipelinesNavigate to the pipeline run and select the job or task to view detailed logs
Key benefit of Continuous IntegrationEarly detection of integration bugs and reduced integration effort
Key benefit of using YAML pipelines over classic UI pipelinesVersion control and ease of sharing the pipeline configuration
Key metric for evaluating CI pipelinesBuild frequency and success rate
Primary tool in Azure DevOps for creating pipelinesAzure Pipelines
Tool in Azure DevOps for managing pull requestsAzure Repos
What does 'checkout' do in a YAML pipelineFetches source code from the repository for the pipeline to work on
What does 'CI/CD' stand forContinuous Integration and Continuous Deployment or Delivery
What does caching do in a build pipelineStores dependencies or outputs to reduce build times for future runs
What does the 'runOnce' deployment strategy in YAML doExecutes a job or stage only once during the pipeline run
What does the 'trigger' section in a YAML pipeline defineThe events that will start the pipeline
What is a build pipelineAn automated process that compiles source code, runs tests, and creates deployable artifacts
What is a self-hosted agentAn agent installed on your own infrastructure to execute pipeline jobs
What is a YAML file in Azure PipelinesA configuration file defining steps of a pipeline in an easy-to-read format
What is conditional execution in a build pipelineRunning certain steps or tasks only if specified conditions are met
What is Continuous IntegrationA development practice where developers frequently integrate code into a shared repository to detect issues early
What is the 'agent' in an Azure Pipeline jobA virtual machine or container where the pipeline runs
What is the 'condition' property in a pipeline stepA condition that determines whether a particular step will execute
What is the purpose of 'stages' in a build pipelineTo organize and divide the pipeline into sequential or parallel steps
What is the purpose of a build artifactTo package the output of a build process for use in deployment or later stages
What is the purpose of automated unit testingTo ensure individual units of source code work as expected
What is the purpose of continuous feedbackTo provide developers with immediate insights on their changes
Front
What is the 'condition' property in a pipeline step
Click the card to flip
Back
A condition that determines whether a particular step will execute
Front
How to enable parallel jobs in a build pipeline
Back
Define multiple jobs in the 'stages' section and mark them for parallel execution
Front
Key benefit of Continuous Integration
Back
Early detection of integration bugs and reduced integration effort
Front
Command to add a Git remote repository
Back
git remote add [name] [repository URL]
Front
Tool in Azure DevOps for managing pull requests
Back
Azure Repos
Front
What does 'CI/CD' stand for
Back
Continuous Integration and Continuous Deployment or Delivery
Front
What is Continuous Integration
Back
A development practice where developers frequently integrate code into a shared repository to detect issues early
Front
What is a YAML file in Azure Pipelines
Back
A configuration file defining steps of a pipeline in an easy-to-read format
Front
Primary tool in Azure DevOps for creating pipelines
Back
Azure Pipelines
Front
How to set up a new pipeline in Azure DevOps
Back
Navigate to the Pipelines section and use the "New Pipeline" option to configure a new build or release process
Front
Key metric for evaluating CI pipelines
Back
Build frequency and success rate
Front
Key benefit of using YAML pipelines over classic UI pipelines
Back
Version control and ease of sharing the pipeline configuration
Front
What is the purpose of a build artifact
Back
To package the output of a build process for use in deployment or later stages
Front
What does the 'runOnce' deployment strategy in YAML do
Back
Executes a job or stage only once during the pipeline run
Front
How do you secure sensitive data in a build pipeline
Back
Use Azure DevOps secrets and environment variables
Front
How to view pipeline execution logs in Azure Pipelines
Back
Navigate to the pipeline run and select the job or task to view detailed logs
Front
How to link a GitHub repository to Azure Pipelines
Back
Use the "GitHub" option when setting up a new pipeline and authenticate with your GitHub account
Front
Best practice for naming pipelines
Back
Use descriptive names that reflect the pipeline's purpose, such as "Build-Frontend-App" or "Test-Backend-API"
Front
How to specify the branch for a pipeline in YAML
Back
Use the 'trigger' section and define the branches to monitor
Front
How can you ensure a pipeline runs on a specific agent pool
Back
Specify the agent pool name within the 'pool' section of the pipeline YAML
Front
How to store reusable code or templates in Azure Pipelines
Back
Use templates in YAML files to define reusable pipeline components
Front
What is the purpose of 'stages' in a build pipeline
Back
To organize and divide the pipeline into sequential or parallel steps
Front
What does the 'trigger' section in a YAML pipeline define
Back
The events that will start the pipeline
Front
Core components of a YAML pipeline in Azure DevOps
Back
Trigger, stages, jobs, steps
Front
What is the 'agent' in an Azure Pipeline job
Back
A virtual machine or container where the pipeline runs
Front
What is conditional execution in a build pipeline
Back
Running certain steps or tasks only if specified conditions are met
Front
How to test a pipeline change before applying it to a main branch
Back
Use a feature branch to create and run the pipeline changes before merging
Front
Command to run a build pipeline in Azure DevOps
Back
Triggered by committing code to the repository or manually initiating
Front
What does caching do in a build pipeline
Back
Stores dependencies or outputs to reduce build times for future runs
Front
Common build validation methods in CI
Back
Code coverage, linting, and running unit tests
Front
What is the purpose of continuous feedback
Back
To provide developers with immediate insights on their changes
Front
What is a self-hosted agent
Back
An agent installed on your own infrastructure to execute pipeline jobs
Front
What is a build pipeline
Back
An automated process that compiles source code, runs tests, and creates deployable artifacts
Front
What does 'checkout' do in a YAML pipeline
Back
Fetches source code from the repository for the pipeline to work on
Front
Benefit of integrating Git repositories in a CI pipeline
Back
Automatic fetching of the latest code for building and testing
Front
What is the purpose of automated unit testing
Back
To ensure individual units of source code work as expected
Front
Command to fetch the latest changes from a Git repository
Back
git pull
1/37
This deck covers configuring build pipelines, integrating Git repositories, and setting up automated unit testing within Azure DevOps.
Share on...
Follow us on...