DON'T WANT TO MISS A THING?

Certification Exam Passing Tips

Latest exam news and discount info

Curated and up-to-date by our experts

Yes, send me the newsletter

Free Microsoft AZ-400 Practice Questions & Answers 2026 Part1

Are you preparing for the Microsoft AZ-400 certification exam? SPOTO offers the Microsoft AZ-400 Premium File; all questions are aligned with the latest exam content and come with expert-provided answers. Our question banks cover the latest question types, core concepts, and detailed explanations, helping you familiarize yourself with the exam format and difficulty level. Whether you are reviewing core concepts or simulating a real exam environment, these resources will rapidly boost your confidence and readiness.
For over two decades, SPOTO has successfully helped numerous IT professionals secure their ideal positions at Fortune 500 companies. Download now to start practicing efficiently and ensure a high score on the actual exam. Don't miss this opportunity to pass your certification exam with ease!
Take other online exams

Question #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 update the Azure DevOps strategy of your company.You need to identify the following issues as they occur during the company's development process:Licensing violationsProhibited librariesSolution: You implement pre-deployment gates.Does this meet the goal?
A. Yes
B. No
View answer
Correct Answer: B

View The Updated AZ-400 Exam Questions

SPOTO Provides 100% Real AZ-400 Exam Questions for You to Pass Your AZ-400 Exam!

