0% found this document useful (0 votes)
47 views22 pages

Azure DevOps Configuration and Deployment Guide

The document discusses various Azure DevOps features and tasks related to application deployment, artifact management, and testing. It covers topics such as variable groups, build artifact publishing, retention policies, quality gates, service connections, and the use of Azure Key Vault for managing sensitive information. Additionally, it highlights the importance of Infrastructure as Code (IaC) and the integration of Azure Artifacts with package management systems like Maven and NuGet.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views22 pages

Azure DevOps Configuration and Deployment Guide

The document discusses various Azure DevOps features and tasks related to application deployment, artifact management, and testing. It covers topics such as variable groups, build artifact publishing, retention policies, quality gates, service connections, and the use of Azure Key Vault for managing sensitive information. Additionally, it highlights the importance of Infrastructure as Code (IaC) and the integration of Azure Artifacts with package management systems like Maven and NuGet.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

1.

You need to manage the deployment of an application across multiple


environments with different configurations. Which Azure DevOps feature
allows you to manage these configurations effectively?
Variable Groups

Which task would you use to publish build artifacts in an Azure Pipeline?
[[fieldinquestionpre]]
a.
Archive Files
b.
Copy Files
c.
Install Dependencies
d.
Publish Artifacts
Feedback
The correct answer is: Publish Artifacts
Question 3
Correct
Mark 1.00 out of 1.00

Flag question

Question text
In Azure Pipelines, what is the default retention policy for build artifacts?
[[fieldinquestionpre]]
a.
Retain all builds indefinitely
b.
Retain builds for 30 days
c.
Retain builds for 90 days
d.
Retain only the latest build
Feedback
The correct answer is: Retain builds for 30 days

Question 4
Correct
Mark 1.00 out of 1.00

Flag question
Question text
Your team is deploying a critical application to production. To ensure the
deployment is successful and doesn't impact performance, you want to
implement a gate that checks the application's response time. Which of the
following gate types would be most suitable for this scenario?
[[fieldinquestionpre]]
a.
Quality gate
b.
Deployment gate
c.
Manual gate
d.
Approval gate
Feedback
The correct answer is: Quality gate

Question 5
Incorrect
Mark 0.00 out of 1.00

Flag question

Question text
In Azure Pipelines, what is the purpose of a “service connection”?
[[fieldinquestionpre]]
a.
To publish build artifacts
b.
To manage access to resources in external services like Azure or GitHub
c.
To define pipeline stages
d.
To create test cases
Feedback
The correct answer is: To manage access to resources in external services
like Azure or GitHub
Your organization requires that a security vulnerability scan is performed on all
Docker images before they are pushed to the production environment. Which
tool can you integrate into your Azure DevOps pipeline to achieve this?
[[fieldinquestionpre]]
a.
WhiteSource Bolt
b.
Azure Container Registry Tasks
c.
Azure Security Center
d.
SonarQube
Feedback
The correct answer is: Azure Container Registry Tasks
Your team wants to create a central repository for documenting best practices,
troubleshooting steps, and other relevant information. Which of the
following Azure DevOps features would be most suitable for this purpose?
[[fieldinquestionpre]]
a.
Azure Project Wiki
b.
Azure Artifacts
c.
Azure Boards
d.
Azure Pipelines
Feedback
The correct answer is: Azure Project Wiki

Your team is building a microservices architecture with multiple services. How


can Azure App Configuration be used to manage configuration settings centrally
for all services?
[[fieldinquestionpre]]
a.
By using environment variables for each service and updating them manually.
b.
By using feature flags to control the rollout of different configuration settings.
c.
By defining configuration settings and their values within the Azure App
Configuration service.
d.
By creating separate configuration stores for each service.
Feedback
The correct answer is: By defining configuration settings and their values within
the Azure App Configuration service.
What are the key differences between Bicep templates and Azure Resource
Manager (ARM) templates?
[[fieldinquestionpre]]
a.
Bicep templates does not provide features like variables and modules.
b.
Bicep templates are more readable and easier to write than ARM templates.
c.
Bicep templates are only compatible with Azure DevOps pipelines.
d.
ARM templates are more flexible and support a wider range of Azure resources.
Feedback
The correct answer is: Bicep templates are more readable and easier to write
than ARM templates.

Question 10
Incorrect
Mark 0.00 out of 1.00

