Free AZ-400 Exam Braindumps
Designing and Implementing Microsoft DevOps Solutions Questions 23–27 (page: 8)

Updated On: 16-Nov-2026

DRAG DROP (Drag and Drop is not supported)
You have a web app named App1 that uses Application Insights in Azure Monitor to store log data. App1 has users in multiple locations.
You need to query App1 requests from London and Paris that return a 404 error. The solution must meet the following requirements:
-Return the timestamp, url, resultCode, and duration fields.
-Only show requests made during the last hour.
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: timestamp >= ago(1hr)
Add a time filter to the query
You can also define your own time range by adding a time filter to the query. It's best to place the time filter immediately after the table name:
SecurityEvent
| where TimeGenerated > ago(30m)
| where toint(Level) >= 10
In the preceding time filter, ago(30m) means "30 minutes ago." This query returns records from only the last 30 minutes, which is expressed as, for example, 30m. Other units of time includ
Box 2: project
Use project and extend to select and compute columns
Use project to select specific columns to include in the results:
SecurityEvent
| top 10 by TimeGenerated
| project TimeGenerated, Computer, Activity


Reference:

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



HOTSPOT (Drag and Drop is not supported)
You have a project in Azure DevOps that contains a Continuous Integration/Continuous Deployment (CI/CD) pipeline.
You need to enable detailed logging by defining a pipeline variable.
How should you configure the variable? 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: system.debug
To configure verbose logs for all runs, you can add a variable named system.debug and set its value to true.
Note: Verbose logging is the practice of recording to a persistent medium as much information as you possibly can about events that occur while the software runs.
Box 2: true


Reference:

https://docs.microsoft.com/en-us/azure/devops/pipelines/troubleshooting/review-logs



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



Viewing page 8 of 81
Viewing questions 36 - 40 out of 398 questions


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

AI Tutor AI Tutor 👋 I’m here to help!