Topic · 129 of 433 questions freeTopic 4: Mix Questions Set
Question 31Choose 1
You have an Azure DevOps project that uses many package feeds.
You need to simplify the project by using a single feed that stores packages produced by
your company and packages consumed from remote feeds. The solution must support
public feeds and authenticated feeds.
What should you enable in DevOps?
Correct answer:
C. upstream sources
Question 32Choose 1
You have an Azure subscription that contains the resources shown in the following table.
DepPipeline1 and ADFPipeline1 use a single credential that is stored in Vault'.
You need to configure ADFPipeline1 to retrieve the credential from Vault1.
Which type of activity should you use?
Correct answer:
A. Web
Question 33Choose 1
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result,
these questions will not appear in the review screen.
You plan to create a release pipeline that will deploy Azure resources by using Azure
Resource Manager templates. The release pipeline will create the following resources:
Two resource groups
Four Azure virtual machines in one resource group
Two Azure SQL databases in other resource group
You need to recommend a solution to deploy the resources.
Solution: Create two standalone templates, each of which will deploy the resources in its
respective group.
Does this meet the goal?
Correct answer:
B. No
Question 34Choose 1
You have an Azure DevOps organization named Contoso.
You need to receive Microsoft Teams notifications when work items are updated.
What should you do?
Correct answer:
A. From Azure DevOps. configure a service hook subscription.
Question 35Choose 3
You have an Azure DevOps project named Project1 and an Azure subscription named
Sub1. Sub1 contains an Azure virtual machine scale set named VMSS1. VMSS1 hosts a
web application named
WebApp1. WebApp1 uses state full sessions.
The WebApp1 installation is managed by using the Custom Script extension. The script
resides in an Azure Storage account named sa1.
You plan to make a minor change to a UI element of WebApp1 and to gather user
feedback about the change.
You need to implement limited user testing for the new version of WebApp1 on VMSS1.
Which three actions should you perform? Each correct answer presents part of the
solution.
NOTE: Each correct selection is worth one point.
Correct answer:
B. Redeploy VMSS1.
C. Upload a custom script file to sa1.
D. Modify the Custom Script extension settings of VMSS1.
Question 36Choose 1
Note: This Question Is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to ft. As a result,
these questions will not appear in the review screen.
You company has a prefect in Azure DevOps for a new web application.
You need to ensure that when code is checked in, a build runs automatically.
Solution: From the Triggers tab of the build pipeline, you selected Batch changes while a
build is in progress.
Does this meet the goal?
Correct answer:
B. No
Question 37Choose 1
You need to recommend an integration strategy for the build process of a Java application.
The solution must meet the following requirements:
The builds must access an on-premises dependency management system.
The build outputs must be stored as Server artifacts in Azure DevOps.
The source code must be stored in a Git repository in Azure DevOps.
Solution: Configure the build pipeline to use a Microsoft-hosted agent pool running a Linux
image. Include the Java Tool Installer task in the build pipeline.
Does this meet the goal?
Correct answer:
A. Yes
To run your jobs, you'll need at least one agent. A Linux agent can build and deploy
different kinds of apps, including Java and Android apps.
If your pipelines are in Azure Pipelines and a Microsoft-hosted agent meets your needs,
you can skip setting up a private Linux agent.
The Azure Pipelines agent pool offers several virtual machine images to choose from, each
including a broad range of tools and software. We support Ubuntu, Red Hat, and CentOS.
Question 38Choose 1
You manage code by using GitHub.
You need to ensure that repository owners are notified if a new vulnerable dependency or
malware is found in their repository.
What should you do?
Correct answer:
B. Configure Dependabot alerts.
Question 39Choose 1
You are automating the build process for a Java-based application by using Azure DevOps.
You need to add code coverage testing and publish the outcomes to the pipeline.
What should you use?
Correct answer:
A. Cobertura
Question 40Choose 1
You have an Azure subscription linked to a tenant in Microsoft Azure Active Directory
(Azure AD), part of Entrap. The tenant is licensed for Azure AD Premium Plan 1.
A security review indicates that too many users have privileged access to resources.
You need to deploy a privileged access management solution that meets the following
requirements:
Enforces time limits on the use of privileged access
Requires approval to activate privileged access
Minimizes costs
What should you do first?
Correct answer:
D. Upgrade the license of the Azure AD tenant.
Practice Like It's Exam Day
Get exam-ready with a timed AZ 400 Microsoft Azure DevOps Solutions (beta) mock exam designed to match the official exam's question format, question count, and time limit.