Skip to Content

AZ-400 Designing and Implementing Microsoft DevOps Solutions Exam Questions and Answers

The latest Microsoft AZ-400 Designing and Implementing Microsoft DevOps Solutions certification actual real practice exam question and answer (Q&A) dumps are available free, which are helpful for you to pass the Microsoft AZ-400 Designing and Implementing Microsoft DevOps Solutions exam and earn Microsoft AZ-400 Designing and Implementing Microsoft DevOps Solutions certification.

AZ-400 Designing and Implementing Microsoft DevOps Solutions Exam Questions and Answers

Exam Question 71

Your company has a release pipeline in an Azure DevOps project.
You plan to deploy to an Azure Kubernetes Services (AKS) cluster by using the Helm package and deploy task.
You need to install a service in the AKS namespace for the planned deployment.
Which service should you install?

A. Azure Container Registry
B. Chart
C. Kubectl
D. Tiller
Correct Answer:
D. Tiller
Answer Description:
Before you can deploy Helm in an RBAC-enabled AKS cluster, you need a service account and role binding for the Tiller service.
Incorrect Answers: Kubectl is a command line interface for running commands against Kubernetes clusters.
References:
Microsoft Docs > Install existing applications with Helm in Azure Kubernetes Service (AKS)

Exam Question 72

Your company uses ServiceNow for incident management.
You develop an application that runs on Azure.
The company needs to generate a ticket in ServiceNow when the application fails to authenticate.
Which Azure Log Analytics solution should you use?

A. Application Insights Connector
B. Automation & Control
C. IT Service Management Connector (ITSM)
D. Insight & Analytics
Correct Answer:
C. IT Service Management Connector (ITSM)
Answer Description:
The IT Service Management Connector (ITSMC) allows you to connect Azure and a supported IT Service Management (ITSM) product/service.

ITSMC supports connections with the following ITSM tools:

  • ServiceNow
  • System Center Service Manager
  • Provance
  • Cherwell

With ITSMC, you can:

  • Create work items in ITSM tool, based on your Azure alerts (metric alerts, Activity Log alerts and Log Analytics alerts).
  • Optionally, you can sync your incident and change request data from your ITSM tool to an Azure Log Analytics workspace.

References:
Microsoft Docs > Connect Azure to ITSM tools using IT Service Management Connector

Exam Question 73

You use Azure SQL Database Intelligent Insights and Azure Application Insights for monitoring.
You need to write ad-hoc queries against the monitoring data.
Which query language should you use?

A. Azure Log Analytics
B. PL/pgSQL
C. PL/SQL
D. Transact-SQL
Correct Answer:
A. Azure Log Analytics
Answer Description:
Data analysis in Azure SQL Analytics is based on Log Analytics language for your custom querying and reporting.
References:
Microsoft Docs > Monitor Azure SQL Database using Azure SQL Analytics (Preview)

Exam Question 74

You have a multi-tier application that has an Azure Web Apps front end and an Azure SQL Database back end.

You need to recommend a solution to capture and store telemetry datThe 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 Event Hubs
B. Azure SQL Database Intelligent Insights
C. Azure Application Insights
D. Azure Log Analytics
Correct Answer:
D. Azure Log Analytics
Answer Description:
Azure Platform as a Service (PaaS) resources, like Azure SQL and Web Sites (Web Apps), can emit performance metrics data natively to Log Analytics.
The Premium plan will retain up to 12 months of data, giving you an excellent baseline ability.
There are two options available in the Azure portal for analyzing data stored in Log analytics and for creating queries for ad hoc analysis.
Incorrect Answers: B: Intelligent Insights analyzes database performance by comparing the database workload from the last hour with the past seven-day baseline workload.
However, we need handle application metrics as well.
References:
Microsoft Docs > Collect Azure platform logs in Log Analytics workspace in Azure Monitor

Exam Question 75

Your company creates a web application.
You need to recommend a solution that automatically sends to Microsoft Teams a daily summary of the exceptions that occur in the application.
Which two Azure services should you recommend? Each correct answer presents part of the solution.

A. Azure Logic Apps
B. Azure Pipelines
C. Microsoft Visual Studio App Center
D. Azure DevOps Project
E. Azure Application Insights
Correct Answer:
A. Azure Logic Apps
E. Azure Application Insights
Answer Description:
E: Exceptions in your live web app are reported by Application Insights.
Note: Periodical reports help keep a team informed on how their business critical services are doing. Developers, DevOps/SRE teams, and their managers can be productive with automated reports reliably delivering insights without requiring everyone to sign in the portal. Such reports can also help identify gradual increases in latencies, load or failure rates that may not trigger any alert rules.
A: You can programmatically query Application Insights data to generate custom reports on a schedule. The following options can help you get started quickly:

  • Automate reports with Microsoft Flow
  • Automate reports with Logic Apps