Flag question

Question text
Your company is implementing blue-green deployment to minimize downtime
during releases. How can Azure DevOps Pipelines be configured to support this
deployment strategy?
[[fieldinquestionpre]]
a.
By deploying directly to the production environment
b.
By creating multiple pipelines for each environment
c.
By using Deployment Slots in Azure App Services and Azure Pipelines
d.
By using rolling deployments with Azure Kubernetes Service (AKS)
Feedback
The correct answer is: By using Deployment Slots in Azure App Services
and Azure Pipelines
Question 11
Incorrect
Mark 0.00 out of 1.00

Flag question

Question text
You're integrating a new npm package repository into
your Azure DevOps project. Which command can be used to publish a new
version of the package to the Azure Artifacts feed?
[[fieldinquestionpre]]
a.
mvn deploy:deploy-file
-Durl=https://pkgs.dev.azure.com/<organization>/<project>/_packaging/
<feed>/maven/v1
b.
nuget push <package>.nupkg -Source
https://pkgs.dev.azure.com/<organization>/<project>/_packaging/<feed>/
nuget/v3/index.json
c.
npm publish --registry
https://pkgs.dev.azure.com/<organization>/<project>/_packaging/<feed>/
npm/registry/
d.
dotnet publish -r <runtime> -c <configuration>
Feedback
The correct answer is: npm publish --registry
https://pkgs.dev.azure.com/<organization>/<project>/_packaging/<feed>/
npm/registry/
Question 12
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Your team is using Azure Test Plans to manage test cases. They want to create
test suites and test plans for different features of the application. Which of the
following is the correct order of creating these test artifacts?
[[fieldinquestionpre]]
a.
Test suite, test plan, test case
b.
Test plan, test suite, test case
c.
Test case, test suite, test plan
d.
The order doesn't matter
Feedback
The correct answer is: Test plan, test suite, test case

AZ-400 Quiz
Question 13
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Describe the difference between a load test and a stress test in the context of application
performance evaluation.
[[fieldinquestionpre]]
a.
Load tests measure performance under normal load, while stress tests simulate extreme
conditions.
b.
Load tests are automated, while stress tests are manual.
c.
Load tests are performed in production environments, while stress tests are performed in
development environments.
d.
Load tests focus on scalability, while stress tests focus on reliability.
Feedback
The correct answer is: Load tests measure performance under normal load, while stress tests
simulate extreme conditions.
◄ Previous page
How do you access outputs from one job in another job within the same
workflow?
[[fieldinquestionpre]]
a.
Via needs dependency
b.
Using outputs keyword
c.
Through artifacts
d.
By setting environment variables
Feedback
The correct answer is: Via needs dependency
You are using Bicep templates to deploy an Azure App Service. You want to
configure the App Service with different settings based on the deployment
environment (development, staging, production). Which of the following Bicep
features would be most helpful for achieving this?
[[fieldinquestionpre]]
a.
Parameters
b.
Variables
c.
Outputs
d.
Modules
Feedback
The correct answer is: Parameters
Your team is developing a microservices architecture with a new feature that
might introduce performance regressions. How can Azure Feature Flags help
mitigate risk during deployment?
[[fieldinquestionpre]]
a.
By providing a mechanism for users to opt-out of receiving the new feature.
b.
By automatically rolling back the deployment if performance metrics exceed a
threshold
c.
By enabling a gradual rollout of the new feature to a limited percentage of
users.
d.
By continuously monitoring application performance after deployment.
Feedback
The correct answer is: By enabling a gradual rollout of the new feature to a
limited percentage of users.

Your company has strict compliance requirements, and you need to ensure that
all deployed artifacts are retained for auditing purposes. How can this be
managed in Azure DevOps?
[[fieldinquestionpre]]
a.
Use artifact retention policies in Azure Pipelines
b.
Manually save artifacts to a secure location
c.
Use Azure Storage to store deployment artifacts
d.
Configure retention rules in Azure Repos
Feedback
The correct answer is: Use artifact retention policies in Azure Pipelines
A project requires that all infrastructure is deployed using Infrastructure as Code
(IaC). However, the team wants to minimize the manual handling of sensitive
information like passwords and keys. What approach should they take
in Azure DevOps?
[[fieldinquestionpre]]
a.
Hard-code the sensitive information in the ARM templates
b.
Use plain text files to manage sensitive information
c.
Store sensitive information in Azure Key Vault and reference it in ARM templates
d.
Store the sensitive information in Azure Repos as environment variables
Feedback
The correct answer is: Store sensitive information in Azure Key Vault and
reference it in ARM templates

