Begriffe Flashcards
A team is planning on using Azure DevOps boards and use the Agile process. Which of the following is a chart can be used to measure the time taken for the team to complete the work items once they begin to actively work on the items?
Cycle Time Chart
A team is planning on using Azure DevOps boards and use the Agile process. Which of the following can be used to plan, prioritize, and organize the work for a team to do within a product?
Backlog
Which of the following is a process you can choose in Azure DevOps for your project if you just want a simple model that helps to track Issues, Tasks and Epics?
Basic
Burnup Chart
Ein Burnup Chart dient in Scrum dazu die fertiggestellte Arbeit oder Aufgaben darzustellen. Diese Charts helfen bei der Visualisierung und Übersicht.
Burndown Chart
Ein Burn-Down-Chart ist eine grafische Darstellung für den verbleibenden Aufwand in einem Projekt, in Relation zur verbleibenden Zeit. Die noch zu erledigende Arbeit wird üblicherweise auf der senkrechten Achse dargestellt, die Zeit auf der waagerechten.
Git
Contains a version controll system / decentralized system
GitHub
Git repositories hosted in the internet
Trello
Planungstool - Trello ist ein auf Kanban basierender Aufgaben-Verwaltungs-Onlinedienst
Jira
Fehlerbehandlung, Problem Behandlung operatives Projektmanagement.
Jenkins
CI-Tool. open source automation server which enables developers around the world to reliably build, test, and deploy their software.
Chef
configuration management technology used to automate the infrastructure provisioning. SImilar to Puppet.
Selenium
free (open source) automated testing suite for web applications across different browsers and platforms.
Datadog
Infrastructure and Applikation Monitoring
WhiteSource Bolt
Check OpenSource for finding Vulnerabilities (including Lizense Issues) - Free Version 5 Scnas per day and repository
SonarQuobe (Sonarcloud)
open-source platform for continuous inspection of code quality to perform automatic reviews. Static Code Analyses -measuring code quality
How can we find Technical Debt?
SonarQube -> Maintainability -> Technical Debt
Communikation with / integrate with Azure DevOps
Teams or Slack
What is Technical Debt
Anything that could slow the entire development process. As Technical Debt increases it can become more difficullt to make changes to the code
What can cuse Technical Debt?
developers under pressure; improper code, bad coding practises, design not done properly, no reviews of code quality
EPIC
log group os user stories
flaky tests
tests can fail - even if the code or infrstruktur are the same.laky TestO –>can be detection by System or custom
Parallel Jobs
Pipelines- Parallel Jobs - only one - can purchase or wait for free agent
job: '-job:Linux pool: Area1 steps: '-script:echo Azure DevOps
Area1
vmImage:’ubuntu-latest’
What do you have to setup for continuous integration with Jenkins
service hook in Azure DevOps project
How can you check Code Coverage
For .Net based applications, you can use the .Net Core CLI task to generate code coverage reports.
For Java based applications, you can use the Cobertura tool
Static Code Analysis
For Java you have PMD - https://pmd.github.io/
For .Net you can use Visual Studio itself -
RDP Port
3389
Virtual Machine - you want to publish your project
Management Service
Apply DSC on other vms
OnPrem plus other Cloud Environments
flaky test - rule of thumb
As a rule of thumb, if you face a flaky test, do not assume that this is a test problem. You should suspect production code first and then the test.
What is a flaky test
It’s a test that sometimes fails, but if you retry it enough times, it passes, eventually
Deployment Group
logical set of deployment target machines that have the agents installed.
How to create a Deployment Group
Create a virtual machine (Install IIS and the Hosting Bundle)
Register the server in Azure Pipeline in a Deployment Group
Use Azure Pipeline to deploy an APS.Net Core application to the deployment group
What is agentless?
??
What is Helm
A Package management Solution for applications that need to be deployed onto kubernetes cluster.
Nuget
A Package management Solution for applications that for dot.net
What is a chart in Helm?
a package
System.ArtifactsDirectory
Das Verzeichnis wird vor jeder Bereitstellung gelöscht, wenn Artefakte auf den Agent heruntergeladen werden müssen. Identisch mit Agent.ReleaseDirectory und System.DefaultWorkingDirectory.
System.DefaultWorkingDirectory
C:\agent_work\r1\a
System.WorkFolder
Identisch mit Agent.RootDirectory und Agent.WorkFolder.
C:\agent_work
BlueGreen Deployment Strategy
Blue old, Grenn newer Environment. Advantage: Can test green before switch over; Quick qwitchover to new environment; Can switch back. Switch can be seered with Load Balancer.
Canary Deployment
Azure Traffic Manager with Weighted Routing Service, it is possible to direct a subset to the old and some (20%) to the new environment.
Rolling Deployment
Ex. 4 VM and the update will be performed 1 by 1: 1-> 2-> 3->4.
Feature Flags
Enable or disable the new features - test a feature and be easy to disble new features
Deployment Slots
Current Version on Production SLot. Newer Version will be deployed on a staging slot. ou can validate the staging slot with newer Version. You can swap the slot and rollback possible. Reduced downtime.
Traffic Manager Service
Global Service, on DNS Lavel,
Your company is planning on building release pipelines with the Azure Pipeline service. They want to ensure that changes are deployed onto the production stage only if there are no active bugs defined as work items in Azure Boards. Which of the following can be used for this requirement?
Deployment Gates
You are building a pipeline that will build an application using container jobs.
trigger:
-master
“Area”
-vmimage:”unbuntu-latest”
Area = pool
Here you would specify the pool that would be running the agent
You are building a pipeline that will build an application using container jobs.
“AREA”:mcr.microsoft.com/dotnet/core/sdk:3.1
Area=container
Since this is a container job, you would mention the container that would be used to run the job.
Your company is planning on building iOS mobile based applications. You have to provide a solution that would ensure the following
1) Be able to build the application when changes are made to the source code
2) Be able to collect information on crashes and errors in the application
Which of the following service could be part of the recommendation?
Visual Studio App Center
Your company is going to deploy container-based applications via Container Instances. Which of the following can be configured in the container instance to support restarting containers that have broken states?
Liveness Probe
Your company is planning on using Azure Web Apps along with Application Insights. You have to create alerts based on the following requirement
“ Generate an alert if the URL https://cloudportalhub.com gives a response code of 500 during a time span of 10 minutes”
Which of the following can be used for this requirement?
Availabilty Tests
You have to create an alert in Azure Monitor. The alert needs to invoke an Azure Function. Which of the following type of trigger would you set for the Azure Function?
HTTP Trigger
Your company has an Azure DevOps project and a cloud-based Jenkins server. You have to ensure that Azure DevOps sends a notification to the Jenkins server when a developer commits changes to a branch in Azure Repos.
You decide to create a service hook subscription that uses the build completed event
Would this fulfil the requirement?
NO
Your company has an Azure DevOps project and a cloud-based Jenkins server. You have to ensure that Azure DevOps sends a notification to the Jenkins server when a developer commits changes to a branch in Azure Repos.
You decide to add a trigger to the build pipeline
Would this fulfil the requirement?
NO
Your company has an Azure DevOps project and a cloud-based Jenkins server. You have to ensure that Azure DevOps sends a notification to the Jenkins server when a developer commits changes to a branch in Azure Repos.
You decide to create a service hook subscription that uses the code pushed event
Would this fulfil the requirement?
Yes
Your company has an Azure DevOps project and a cloud-based Jenkins server. You have to ensure that Azure DevOps sends a notification to the Jenkins server when a developer commits changes to a branch in Azure Repos.
You decide to create an email subscription to an Azure DevOps notification
No
Your company is currently using Azure DevOps. They want to use Azure pipelines for the build process for a Java based application. You have to implement the build process as per the following requirements
a) The builds must access an on-premises dependency management system
b) The build outputs need to be stored as Server artifacts in Azure DevOps
c) The source code needs to be stored in a Git repository in Azure DevOps
You decide to configure a build pipeline that uses a Hosted Ubuntu agent pool. You then include the Java Tool Installer task in the build pipeline.
Would this fulfil the requirement?
NO
Your company is currently using Azure DevOps. They want to use Azure pipelines for the build process for a Java based application. You have to implement the build process as per the following requirements
a) The builds must access an on-premises dependency management system
b) The build outputs need to be stored as Server artifacts in Azure DevOps
c) The source code needs to be stored in a Git repository in Azure DevOps
You decide to install and configure a self-hosted agent on an on-premises machine. Then go ahead and configure the build pipeline to use the Default agent pool. Then include the Java Tool Installer task in the build pipeline.
Would this fulfil the requirement?
Yes
Your company is currently using Azure DevOps. They want to use Azure pipelines for the build process for a Java based application. You have to implement the build process as per the following requirements
a) The builds must access an on-premises dependency management system
b) The build outputs need to be stored as Server artifacts in Azure DevOps
c) The source code needs to be stored in a Git repository in Azure DevOps
You decide to configure the build pipeline to use a Hosted VS 2017 agent pool. Then include the Java Tool Installer task in the build pipeline.
Would this fulfil the requirement?
No
Your company is currently working on the development of an application. The senior developer is reporting that new application features are taking longer to add because of the large accumulated technical debt. You have to recommend a strategy to reduce the accumulated technical debt
You recommend reducing the complexity of the code
Would this fulfil the requirement?
Yes
Your company is currently working on the development of an application. The senior developer is reporting that new application features are taking longer to add because of the large accumulated technical debt. You have to recommend a strategy to reduce the accumulated technical debt
You decide to increase the test coverage
Would this fulfil the requirement?
Yes
Your company is currently working on the development of an application. The senior developer is reporting that new application features are taking longer to add because of the large accumulated technical debt. You have to recommend a strategy to reduce the accumulated technical debt
You recommend on increasing code duplication
Would this fulfil the requirement?
No
our company currently uses Azure DevOps for the build and release of various applications. Now the company wants to ensure the following issues are identified during the development process
a) Any sort of licensing violations
b) Any use of Prohibited libraries
You decide to implement automated security testing
Would this fulfil the requirement?
Yes
Your company currently uses Azure DevOps for the build and release of various applications. Now the company wants to ensure the following issues are identified during the development process
a) Any sort of licensing violations
b) Any use of Prohibited libraries
You decide to implement pre-deployment gates
Would this fulfil the requirement?
No
Your company currently uses Azure DevOps for the build and release of various applications. Now the company wants to ensure the following issues are identified during the development process
a) Any sort of licensing violations
b) Any use of Prohibited libraries
You decide to implement continuous integration
Would this fulfil the requirement?
No
Your company is planning on using Azure DevOps for managing the build and release processes for a set of applications. Git repositories would be used for source control.
You have to implement a pull strategy that would reduce the history volume in the master branch.
You decide to implement a pull strategy that uses fast-forward merges
Would this fulfil the requirement?
No
Your company is planning on using Azure DevOps for managing the build and release processes for a set of applications. Git repositories would be used for source control.
You have to implement a pull strategy that would reduce the history volume in the master branch.
You decide to implement a pull strategy that uses squash merges
Would this fulfil the requirement?
Yes
Your company is planning on using Azure DevOps for managing the build and release processes for a set of applications. Git repositories would be used for source control.
You have to implement a pull strategy that would reduce the history volume in the master branch.
You decide to implement a pull strategy that uses an explicit merge
Would this fulfil the requirement?
No
Your company is planning on using Azure DevOps for managing the build and release processes for a set of applications. Git repositories would be used for source control.
You have to implement a pull strategy that would reduce the history volume in the master branch.
You decide to implement a pull strategy that uses a three-way merge
Would this fulfil the requirement?
No
Your company is currently using an Azure pipeline to build and test a React.js application. The pipeline has a job that includes the installation of JavaScript packages from npm. The task of installation of the JavaScript packages takes approximately five minutes each time the pipeline is run. You have to recommend a solution to reduce the time the pipeline runs.
You decide to enable parallel jobs for the pipeline
Would this fulfil the requirement?
No
Your company is currently using an Azure pipeline to build and test a React.js application. The pipeline has a job that includes the installation of JavaScript packages from npm. The task of installation of the JavaScript packages takes approximately five minutes each time the pipeline is run. You have to recommend a solution to reduce the time the pipeline runs.
You recommend implementing pipeline caching
Would this fulfil the requirement?
Yes
Your company is currently using an Azure pipeline to build and test a React.js application. The pipeline has a job that includes the installation of JavaScript packages from npm. The task of installation of the JavaScript packages takes approximately five minutes each time the pipeline is run. You have to recommend a solution to reduce the time the pipeline runs.
You recommend defining a container job that uses a custom container that has the JavaScript packages preinstalled.
Would this fulfil the requirement?
Yes
Your company has currently setup an Azure DevOps project. You have to ensure that when the code is checked in, a build runs automatically.
You decide to the implement the following step
“From the Continuous deployment trigger settings of the release pipeline, you enable the Pull request trigger setting”
Would this fulfil the requirement?
No
Your company has currently setup an Azure DevOps project. You have to ensure that when the code is checked in, a build runs automatically.
You decide to the implement the following step
“From the Triggers tab of the build pipeline, you selected Batch changes while a build is in progress”
Would this fulfil the requirement?
No
Your company has currently setup an Azure DevOps project. You have to ensure that when the code is checked in, a build runs automatically.
You decide to the implement the following step
“From the Triggers tab of the build pipeline, you select Enable continuous integration”
Would this fulfil the requirement?
Yes
You have to create an Azure DevOps pipeline that will be used to deploy the following resources with the use of Azure Resource Manager templates
a) Two resource groups
b) Four Azure virtual machines that will be deployed to one resource group
c) Two Azure SQL Databases that will be deployed to another resource group
You have to create a solution that will be used to deploy the resources
You decide to create a single standalone template that will deploy the resources
Would this fulfil the requirement?
No
You have to create an Azure DevOps pipeline that will be used to deploy the following resources with the use of Azure Resource Manager templates
a) Two resource groups
b) Four Azure virtual machines that will be deployed to one resource group
c) Two Azure SQL Databases that will be deployed to another resource group
You have to create a solution that will be used to deploy the resources
You decide to create a main template that will be used to deploy the resources in one resource group and a nested template that will deploy the resources in another resource group
Would this fulfil the requirement?
Yes
You have to create an Azure DevOps pipeline that will be used to deploy the following resources with the use of Azure Resource Manager templates
a) Two resource groups
b) Four Azure virtual machines that will be deployed to one resource group
c) Two Azure SQL Databases that will be deployed to another resource group
You have to create a solution that will be used to deploy the resources
You decide to create a main template that has two linked templates. Each template will deploy the resources in their respective groups.
Would this fulfil the requirement?
Yes
You have to create an Azure DevOps pipeline that will be used to deploy the following resources with the use of Azure Resource Manager templates
a) Two resource groups
b) Four Azure virtual machines that will be deployed to one resource group
c) Two Azure SQL Databases that will be deployed to another resource group
You have to create a solution that will be used to deploy the resources
You decide to create two standalone templates, each of which will deploy the resources in their respective groups.
Would this fulfil the requirement?
Yes
Your company currently makes use of Azure pipelines. A pipeline is defined that contains a condition. This condition is based on an approval process. The condition is configured in such a way that releases need to be approved by the team lead before they are deployed. It needs to be ensured that the approvals occur within a duration of eight hours. But its discovered that the deployments fail if the approval takes longer than two hours.
You have to ensure that the deployment fails only if the approval takes longer than eight hours.
From the Post-deployment conditions, you decide to modify the Timeout setting for post-deployment approvals
Does this meet the requirement?
NO
Your company currently makes use of Azure pipelines. A pipeline is defined that contains a condition. This condition is based on an approval process. The condition is configured in such a way that releases need to be approved by the team lead before they are deployed. It needs to be ensured that the approvals occur within a duration of eight hours. But its discovered that the deployments fail if the approval takes longer than two hours.
You have to ensure that the deployment fails only if the approval takes longer than eight hours.
From the Pre-deployment conditions, you decide to modify the Time between re-evaluation of gates.
Does this meet the requirement?
NO
Your company currently makes use of Azure pipelines. A pipeline is defined that contains a condition. This condition is based on an approval process. The condition is configured in such a way that releases need to be approved by the team lead before they are deployed. It needs to be ensured that the approvals occur within a duration of eight hours. But its discovered that the deployments fail if the approval takes longer than two hours.
You have to ensure that the deployment fails only if the approval takes longer than eight hours.
From the Pre-deployment conditions, you decide to modify the Time between re-evaluation of gates.
Does this meet the requirement?
Yes
Your company has an Azure DevOps project. They have to create several build pipelines that would deploy artifacts to an on-premises server.
They decide to deploy a Kubernetes cluster on-premises. They then deploy a Helm agent to the cluster. Then they use the Build Artifacts task to the deployment pipeline
Would this fulfil the requirement?
No
Your company has an Azure DevOps project. They have to create several build pipelines that would deploy artifacts to an on-premises server.
They decide to deploy a Docker build to the on-premises server. They then add a Download Build Artifacts task to the deployment pipeline
Would this fulfil the requirement?
No
Your company has an Azure DevOps project. They have to create several build pipelines that would deploy artifacts to an on-premises server.
They decide to deploy a Docker build to the on-premises server. They then add a Download Build Artifacts task to the deployment pipeline
Would this fulfil the requirement?
Yes