References:
Microsoft Docs > Diagnose exceptions in your web apps with Application Insights
Microsoft Docs > Automate custom reports with Azure Application Insights data

Exam Question 76

Your company is building a mobile app that targets Android and iOS 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. the Microsoft Test & Feedback extension
B. Microsoft Visual Studio App Center integration
C. Azure Application Insights widgets
D. Jenkins integration
Correct Answer:
A. the Microsoft Test & Feedback extension
Answer Description:
The “Exploratory Testing” extension is now “Test & Feedback” and is now Generally Available.
Anyone can now test web apps and give feedback, all directly from the browser on any platform: Windows, Mac, or Linux. Available for Google Chrome and Mozilla Firefox (required version 50.0 or above) currently. Support for Microsoft Edge is in the pipeline and will be enabled once Edge moves to a Chromium- compatible web platform.
References:
Visual Studio Marketplace > Test & Feedback

Exam Question 77

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 stateful 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.

A. Modify the load balancer settings of VMSS1.
B. Redeploy VMSS1.
C. Upload a custom script file to sa1.
D. Modify the Custom Script extension settings of VMSS1.
E. Update the configuration of a virtual machine in VMSS1.
Correct Answer:
B. Redeploy VMSS1.
C. Upload a custom script file to sa1.
D. Modify the Custom Script extension settings of VMSS1.

Exam Question 78

Your company builds a multi-tier web application.
You use Azure DevOps and host the production application on Azure virtual machines.
Your team prepares an Azure Resource Manager template of the virtual machine that you will use to test new features.
You need to create a staging environment in Azure that meets the following requirements:

  • Minimizes the cost of Azure hosting
  • Provisions the virtual machines automatically
  • Uses the custom Azure Resource Manager template to provision the virtual machines

What should you do?

A. In Azure Cloud Shell, run Azure CLI commands to create and delete the new virtual machines in a staging resource group.
B. In Azure DevOps, configure new tasks in the release pipeline to deploy to Azure Cloud Services.
C. From Azure Cloud Shell, run Azure PowerShell commands to create and delete the new virtual machines in a staging resource group.
D. In Azure DevOps, configure new tasks in the release pipeline to create and delete the virtual machines in Azure DevTest Labs.
Correct Answer:
D. In Azure DevOps, configure new tasks in the release pipeline to create and delete the virtual machines in Azure DevTest Labs.
Answer Description:
You can use the Azure DevTest Labs Tasks extension that’s installed in Azure DevOps to easily integrate your CI/CD build-and-release pipeline with Azure DevTest Labs. The extension installs three tasks:

  1. Create a VM
  2. Create a custom image from a VM
  3. Delete a VM

The process makes it easy to, for example, quickly deploy a “golden image” for a specific test task and then delete it when the test is finished.
References:
Microsoft Docs > Integrate Azure DevTest Labs into your Azure Pipelines CI/CD pipeline

Exam Question 79

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?

A. Cobertura
B. Bullseye Coverage
C. MSTest
D. Coverlet
Correct Answer:
A. Cobertura
Answer Description:
Use Publish Code Coverage Results task in a build pipeline to publish code coverage results to Azure Pipelines or TFS, which were produced by a build in Cobertura or JaCoCo format.
References:
Microsoft Docs > Publish Code Coverage Results task

Exam Question 80

Your company builds a multi-tier web application.
You use Azure DevOps and host the production application on Azure virtual machines.
Your team prepares an Azure Resource Manager template of the virtual machine that you will use to test new features.
You need to create a staging environment in Azure that meets the following requirements:

  • Minimizes the cost of Azure hosting
  • Provisions the virtual machines automatically
  • Uses the custom Azure Resource Manager template to provision the virtual machines

What should you do?

A. In Azure Cloud Shell, run Azure CLI commands to create and delete the new virtual machines in a staging resource group.
B. In Azure DevOps, configure new tasks in the release pipeline to deploy to Azure Cloud Services.
C. From Azure Cloud Shell, run Azure PowerShell commands to create and delete the new virtual machines in a staging resource group.
D. In Azure DevOps, configure new tasks in the release pipeline to create and delete the virtual machines in Azure DevTest Labs.
Correct Answer:
D. In Azure DevOps, configure new tasks in the release pipeline to create and delete the virtual machines in Azure DevTest Labs.
Answer Description:
You can use the Azure DevTest Labs Tasks extension that’s installed in Azure DevOps to easily integrate your CI/CD build-and-release pipeline with Azure DevTest Labs. The extension installs three tasks:

  1. Create a VM
  2. Create a custom image from a VM
  3. Delete a VM

The process makes it easy to, for example, quickly deploy a “golden image” for a specific test task and then delete it when the test is finished.
References:
Microsoft Docs > Integrate Azure DevTest Labs into your Azure Pipelines CI/CD pipeline