Summer Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: s2p65

Easiest Solution 2 Pass Your Certification Exams

AZ-400 Microsoft Azure DevOps Solutions Free Practice Exam Questions (2025 Updated)

Prepare effectively for your Microsoft AZ-400 Microsoft Azure DevOps Solutions certification with our extensive collection of free, high-quality practice questions. Each question is designed to mirror the actual exam format and objectives, complete with comprehensive answers and detailed explanations. Our materials are regularly updated for 2025, ensuring you have the most current resources to build confidence and succeed on your first attempt.

Page: 1 / 5
Total 542 questions

You have a free tier of anAzure DevOps organization named Contoso. Contoso contains 10 private projects. Each project has multiple jobs with no dependencies.

You frequently run the jobs on five self-hosted agents but experience long build times and frequently queued builds.

You need to minimize the number of queued builds and the time it takes to run the builds.

What should you do?

A.

Purchase self-hosted parallel jobs.

B.

Register additional self-hosted agents.

C.

Purchase Microsoft-hosted parallel jobs.

D.

Configurethe pipelines to use the Microsoft-hosted agents.

You have a project in Azure DevOps named Project1 that contains two environments named environment1 andenvkonment2.

When a new version of Project1 is released, the latest version is deployed to environment2, and the previous version is redeployed to environments

You need to distribute users across the environments. The solution must meet the following requirements:

• New releases must be available to only a subset of the users.

• You must gradually increase the number of users that can access environment2.

What should you use?

A.

web app deployment slots

B.

Azure Traffic Manager

C.

VIP swapping

D.

Azure Load Balancer

You need to make a custom package available to all the developers. The package must be managed centrally, and the latest version must be available for consumption in Visual Studio automatically.

Which threeactions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

A.

Add the package URL to the Environment settings in Visual Studio.

B.

Create a Get repository in Azure Repos.

C.

Addthe package URL to the Get Package Manager settings in Visual Studio.

D.

Upload a package to a Get repository.

E.

Create a new feed in Azure Artifacts.

F.

Publish the package to a feed.

You have multi-tier application that h« an Azure Web Apps front end and art Azure SQL Datable back end.

You need to recommend a solution tocapture and store telemetry data. The solution must meet the following requirements:

• Support using ad-hoc queries to identify baselines.

• Trigger alerts when metrics in the baseline are exceeded.

• Store application and database metrics in a central location.

What should you include in the recommendation?

A.

Azure Application Insights

B.

Azure SQL Database Intelligent Insights

C.

Azure Event Hubs

D.

Azure Log Analytics

You plan to use Azure DevOps to build and deploy anapp that will be hosted in a Kubernetes cluster.

You need to scan the app image for vulnerabilities before the image is deployed to the cluster.

What should you include in the solution?

A.

Microsoft Defender for DevOps

B.

Microsoft Defender for Storage

C.

Microsoft Defender for Containers

D.

Microsoft Defender for App Service

You are automatingthe testing process for your company.

You need to automate UI testing of a web application.

Which framework should you use?

A.

JaCoco

B.

Playwright

C.

Xamarin.UITest

D.

Microsoft.CodeAnalysis

You have an Azure subscription that uses Azure Monitor and contains a Log Analytics workspace.

Youhave an encryption key.

You need to configure Azure Monitor to use the key to encrypt log data

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?

A.

Configure branch protection rules for each repository.

B.

Configure Dependabot alerts.

C.

Configure CodeQL scanning actions.

D.

Subscribe all the repository owners to the GitHub Advisory Database.

You plan to use Desired State Configuration (DSC) to maintain the configuration state of virtual machines that run Windows Server.

You needto perform the following:

Install Internet Information Services (IIS) on the virtual machines.

Update the default home page of the IIS web server.

How should you configure the DSC configuration file? To answer, select the appropriate options in the answer area.

NOTE:Each correct selection is worth one point.

You configure Azure Application Insights and the shared service plan tier for a web app.

You enable SmartDetection.

You confirm that standard metrics are visible in the logs, but when you test a failure, you do not receive a Smart Detection notification

What prevents the Smart Detection notification from being sent?

A.

You must restart the web app before Smart Detection is enabled.

B.

Smart Detection uses the first 24 hours to establish the normal behavior of the web app.

C.

You must enable the Snapshot Debugger for the web app.

D.

The web app is configured to use the shared service plan tier.

You are finalizing a release in GitHub.

You need to apply the following labels to the release:

Name

Email

Release v3.0

Release date

How should you complete the get command? To answer, select the appropriate options in the answer area.

NOTE:Each correct selection is worth one point.

You create an alert rule in Azure Monitor as shown in the following exhibit.

Which action will trigger an alert?

A.

a failed attempt to delete the ASP-9bb7 resource

B.

a change to a role assignment forthe ASP-9bb7 resource

C.

a successful attempt to delete the ASP-9bb7 resource

D.

a failed attempt to scale up the ASP-9bb7 resource

You are creating a YAML-based Azure pipeline to deploy an Azure Data factory instance that has the following requirements;

• If a Data Factory instance exists already, the instance must be overwritten.

• No other resources in a resource group named Fabrikam must be affected.

How should you complete the code? To answer, select theappropriate options in the answer area.

NOTE: Each correct selection is worth one point.

You are designing a YAML template for use with Azure Pipelines. The template Will include theOutputfile parameter.

Which two methods can you use to reference the parameter? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A.

Option A

B.

Option B

C.

Option C

D.

Option D

E.

Option E

You have an Azure Repos repository that contains large PSD files. You need to configure Get LFS to manage all the files.

How should you complete the script?Toanswer, drag the appropriate access levels to the correct groups. Each access level may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE:Each correct selection is worth one point.

You have a GitHub Enterprise account.

You have three projects named Project 1, Project2, and Project3. Project! must meet the following requirements:

• Perform concurrent testing across 700 hosts.

• Support workflow job durations of at least five hours.

Project2 must meet the following requirements:

• Perform concurrent load testing across 35 hosts that run macOS.

• Support workflow job durations of at least one hour.

Project3 must meet the following requirements:

• Perform concurrent load testing across 200 hosts run that Windows.

• Support workflow job durations of at least 24 hours.

You need to recommend an architecture for the GitHub runners of the projects. The solution must minimize costs. What should you recommend for each project? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

You haw an Azure subscription that contains multiple Azure services. You need to send an SMS alert when scheduled maintenance is planned for the Azure services. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

A.

Create an Azure Service Health alert.

B.

Enable Azure Security Center.

C.

Create and configure an action group

D.

Create and configure an Azure Monitor alert rule

You have an Azure Kubernetes Service (AKSJ pod that hosts an app named App1.

You need to configure the AKS container to restart automatically if the container stops responding. The solution must check the status of App1 once every three seconds.

How should you complete the deployment? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content

NOTE: Each correct selection is worth one point.

You have an Azure DevOps organization named Contoso.

You have 10 Azure virtual machines that run Windows Server 2019. The virtual machines host an application that you build and deploy by using AzurePipelines. Each virtual machine has the Web Server (IIS) role installed and configured.

You need to ensure that the web server configurations pin the virtual machines is maintained automatically. The solution must provide centralized management of the configuration settings and minimize management overhead.

Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

You manage build pipelines and deployment pipelines by using Azure DevOps.

Your company has a team of 500 developers. New members are added continual lo the team

You need to automate me management of users and licenses whenever possible

Which task must you perform manually?

A.

modifying group memberships

B.

procuring licenses

C.

adding users

D.

assigning entitlements

Page: 1 / 5
Total 542 questions
Copyright © 2014-2025 Solution2Pass. All Rights Reserved