Bash, the Crucial Exams Chat Bot
AI Bot

Implementing Continuous Integration  Flashcards

Microsoft DevOps Engineer Expert AZ-400 Flashcards

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
This deck covers configuring build pipelines, integrating Git repositories, and setting up automated unit testing within Azure DevOps.
Share on...
Follow us on...