A project requires that all infrastructure is deployed using Infrastructure as Code


(IaC). However, the team wants to minimize the manual handling of sensitive
information like passwords and keys. What approach should they take
in Azure DevOps?
[[fieldinquestionpre]]
a.
Hard-code the sensitive information in the ARM templates
b.
Use plain text files to manage sensitive information
c.
Store sensitive information in Azure Key Vault and reference it in ARM templates
d.
Store the sensitive information in Azure Repos as environment variables
Feedback
The correct answer is: Store sensitive information in Azure Key Vault and
reference it in ARM templates
Your project involves deploying resources to multiple Azure subscriptions based
on the environment (e.g., dev, test, production). How can you manage these
deployments efficiently in Azure DevOps?
[[fieldinquestionpre]]
a.
Manually switch subscriptions before each deployment
b.
Use a single subscription for all environments
c.
Create separate pipelines for each subscription
d.
Use service connections for each subscription in Azure Pipelines
Feedback
The correct answer is: Use service connections for each subscription
in Azure Pipelines
Your team is working on a feature that should not be visible to all users until it is
fully tested in production. Which Azure DevOps technique allows you to achieve
this?
[[fieldinquestionpre]]
a.
Canary Release
b.
Trunk-Based Development
c.
Blue-Green Deployment
d.
Feature Flags
Feedback
The correct answer is: Feature Flags
Your team is working on a feature that should not be visible to all users until it is
fully tested in production. Which Azure DevOps technique allows you to achieve
this?
[[fieldinquestionpre]]
a.
Canary Release
b.
Trunk-Based Development
c.
Blue-Green Deployment
d.
Feature Flags
Feedback
The correct answer is: Feature Flags

You need to automate the provisioning of Azure resources and ensure that the
deployed resources are consistently managed across environments. Which tool
should you use within Azure DevOps?
[[fieldinquestionpre]]
a.
Azure Resource Manager (ARM) templates
b.
Azure Monitor
c.
Azure Logic Apps
d.
Azure Functions
Feedback
The correct answer is: Azure Resource Manager (ARM) templates
You have conducted a load test and generated performance datA) You want to
analyze the data to identify performance bottlenecks. Which of the
following Azure DevOps features can be used to visualize and analyze load test
results?
[[fieldinquestionpre]]
a.
Azure Monitor
b.
Azure Pipelines
c.
Azure Test Plans
d.
Azure Boards
Feedback
The correct answer is: Azure Monitor

A team is working on a feature that should be gradually rolled out to users. How
can you implement this feature rollout using Azure DevOps?
[[fieldinquestionpre]]
a.
Deploy the feature to all users at once
b.
Use manual intervention tasks to control the rollout
c.
Use feature flags to control the rollout
d.
Manually update the application with the new feature
Feedback
The correct answer is: Use feature flags to control the rollout

A company wants to ensure that all releases have been tested against security
vulnerabilities before going live. Which Azure DevOps feature should be used to
enforce this requirement?
[[fieldinquestionpre]]
a.
Branch Policies
b.
Deployment Conditions
c.
Manual Intervention Tasks
d.
Release Gates
Feedback
The correct answer is: Release Gates
You have a complex release pipeline with multiple stages and environments.
You want to ensure that deployments to production only proceed if all tests pass
in the staging environment and there are no open incidents. Which of the
following gate combinations would be most appropriate?
[[fieldinquestionpre]]
a.
Deployment gate and approval gate
b.
Deployment gate and manual gate
c.
Quality gate and approval gate
d.
Quality gate and manual gate
Feedback
The correct answer is: Quality gate and approval gate
In a YAML pipeline, what keyword is used to include reusable pipeline
components from another file?
[[fieldinquestionpre]]
a.
import
b.
template
c.
extends
d.
include
Feedback
The correct answer is: template
Beyond code snippets, what other types of information can be effectively shared
and managed using the Azure Project Wiki?
[[fieldinquestionpre]]
a.
Source code, configuration files, deployment scripts
b.
Build pipelines, release definitions, test cases
c.
User manuals, training materials, marketing content
d.
Project plans, meeting notes, knowledge base articles
Feedback
The correct answer is: Project plans, meeting notes, knowledge base articles
What is the purpose of the condition keyword in Azure Pipelines?
[[fieldinquestionpre]]
a.
To set up manual approvals
b.
To specify the artifacts to be used in the pipeline
c.
To control whether a job or step runs based on certain conditions
d.
To define the environment for the deployment
Feedback
The correct answer is: To control whether a job or step runs based on certain
conditions

