Microsoft AZ-400 Exam Questions
Designing and Implementing Microsoft DevOps Solutions (Page 9 )

Updated On: 16-Mar-2026

DRAG DROP (Drag and Drop is not supported)

You have an Azure subscription that contains multiple users.

You need to create an Azure Deployment Environment. The solution must meet the following requirements:

Ensure that users can deploy preconfigured environments.

Follow the principle of least privilege.

Minimize administrative effort.

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.

Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Configure Azure Deployment Environments
Create and configure a dev center [Step 2], add a catalog [Step 1] to the dev center, and define an environment type [Step 4]. Then associate a project with the dev center, add environment types, and allow dev access to the project.

Step 1: Create a catalog
First, you create a dev center and attach a catalog to it. The catalog contains the application templates, called environment definitions, that development teams can use to create environments.

Step 2: Create a dev center
A dev center is the top-level resource for Azure Deployment Environments that contains the collection of development projects. In the dev center, you specify the common configuration for your projects, such as catalogs with application templates, and the types of environments to which development teams can deploy their code.

Step 3: Attach a managed identity to the dev center and assign roles to the identity.
Configure a managed identity for the dev center
To allow the creation of environments, the dev center requires permissions on the subscription. You can attach an identity to the dev center, and then assign the necessary permissions to that identity. You can attach either a system-assigned managed identity or a user-assigned managed identity.

Step 4: Create a project environment type
Use an environment type to help you define the different types of environments your development teams can deploy.

Note: Configure project environment types

Project environment types are a subset of the environment types configured for a dev center. They help preconfigure the environments that a specific development team can create.

In Azure Deployment Environments, environment types that you add to the project are available to developers when they deploy environments. Environment types determine the subscription and identity that are used for those deployments.

Project environment types allow platform engineering teams to:

* Configure the target subscription in which Azure resources will be created, per environment type and per project.

You can provide subscriptions for environment types in a project to automatically apply the right set of policies on environments. This action also abstracts Azure governance-related concepts from your development teams.

*-> Preconfigure the managed identity that developers use to perform the deployment, along with the access levels that development teams get after the environment is created.

Incorrect:
* Create a project
This would be the next step.


Reference:

https://learn.microsoft.com/en-us/azure/deployment-environments/quickstart-create-and-configure-devcenter https://learn.microsoft.com/en-us/azure/deployment-environments/how-to-configure-project-environment-types



HOTSPOT (Drag and Drop is not supported)

You use Azure DevOps to manage the build and deployment of an app named App1.

You have a release pipeline that deploys a virtual machine named VM1.

You plan to monitor the release pipeline by using Azure Monitor.

You need to create an alert to monitor the performance of VM1. The alert must be triggered when the average CPU usage exceeds 70 percent for five minutes. The alert must calculate the average once every minute.

How should you configure the alert rule? To answer, select the appropriate options in the answer area.

Note: Each correct selection is worth one point.

Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Box 1: 5 minutes
The alert must calculate the average once every minute.

Note: We [Microsoft] recommend choosing an Aggregation granularity (Period) that is larger than the Frequency of evaluation, to reduce the likelihood of missing the first evaluation of added time series

Box 2: Static

Box 3: Greater than

Example, say you have an App Service plan for your website. You want to monitor CPU usage on multiple instances running your web site/app. You can do that using a metric alert rule as follows:

Target resource: myAppServicePlan
Metric: Percentage CPU
Condition Type: Static
Dimensions
Instance = InstanceName1, InstanceName2
Time Aggregation: Average
Period: Over the last 5 mins
Frequency: 1 min
Operator: GreaterThan
Threshold: 70
Like before, this rule monitors if the average CPU usage for the last 5 minutes exceeds 70%.
Aggregation granularity


Reference:

https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-metric-overview



You have an Azure subscription.

You need to ensure that users can provision preconfigured cloud-based environments for developing apps.
The solution must minimize administrative effort.

What should you include in the solution?

  1. Windows 365 Cloud PC
  2. Azure Deployment Environments
  3. Azure Virtual Desktop
  4. Microsoft Dev Box

Answer(s): B

Explanation:

Azure Deployment Environments empowers development teams to quickly and easily spin up app infrastructure with project-based templates that establish consistency and best practices while maximizing security. This on-demand access to secure environments accelerates the stages of the software development lifecycle in a compliant and cost-efficient way.
A deployment environment is a collection of Azure infrastructure resources defined in a template called an environment definition. Developers can deploy infrastructure defined in the templates in subscriptions where they have access, and build their applications on the infrastructure.


Reference:

https://learn.microsoft.com/en-us/azure/deployment-environments/overview-what-is-azure-deployment-

environments



DRAG DROP (Drag and Drop is not supported)

You have an app named App1. You have a Log Analytics workspace named Workspace1 that contains two tables named Events and Logs. App1 manages events in multiple locations and writes logs to Workspace1.

You need to query Workspace1 for all log entries related to Asia that occurred during the last two days.

In which order should you arrange the query statements? To answer, move all statements from the list of statements to the answer area and arrange them in the correct order.

Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Step 1: Logs

Step 2: | where continent == 'Asia'

Step 3: | join ( Events

Step 4: | where timestamp > ago (2d)

Step 5: ) on RequestId

Example:
Get extended activities from a login that some entries mark as the start and end of an activity.

Kusto let Events = MyLogTable | where type=="Event" ;
Events
| where Name == "Start"
| project Name, City, ActivityId, StartTime=timestamp
| join (Events
| where Name == "Stop"
| project StopTime=timestamp, ActivityId)
on ActivityId
| project City, ActivityId, StartTime, StopTime, Duration = StopTime - St


Reference:

https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/joinoperator



You have an Azure subscription that contains a Log Analytics workspace named WS1 and a virtual machine named VM1.

You need to install the Microsoft Enterprise Cloud Monitoring extension on VM1.

Which two values are required to configure the extension? Each correct answer presents part of the solution.

Note: Each correct answer is worth one point.

  1. the ID of WS1
  2. the system-assigned managed identity of VM1
  3. the resource ID of VM1
  4. the secret key of WS1
  5. the ID of the subscription

Answer(s): A,D

Explanation:

To install the Microsoft Enterprise Cloud Monitoring extension on a virtual machine Log Analytics workspace, you can either use the Azure portal or the Azure CLI. The extension, also known as the Log Analytics VM extension, automatically installs and configures the agent, allowing the virtual machine to send data to the Log Analytics workspace.
You can use the Azure CLI to deploy the Log Analytics VM extension to an existing virtual machine. The command az vm extension set is used to deploy the extension, with parameters like workspaceId [A] and workspaceKey [D] required. You can find these values in your Log Analytics workspace within the Azure portal.


Reference:

https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/oms-windows



Viewing page 9 of 72
Viewing questions 41 - 45 out of 355 questions



Post your Comments and Discuss Microsoft AZ-400 exam dumps with other Community members:

AZ-400 Exam Discussions & Posts

AI Tutor 👋 I’m here to help!