Microsoft Designing and Implementing DevOps Solutions AZ-400 Dumps in PDF

Free Microsoft AZ-400 Real Questions (page: 5)

HOTSPOT (Drag and Drop is not supported)
You have a project in Azure DevOps that includes two users named User1 and User2.
You plan to use Azure Monitor to manage logs.
You need to ensure that the users can perform the actions shown in following the table.

The solution must follow the principle of least privilege.
Which role should you assign to each user? 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:




Built-in monitoring roles
Built-in roles in Azure Monitor help limit access to resources in a subscription while still enabling staff who monitor infrastructure to obtain and configure the data they need. Azure Monitor provides two out-of-the-box roles: Monitoring Reader and Monitoring Contributor.
Box 1: Monitoring Contributor
People assigned the Monitoring Contributor role can view all monitoring data in a subscription. They can also create or modify monitoring settings, but they can't modify any other resources.
This role is a superset of the Monitoring Reader role. It's appropriate for members of an organization's monitoring team or managed service providers who, in addition to the permissions mentioned earlier, need to:
*-> View monitoring dashboards in the portal and create their own private monitoring dashboards.
Create and edit diagnostic settings for a resource.
Set alert rule activity and settings using Azure alerts.
List shared keys for a Log Analytics workspace.
Create, delete, and execute saved searches in a Log Analytics workspace.
Create and delete the workspace storage configuration for Log Analytics.
Create web tests and components for Application Insights. See Resources, roles, and access control in Application Insights.
Box 2: Monitoring Reader
People assigned the Monitoring Reader role can view all monitoring data in a subscription but can't modify any resource or edit any settings related to monitoring resources. This role is appropriate for users in an organization, such as support or operations engineers, who need to:
View monitoring dashboards in the Azure portal.
View alert rules defined in Azure alerts.
Query Azure Monitor Metrics by using the Azure Monitor REST API, PowerShell cmdlets, or cross-platform CLI.
Query the Activity log by using the portal, Azure Monitor REST API, PowerShell cmdlets, or cross-platform CLI. View the diagnostic settings for a resource.
View the log profile for a subscription.
*-> View autoscale settings.
*-> View alert activity and settings.
Search Log Analytics workspace data, including usage data for the workspace.
Retrieve the table schemas in a Log Analytics workspace.
Retrieve and execute log queries in a Log Analytics workspace.
Access Application Insights data.


Reference:

https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles



DRAG DROP (Drag and Drop is not supported)
You have a GitHub repository that contains the source code for an app named App1.
You need to create process documentation for App1. The solution must include a diagram that displays the relationships between the phases of App1 as shown in the following exhibit.

How should you complete the markdown code? 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.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: StateDiagram
Mermaid can render state diagrams. The syntax tries to be compliant with the syntax used in plantUml as this will make it easier for users to share diagrams between mermaid and plantUml.
Note: A state diagram is a type of diagram used in computer science and related fields to describe the behavior of systems. State diagrams require that the system described is composed of a finite number of states; sometimes, this is indeed the case, while at other times this is a reasonable abstraction.
Box 2: Processing
Composite states
In a real world use of state diagrams you often end up with diagrams that are multi-dimensional as one state can have several internal states. These are called composite states in this terminology.
In order to define a composite state you need to use the state keyword followed by an id and the body of the composite state between {}. See the example below:
stateDiagram-v2
[*] --> First state First {
[*] --> second second --> [*]
}
Note: Mermaid is a Markdown-inspired tool that renders text into diagrams.
To create a Mermaid diagram, add Mermaid syntax inside a fenced code block with the mermaid language identifier.
Incorrect:
* flowchart
All Flowcharts are composed of nodes, the geometric shapes and edges, the arrows or lines. The mermaid code defines the way that these nodes and edges are made and interact.


Reference:

https://mermaid-js.github.io/mermaid/#/stateDiagram https://mermaid-js.github.io/mermaid/#/flowchart



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-environ ments



DRAG DROP (Drag and Drop is not supported)
You have a web app named App1 that is hosted on multiple servers. App1 uses Application Insights in Azure Monitor.
You need to compare the daily CPU usage from the last week for all servers.
How should you complete the query? 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.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: bin(timestamp,1d)
Summarizing each day’s request count into a timechart (a line chart). We also have options got a bar chart (barchart), pie chart (piechart), area chart (areachart) and scatter chart (scatterchart)
requests
| summarize request_count = count() by bin(timestamp, 1d)
| render timechart
Box 2: render (timechart,1d)


Reference:

https://putridparrot.com/blog/basics-of-kql/



DRAG DROP (Drag and Drop is not supported)
You have a web app named App1 that uses Application Insights in Azure Monitor.
You need to compare the hourly CPU usage of App1 from the last 24 hours. The solution must include a graph that has a threshold line at 75 percent.
How should you complete the query? 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.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: bin(TimeGenerated, 1h)
We need to compare the hourly CPU usage, not the daily usage.
Box 2: extend
Incorrect:
* render
The next command would be render, but cannot be used in conjunction with threshold.


Reference:

https://learn.microsoft.com/en-us/azure/azure-monitor/logs/get-started-queries



HOTSPOT (Drag and Drop is not supported)
You are using Agile process methodologies in Azure DevOps.
You need to deploy a dashboard that will provide progress reports for the following work items:
-How long it took to close a work item after it was created.
-How long it took to close a work item after the work was started.
Which type of widget should you use for each work item? 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: Lead time
How long it took to close a work item after it was created.
Lead time measures the total time elapsed from the creation of work items to their completion.
Box 2: Cycle time
How long it took to close a work item after the work was started.
Cycle time measures the time it takes for your team to complete work items once they begin actively working on them.
Incorrect:
* Burndown chart, Burnup chart
Burndown and burnup charts support project management to visually track work completed over time.
Burndown charts begin with the total amount of planned work and then as work is completed graphs the remaining work. With the progression of time, the amount of to-do work decreases.
Burnup charts track work as it is completed over time. They're useful to show the rate at which work is getting completed.


Reference:

https://learn.microsoft.com/en-us/azure/devops/report/dashboards/burndown-guidance



SIMULATION
Navigate to https://dev.azure.com, select Start Free, and specify the following credentials:
-User: User1-12345678@ExamUsers.com
-Password: 0123456789
Use the default setting to sign up for Azure DevOps and create an Azure DevOps organization. Once the organization is created, create a private project named Project1.
You need to add an external user that has an email address of User2-12345678@ExamUsers.com as a stakeholder of the User1-12345678 Azure DevOps organization.
The user must be added to the most restrictive Azure DevOps group.
To complete this task, sign in to the Azure DevOps portal as User1-12345678@ExamUsers.com.

  1. See Explanation section for answer.

Answer(s): A

Explanation:

See explanation below.


Phase 1: Create an organization
Azure DevOps, Create an organization
Step 1: Sign in to Azure DevOps.
Step 2: Select New organization.

Step 3: Confirm information, and then select Continue.


Congratulations, you're an organization owner!
Phase 2: Create a Private project
Crate a project in Azure DevOps
Step 4: Sign in to your organization (https://dev.azure.com/{yourorganization}).
Step 5: Select New project.

Step 6: Enter information into the form provided.
Provide a name for your project. [Enter Project1]
Choose the visibility, initial source control type, and work item process. [Select Private]

Step 7: Select Create. Azure DevOps displays the project welcome page.

Phase 3: Add an external user
Azure DevOps, Add external users to your organization
Invite external user
Step 8: Sign in to your organization (https://dev.azure.com/{yourorganization}).
Step 9: Select gear icon Organization settings.

Step 10: Select Users, and then select Add users.

Step 11: Enter information based on the following guidance, and then select Add.
Users: Enter the email address for the user. [Enter User2-12345678@ExamUsers.com]


Reference:

https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/create-organization https://learn.microsoft.com/en-us/azure/devops/organizations/projects/create-project https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/add-external-user



HOTSPOT (Drag and Drop is not supported)
You are interrogating logs by using KQL.
You execute the query shown in the following exhibit.

Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
Note: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: Six
_____________ columns will be returned in the query output.
Line 3 specifies five columns.
Line 4 specifies an additional sixth column with extend.
Box 2: timespan
The data type of the Duration column is _______________.
One of the datatypes in Kusto is timespan. If you subtract two datetetime columns, the results is a timespan.
Execute in [Web] [Desktop] [cluster('kuskuseus.eastus.kusto.windows.net').database('Kuskus')]
print Span=datetime(2024-3-10 22:30)-datetime(2024-3-9 08:50)
PrimaryResult
Span
1.13:40:00
Note: Kusto, extend operator
Creates calculated columns and append them to the result set.
Syntax
T | extend [ColumnName | (ColumnName[, ...]) =] Expression [, ...]
Example
StormEvents
| project EndTime, StartTime
| extend Duration = EndTime - StartTime
The following table shows only the first 10 results. To see the full output, run the query.


Reference:

https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/extend-operator https://techcommunity.microsoft.com/t5/azure-data-explorer-blog/timespan-duration-values-in-kql-power-query -and-power-bi/ba-p/4086091



Share your comments for Microsoft AZ-400 exam with other users:

A
Anonymous User
4/13/2026 1:00:51 PM

Question 2:

  • Answer: D. Azure Advisor

  • Why: To view security-related recommendations for resources in the Compute and Apps area (including App Service Web Apps and Functions), you use Azure Advisor. Advisor surfaces personalized best-practice recommendations across resources, including security, and shows which resources are affected and the severity.

  • Why not the others:
- Azure Log Analytics is for ad-hoc querying of telemetry, not for viewing security recommendations. - Azure Event Hubs is for streaming telemetry data, not for security recommendations.
  • Quick tip: In the portal, navigate to Azure Advisor and check the Security recommendations for App Services to see actionable items and affe

R
Rian
3/19/2026 9:12:10 AM

This is very good and accurate. Explanation is very helpful even thou some are not 100% right but good enough to pass.

AI Tutor 👋 I’m here to help!