Your team has experienced multiple issues with long-running builds due to
resource contention on shared build agents. What is the best solution to
mitigate this problem?
[[fieldinquestionpre]]
a.
Optimize the build scripts to run faster
b.
Use parallel jobs with Azure Pipelines and configure multiple agents
c.
Limit the number of developers who can trigger builds
d.
Increase the number of jobs in the pipeline
Feedback
The correct answer is: Use parallel jobs with Azure Pipelines and configure
multiple agents
Question 32
Correct
Mark 1.00 out of 1.00

Flag question

Question text
A team member accidentally deployed an application to production without
going through the proper CI/CD pipeline. How can you prevent this from
happening in the future?
[[fieldinquestionpre]]
a.
Set up a notification system to alert when unauthorized deployments happen
b.
Use branch policies to enforce deployment through the pipeline
c.
Remove deployment permissions from the team members
d.
Use manual deployment processes to control releases
Feedback
The correct answer is: Use branch policies to enforce deployment through the
pipeline

◄ Previous pageNext page ►

Your team is using Azure Artifacts to manage Maven packages. They want to
leverage the existing Maven ecosystem and tools. Which of the following is true
about using Azure Artifacts with Maven?
[[fieldinquestionpre]]
a.
Azure Artifacts can be integrated with Maven using standard Maven commands.
b.
Azure Artifacts is not compatible with Maven.
c.
Azure Artifacts only supports a subset of Maven features.
d.
Azure Artifacts requires custom Maven plugins.
Feedback
The correct answer is: Azure Artifacts can be integrated with Maven using
standard Maven commands.

Your company is implementing a DevOps process, and you need to ensure that
the infrastructure is consistently deployed across all environments. Which
approach should you take?
[[fieldinquestionpre]]
a.
Use Infrastructure as Code (IaC) with ARM templates
and Azure DevOps pipelines
b.
Deploy the infrastructure once and clone it for each environment
c.
Manually deploy infrastructure to each environment
d.
Use Azure Automation to manage infrastructure deployments
Feedback
The correct answer is: Use Infrastructure as Code (IaC) with ARM templates
and Azure DevOps pipelines
Your Bicep template references a custom module for deploying a
specific Azure resource. How can you pass parameters to the module from the
main template?
[[fieldinquestionpre]]
a.
Create a separate Bicep file for parameters and import it into both the main
template and the module.
b.
Define the parameters within the module itself and reference them in the main
template.
c.
Use the module keyword and specify the module name and parameter values.
d.
Use environment variables to pass parameters to the module.
Feedback
The correct answer is: Use the module keyword and specify the module name
and parameter values.
Your team is building a .NET application and wants to use Azure Artifacts to
manage NuGet packages. They want to create a private feed to store internal
packages. Which of the following steps is required to create a private feed
in Azure Artifacts?
[[fieldinquestionpre]]
a.
Create a new project in Azure DevOps
b.
Create a new feed under the Artifacts settings
c.
Configure authentication for the feed
d.
All of the above
Feedback
The correct answer is: All of the above
How can you run jobs in parallel in a GitHub Actions workflow?
[[fieldinquestionpre]]
a.
Configure needs dependencies
b.
Use the matrix strategy
c.
Use multiple workflow runs
d.
Define jobs in separate workflow files
Feedback
The correct answer is: Use the matrix strategy
You're deploying a complex Azure application with multiple resources across
different resource groups. How can Bicep templates be used to manage these
deployments in a modular and reusable fashion?
[[fieldinquestionpre]]
a.
By hardcoding resource definitions within the main template.
b.
By creating separate Bicep templates for each resource group.
c.
By using nested Bicep templates to define reusable modules.
d.
By using environment variables to pass parameters between templates.
Feedback
The correct answer is: By using nested Bicep templates to define reusable
modules.
Your team is using Azure DevOps to manage their CI/CD pipelines. To improve
the pipeline's performance, you want to cache dependencies between builds.
Which feature should you use?
[[fieldinquestionpre]]
a.
Build Triggers
b.
Deployment Slots
c.
Pipeline Artifacts
d.
Pipeline Caching
Feedback
The correct answer is: Pipeline Caching
You are using feature flags to control the rollout of a new feature. You want to
target a specific group of users based on their location. Which of the following
targeting criteria can be used with Azure Feature Flags?
[[fieldinquestionpre]]
a.
User roles
b.
User attributes
c.
Geographical location
d.
All of the above
Feedback
The correct answer is: All of the above
You want to integrate code quality checks in your CI pipeline to prevent poorly
written code from being deployeD) Which Azure DevOps tool should you use?
[[fieldinquestionpre]]
a.
SonarQube
b.
Azure Monitor
c.
ZAP
d.
Mend
Feedback
The correct answer is: SonarQube
Your pipeline deploys an application to Azure App Service, and you want to
monitor the health of the deployed application. Which service should be
integrated with the pipeline for monitoring?
[[fieldinquestionpre]]
a.
Azure Monitor
b.
Azure Security Center
c.
Azure Automation
d.
Azure Application Insights
Feedback
The correct answer is: Azure Application Insights
What are the advantages of using package views in Azure Artifacts compared to
relying solely on package feeds for managing access control?
[[fieldinquestionpre]]
a.
Package views are required for using Azure Artifacts with private package feeds.
b.
Package views provide better performance when accessing packages.
c.
Package views allow for more granular control over package visibility for
different groups.
d.
Package views simplify the creation of new package feeds.
Feedback
The correct answer is: Package views allow for more granular control over
package visibility for different groups.
You are deploying an application using a Kubernetes cluster and need to ensure
zero downtime during deployment. Which deployment strategy should you use
in Azure DevOps?
[[fieldinquestionpre]]
a.
Recreate Deployment
b.
Rolling Update
c.
Blue-Green Deployment
d.
Canary Release
Feedback
The correct answer is: Rolling Update
Which Azure DevOps feature allows you to create reusable pipeline definitions?
[[fieldinquestionpre]]
a.
Artifacts
b.
Templates
c.
Tasks
d.
Pipelines
Feedback
The correct answer is: Templates