Question #2
Your company has an application that contains a number of Azure App Service web apps and Azure functions.You would like to view recommendations with regards to the security of the web apps and functions. You plan to navigate to Compute and Apps to achieve your goal.Which of the following should you access to make use of Compute and Apps?
A. Azure Log Analytics
B. Azure Event Hubs
C. Azure Advisor
D. Microsoft Defender for Cloud
View answer
Correct Answer: D
Question #3
You have a build pipeline in Azure Pipelines that occasionally fails.You discover that a test measuring the response time of an API endpoint causes the failures.You need to prevent the build pipeline from failing due to the test.Which two actions should you perform? Each correct answer presents part of the solution.Note: Each correct selection is worth one point.
A. Set Flaky test detection to Off
B. Clear Flaky tests included in test pass percentage
C. Enable Test Impact Analysis (TIA)
D. Manually mark the test as flaky
E. Enable test slicing
View answer
Correct Answer: BD
Question #4
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 update the Azure DevOps strategy of your company.You need to identify the following issues as they occur during the company's development process:Licensing violationsProhibited librariesSolution: You implement pre-deployment gates.Does this meet the goal?
A. Yes
B. No
View answer
Correct Answer: B
Question #5
Your company makes use of Azure SQL Database Intelligent Insights and Azure Application Insights for monitoring purposes.You have been tasked with analyzing the monitoring using ad-hoc queries. You need to utilize the correct query language.Solution: You use Azure Log Analytics.Does the solution meet the goal?
A. Yes
B. No
View answer
Correct Answer: B
Question #6
Your team has setup an Azure Web App that is connected to an Azure Application Insights instance. You have to ensure that developers are warned about any potential performance problems or failures anomalies in the web application. Which of the following can help in this regard?
A. Application Insights – Funnels
B. Application Insights – User Flows
C. Application Insights – Application Map
D. Application Insights – Smart Detection
View answer
Correct Answer: D
Question #7
Your company plans to use an agile approach to software development You need to recommend an application to provide communication between members of the development team who work in locations around the world. The application must meet the following requirements: * Provide the ability to isolate the members of efferent project teams into separate communication channels and to keep a history of the chats within those channels. * Be available on Windows 10, Mac OS, iOS, and Android operating systems. * Provide the ability to add external contractors and suppliers to projects. * Integrate directly with Azure DevOps. What should you recommend?
A. AOctopus
B. BBamboo
C. CMicrosoft Project
D. DSlack
View answer
Correct Answer: D
Question #8
You configure an Azure Application Insights availability test.You need to notify the customer services department at your company by email when availability is degraded.You create an Azure logic app that will handle the email and follow up actions.Which type of trigger should you use to invoke the logic app?
A. an HTTPWebhook trigger
B. an HTTP trigger
C. a Request trigger
D. an ApiConnection trigger
View answer
Correct Answer: C
Question #9
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 update the Azure DevOps strategy of your company.You need to identify the following issues as they occur during the company's development process:Licensing violationsProhibited librariesSolution: You implement pre-deployment gates.Does this meet the goal?
A. Yes
B. No
View answer
Correct Answer: B
Question #10
You have a multi-tier application. The front end of the application is hosted in Azure App Service.You need to identify the average load times of the application pages.What should you use?
A. Azure Application Insights
B. the activity log of the App Service
C. the diagnostics logs of the App Service
D. Azure Advisor
View answer
Correct Answer: A
Question #11
You have an Azure DevOps project named Project1 and an Azure subscription named Sub1.You need to prevent releases from being deployed unless the releases comply with the Azure Policy rules assigned to Sub1.What should you do in the release pipeline of Project1?
A. Add a deployment gate
B. Modify the Deployment queue settings
C. Configure a deployment trigger
D. Create a pipeline variable
View answer
Correct Answer: A
Question #12
You use Azure Pipelines to build and test code. You need to analyze the agent pool usage. What are two ways to achieve the goal? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
A. AReviewthe historical graph for the agent pools
B. BReview the Pipeline duration report
C. CQuery the TaskAgentPoolSizeSnapshot/TaskAgentPoolSizeSnapshots endpoint
D. DQuery the PipelineRun/PipelineRuns endpoint
View answer
Correct Answer: AD
Question #13
You are integrating Azure Pipelines and Microsoft Teams.You install the Azure Pipelines app in Microsoft Teams.You have an Azure DevOps organization named Contoso that contains a project name Project1.You subscribe to Project1 in Microsoft Teams.You need to ensure that you only receive events about failed builds in Microsoft Teams.What should you do first?
A. From Microsoft Teams, run @azure pipelines subscribe https://dev
B. From Azure Pipelines, add a Publish Build Artifacts task to Project1
C. From Microsoft Teams, run @azure pipelines subscriptions
D. From Azure Pipelines, enable continuous integration for Project1
View answer
Correct Answer: C
Question #14
Your company has a hybrid cloud between Azure and Azure Stack.The company uses Azure DevOps for its CI/CD pipelines. Some applications are built by using Erlang and Hack.You need to ensure that Erlang and Hack are supported as part of the build strategy across the hybrid cloud. The solution must minimize management overhead.What should you use to execute the build pipeline?
A. AzureDevOps self-hosted agents on Azure DevTest Labs virtual machines
B. AzureDevOps self-hosted agents on virtual machine that run on Azure Stack
C. AzureDevOps self-hosted agents on Hyper-V virtual machines
D. a Microsoft-hosted agent
View answer
Correct Answer: B
Question #15
You have an Azure subscription that contains 50 virtual machinesYou plan to manage the configuration of the virtual machines by using Azure Automation State Configuration.You need to create the Desired State Configuration (DSO configuration files.How should structure the code blocks?
A. Node>Configuration>Resource
B. Configuration>Node> Resource
C. Configuration>Resource>Node
D. Resource>Configuration>Node
View answer
Correct Answer: B
Question #16
You have an Azure DevOps organization named Contoso and an Azure subscription.You use Azure DevOps to build a containerized app named App1 and deploy App1 to an Azure container instance named ACI1.You need to restart ACI1 when App1 stops responding.What should you do?
A. Add a liveness probe to the YAML configuration of App1
B. Add a readiness probe to the YAML configuration of App1
C. Use Connection Monitor in Azure Network Watcher
D. Use IP flow verify in Azure Network Watcher
View answer
Correct Answer: A
Question #17
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 update the Azure DevOps strategy of your company.You need to identify the following issues as they occur during the company's development process:Licensing violationsProhibited librariesSolution: You implement continuous integration.Does this meet the goal?
A. Yes
B. No
View answer
Correct Answer: B
Question #18
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 Your company has a project 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 Continuous deployment trigger settings of the release pipeline, you enable the Pull request trigger setting.Does the meet the goal?
A. o
B. es
View answer
Correct Answer: A
Question #19
Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.You run the Register-AzureRmAutomationDscNode command in your company's environment.You need to make sure that your company's test servers remain correctly configured, regardless of configuration drift.Solution: You set the -ConfigurationMode parameter to ApplyOnly.Does the solution meet the goal?
A. es
B. o
View answer
Correct Answer: B
Question #20
Your team is working on application code within a git repository. You need to mark certain commits along the way as important application releases. You need to mark the first release for a particular commit. Which of the following statement would you issue for this requirement?
A. git commit -m “Release v1
B. git tag -a v1
C. git push -m “Release v1
D. git release -m “Release v1
View answer
Correct Answer: B
Question #21
You add the virtual machines as managed nodes in Azure Automation State Configuration.You need to configure the managed computers in Pool7.What should you do next?
A. Modify the RefreshMode property of the Local Configuration Manager (LCM)
B. Run the Register-AzureRmAutomationDscNode Azure Powershell cmdlet
C. Modify the ConfigurationMode property of the Local Configuration Manager (LCM)
D. Install PowerShell Core
View answer
Correct Answer: C
Question #22
You have an Azure subscription that contains an Azure Kubernetes Service (AKS) instance named AKS1.You collect and analyze metrics for AKS1 by using the Azure Monitor managed service for Prometheus.You need to analyze the performance of AKS1.Which query language should you use?
A. PL/SQL
B. PromQL
C. SparkQL
D. KQL
View answer
Correct Answer: B
Question #23
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 update the Azure DevOps strategy of your company.You need to identify the following issues as they occur during the company's development process:Licensing violationsProhibited librariesSolution: You implement pre-deployment gates.Does this meet the goal?
A. Yes
B. No
View answer
Correct Answer: B
Question #24
Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.You run the Register-AzureRmAutomationDscNode command in your company's environment.You need to make sure that your company's test servers remain correctly configured, regardless of configuration drift.Solution: You set the -ConfigurationMode parameter to ApplyAndAutocorrect.Does the solution meet the goal?
A. es
B. o
View answer
Correct Answer: A
Question #25
Which of the following service can be used to store packages that can then be consumed by developers?
A. Azure repos
B. Azure Pipelines
C. Azure Test Plans
D. Azure Artifacts
View answer
Correct Answer: D
Question #26
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 update the Azure DevOps strategy of your company.You need to identify the following issues as they occur during the company's development process:Licensing violationsProhibited librariesSolution: You implement continuous integration.Does this meet the goal?
A. Yes
B. No
View answer
Correct Answer: B
Question #27
Your company is building a mobile app that targets Android devices and OS devices. Your team uses Azure DevOps to manage all work items and release cycles. You need to recommend a solution to perform the following tasks:* Collect crash reports for issue analysis* Distribute beta releases to your testers.* Get user feedback on the functionality of new apps.What should you include in the recommendation?
A. Jenkins integration
B. Azure Application Insights widgets
C. the Microsoft Test & Feedback extension
D. Microsoft Visual Studio App Center integration
View answer
Correct Answer: D
Question #28
You are configuring project metrics for dashboards in Azure DevOps.You need to configure a chart widget that measures the elapsed time to complete work items once they become active.Which of the following is the widget you should use?
A. umulative Flow Diagram
B. urnup
C. ycle time
D. urndown
View answer
Correct Answer: C
Question #29
You have an Azure DevOps project named Project1 and an Azure subscription named Sub1.You need to prevent releases from being deployed unless the releases comply with the Azure Policy rules assigned to Sub1.What should you do in the release pipeline of Project1?
A. Add a deployment gate
B. Modify the Deployment queue settings
C. Configure a deployment trigger
D. Create a pipeline variable
View answer
Correct Answer: A
Question #30
Your company is currently making use of Team Foundation Server 2013 (TFS 2013), but intend to migrate to Azure DevOps.You have been tasked with supplying a migration approach that allows for the preservation of Team Foundation Version Control changesets dates, as well as the changes dates of work items revisions. The approach should also allow for the migration of all TFS artifacts, while keeping migration effort to a minimum.You have suggested upgrading TFS to the most recent RTW release.Which of the following should also be suggested?
A. nstalling the TFS kava SDK
B. sing the TFS Database Import Service to perform the upgrade
C. pgrading PowerShell Core to the latest version
D. sing the TFS Integration Platform to perform the upgrade
View answer
Correct Answer: B
Question #31
You have an Azure DevOps organization named Contoso, an Azure DevOps project named Project1, an Azure subscription named Sub1, and an Azure key vault named vault1.You need to ensure that you can reference the values of the secrets stored in vault1 in all the pipelines of Project1. The solution must prevent the values from being stored in the pipelines.What should you do?
A. Create a variable group in Project1
B. Add a secure file to Project1
C. Modify the security settings of the pipelines
D. Configure the security policy of Contoso
View answer
Correct Answer: A
Question #32
You need to consider the underlined segment to establish whether it is accurate.Your company has a multi-tier application that has its front end hosted in Azure App Service.To pinpoint the average load times of the application pages, you should make use of Azure Event Hubs.Select "No adjustment required" if the underlined segment is accurate. If the underlined segment is inaccurate, select the accurate option.
A. No adjustment required
B. Azure Application Insights
C. Azure Log Analytics
D. Azure Advisor
View answer
Correct Answer: B
Question #33
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 update the Azure DevOps strategy of your company.You need to identify the following issues as they occur during the company's development process:Licensing violationsProhibited librariesSolution: You implement pre-deployment gates.Does this meet the goal?
A. Yes
B. No
View answer
Correct Answer: B
Question #34
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 use Azure Pipelines to build and test a React js application. You have a pipeline that has a single job. You discover that installing JavaScript packages from npm takes approximately five minutes each time you run the pipeline. You need to recommend a solution to reduce the pipeline execution time. Solution: You recommend enabling parallel jobs for the pipeline. Does this meet the goal?
A. AYes
B. BNo
View answer
Correct Answer: B

View The Updated Microsoft Exam Questions

SPOTO Provides 100% Real Microsoft Exam Questions for You to Pass Your Microsoft Exam!

View Answers after Submission

Please submit your email and WhatsApp to get the answers of questions.

Note: Please make sure your email ID and Whatsapp are valid so that you can get the correct exam results.

Email:
Whatsapp/phone number:
Contact Us