A company wants to automate the deployment of infrastructure in multiple


environments, with each environment having slightly different configurations.
What is the best way to manage these variations in Azure DevOps?
[[fieldinquestionpre]]
a.
Manually edit the ARM templates before deployment
b.
Create separate ARM templates for each environment
c.
Use hard-coded values in the templates for each environment
d.
Use parameterized ARM templates with Azure Pipelines
Feedback
The correct answer is: Use parameterized ARM templates with Azure Pipelines
Your team is using Azure DevOps for project management, and you need to
track progress against specific features. Which Azure DevOps feature allows you
to organize work items hierarchically?
[[fieldinquestionpre]]
a.
Epics and Features
b.
Pipelines
c.
Tags
d.
Work Item Queries
Feedback
The correct answer is: Epics and Features
Your team develops a .NET application with internal NuGet packages stored in a
private Azure Artifacts feed. How can you configure access permissions for
specific users or groups to manage these packages?
[[fieldinquestionpre]]
a.
Use environment variables to control package access.
b.
Modify the permissions of the Azure DevOps project itself.
c.
Use the "Package permissions" feature in Azure Artifacts.
d.
Create separate package feeds for different groups of users.
Feedback
The correct answer is: Use the "Package permissions" feature in Azure Artifacts.
Your team is using Azure Artifacts to manage npm packages. They want to
publish a new version of a package to the feeD) Which of the following
commands can be used to publish the package?
[[fieldinquestionpre]]
a.
Npm publish --registry
https://pkgs.dev.azure.com/<organization>/<project>/_packaging/<feed>/
npm/registry/
b.
mvn deploy:deploy-file
-Durl=https://pkgs.dev.azure.com/<organization>/<project>/_packaging/
<feed>/maven/v1
c.
All of the above
d.
nuget push <package>.nupkg -Source
https://pkgs.dev.azure.com/<organization>/<project>/_packaging/<feed>/
nuget/v3/index.json
Feedback
The correct answer is: Npm publish --registry
https://pkgs.dev.azure.com/<organization>/<project>/_packaging/<feed>/
npm/registry/
Imagine you're managing application configuration settings like logging levels or
database connection strings. Why might using Azure App Configuration be
preferable to environment variables for this purpose?
[[fieldinquestionpre]]
a.
Azure App Configuration provides a central management interface for
configuration settings.
b.
Environment variables are not accessible across different environments
c.
Azure App Configuration requires complex configuration management tools.
d.
Environment variables offer better security for sensitive information.
Feedback
The correct answer is: Azure App Configuration provides a central management
interface for configuration settings.

A project requires deployment to both on-premises and cloud environments.


How can you manage the deployment process using Azure DevOps?
[[fieldinquestionpre]]
a.
Create separate pipelines for on-premises and cloud deployments
b.
Deploy to on-premises environments manually and use Azure Pipelines for cloud
deployments
c.
Use a third-party tool for on-premises deployments
d.
Use self-hosted agents for on-premises deployments and Microsoft-hosted
agents for cloud deployments
Feedback
The correct answer is: Use self-hosted agents for on-premises deployments and
Microsoft-hosted agents for cloud deployments
You want to allow external contributors to publish packages to
your Azure Artifacts feed while maintaining control over package visibility and
consumption. Which of the following features of Azure Artifacts can be used to
achieve this?
[[fieldinquestionpre]]
a.
Package feeds
b.
Package views
c.
Package permissions
d.
Package upstream sources
Feedback
The correct answer is: Package permissions

You have configured a release gate that checks the status of a manual approval.
You want to set a timeout for the approval, after which the deployment should
proceed automatically if no approval is given. Which of the following options can
be configured for the manual approval gate?
[[fieldinquestionpre]]
a.
Retry attempts
b.
Approval timeout
c.
Notification settings
d.
All of the above
Feedback
The correct answer is: Approval timeout
A developer made changes to the CI/CD pipeline, which resulted in a failed
deployment. How can you prevent unauthorized changes to the pipeline?
[[fieldinquestionpre]]
a.
Disable editing of pipelines in the Azure portal
b.
Set up a separate environment for testing pipeline changes
c.
Implement a manual review process for all pipeline changes
d.
Use Azure DevOps security roles to restrict pipeline editing permissions
Feedback
The correct answer is: Use Azure DevOps security roles to restrict pipeline
editing permissions
Which task in Azure Pipelines is used to build a .NET application?
[[fieldinquestionpre]]
a.
Publish Artifact
b.
Visual Studio Test
c.
Copy Files
d.
DotNetCoreCLI
Feedback
The correct answer is: DotNetCoreCLI

How can you specify the environment in which a deployment should be


executed in Azure Pipelines?
[[fieldinquestionpre]]
a.
By setting pipeline variables
b.
By using deployment gates
c.
By defining stages
d.
By defining deployment targets
Feedback
The correct answer is: By defining stages

Your team wants to create a wiki page with embedded code snippets to
illustrate technical concepts. Which of the following wiki formatting options
would be most suitable for this purpose?
[[fieldinquestionpre]]
a.
Markdown
b.
All of the above
c.
Rich text
d.
HTML
Feedback
The correct answer is: Markdown
How can Azure Monitor be integrated with Azure Load Testing to collect and
analyze performance data over time?
[[fieldinquestionpre]]
a.
Use the Azure Monitor Log Analytics workspace to store and query load test
results.
b.
Use Azure Monitor Service Map to visualize dependencies between application
components.
c.
Integrate Azure Monitor Alerts to trigger notifications based on performance
thresholds.
d.
Configure Azure Monitor Application Insights to track performance metrics
directly.
Feedback
The correct answer is: Use the Azure Monitor Log Analytics workspace to store
and query load test results.
In Azure Pipelines, which YAML keyword is used to define a pipeline’s stages?
[[fieldinquestionpre]]
a.
steps
b.
tasks
c.
stages
d.
jobs
Feedback
The correct answer is: stages
You need to enforce a policy where certain pipelines should not run on
weekends. How can this be achieved in Azure Pipelines?
[[fieldinquestionpre]]
a.
Use environment variables to control pipeline execution
b.
Create a pipeline job that checks the day and aborts if it is a weekend
c.
Manually disable the pipeline every weekend
d.
Use scheduled triggers with specific day and time filters
Feedback
The correct answer is: Use scheduled triggers with specific day and time filters

You might also like