ExamGecko
Home / Microsoft / AZ-400 / List of questions
Ask Question

Microsoft AZ-400 Practice Test - Questions Answers, Page 22

List of questions

Question 211

Report
Export
Collapse

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?

Kusto Query Language (KQL)
Kusto Query Language (KQL)
PL/pgSQL
PL/pgSQL
PL/SQL
PL/SQL
Transact-SQL
Transact-SQL
Suggested answer: A

Explanation:

Azure Monitor Logs is based on Azure Data Explorer, and log queries are written using the same Kusto query language (KQL). This is a rich language designed to be easy to read and author, and you should be able to start using it with minimal guidance.

Reference:

https://docs.microsoft.com/en-us/azure/azure-monitor/log-query/log-query-overview

asked 02/10/2024
Rajiesh George
39 questions

Question 212

Report
Export
Collapse

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.

NOTE: Each correct selection is worth one point.

Azure Logic Apps
Azure Logic Apps
Azure Pipelines
Azure Pipelines
Microsoft Visual Studio App Center
Microsoft Visual Studio App Center
Azure DevOps Project
Azure DevOps Project
Azure Application Insights
Azure Application Insights
Suggested answer: A, E

Explanation:

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

Reference:

https://docs.microsoft.com/en-us/azure/azure-monitor/app/asp-net-exceptions

https://docs.microsoft.com/en-us/azure/azure-monitor/app/automate-custom-reports

asked 02/10/2024
Joel Hernandez
41 questions

Question 213

Report
Export
Collapse

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?

the Microsoft Test & Feedback extension
the Microsoft Test & Feedback extension
Microsoft Visual Studio App Center integration
Microsoft Visual Studio App Center integration
Azure Application Insights widgets
Azure Application Insights widgets
Jenkins integration
Jenkins integration
Suggested answer: A

Explanation:

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.

Reference:

https://marketplace.visualstudio.com/items?itemName=ms.vss-exploratorytesting-web

asked 02/10/2024
Michael Aragon
32 questions

Question 214

Report
Export
Collapse

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.

NOTE: Each correct selection is worth one point.

Modify the load balancer settings of VMSS1.
Modify the load balancer settings of VMSS1.
Redeploy VMSS1.
Redeploy VMSS1.
Upload a custom script file to sa1.
Upload a custom script file to sa1.
Modify the Custom Script extension settings of VMSS1.
Modify the Custom Script extension settings of VMSS1.
Update the configuration of a virtual machine in VMSS1.
Update the configuration of a virtual machine in VMSS1.
Suggested answer: B, C, D
asked 02/10/2024
Cristi Savin
50 questions

Question 215

Report
Export
Collapse

SIMULATION

You need to create a notification if the peak average response time of an Azure web app named az400-9940427-main is more than five seconds when evaluated during a five-minute period. The notification must trigger the “https:// contoso.com/notify” webhook.

To complete this task, sign in to the Microsoft Azure portal.

See solution below.
See solution below.
Suggested answer: A

Explanation:

1. Open Microsoft Azure Portal

2. Log into your Azure account and go to App Service and look under Monitoring then you will see Alert. 3. Select Add an alert rule

4. Configure the alert rule as per below and click Ok.

Source: Alert on Metrics

Resource Group: az400-9940427-main

Resource: az400-9940427-main

Threshold: 5

Period: Over the last 5 minutes

Webhook: https://contoso.com/notify

Microsoft AZ-400 image Question 10 explanation 86769 10022024015257000000

Reference:

https://azure.microsoft.com/es-es/blog/webhooks-for-azure-alerts/

asked 02/10/2024
Thembinkosi Sibiya
34 questions

Question 216

Report
Export
Collapse

SIMULATION

You need to create and configure an Azure Storage account named az400lod11566895stor in a resource group named RG1lod11566895 to store the boot diagnostics for a virtual machine named VM1.

To complete this task, sign in to the Microsoft Azure portal.

See solution below.
See solution below.
Suggested answer: A

Explanation:

Step 1: To create a general-purpose v2 storage account in the Azure portal, follow these steps:

1. On the Azure portal menu, select All services. In the list of resources, type Storage Accounts. As you begin typing, the list filters based on your input. Select Storage Accounts.

2. On the Storage Accounts window that appears, choose Add.

3. Select the subscription in which to create the storage account.

4. Under the Resource group field, select RG1lod11566895

5. Next, enter a name for your storage account named: az400lod11566895stor

6. Select Create.

Step 2: Enable boot diagnostics on existing virtual machine

To enable Boot diagnostics on an existing virtual machine, follow these steps:

1. Sign in to the Azure portal, and then select the virtual machine VM1.

2. In the Support + troubleshooting section, select Boot diagnostics, then select the Settings tab.

3. In Boot diagnostics settings, change the status to On, and from the Storage account drop-down list, select the storage account az400lod11566895stor.

4. Save the change.

Microsoft AZ-400 image Question 11 explanation 86770 10022024015257000000

You must restart the virtual machine for the change to take effect.

Reference:

https://docs.microsoft.com/en-us/azure/storage/common/storage-account-create

https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/boot-diagnostics

asked 02/10/2024
Thomas Lichtenberger
30 questions

Question 217

Report
Export
Collapse

SIMULATION

You have a web app that connects to an Azure SQL Database named db1.

You need to configure db1 to send Query Store runtime statistics to Azure Log Analytics.

To complete this task, sign in to the Microsoft Azure portal.

See solution below.
See solution below.
Suggested answer: A

Explanation:

To enable streaming of diagnostic telemetry for a single or a pooled database, follow these steps:

1. Go to Azure SQL database resource.

2. Select Diagnostics settings.

3. Select Turn on diagnostics if no previous settings exist, or select Edit setting to edit a previous setting. You can create up to three parallel connections to stream diagnostic telemetry.

4. Select Add diagnostic setting to configure parallel streaming of diagnostics data to multiple resources.

Microsoft AZ-400 image Question 12 explanation 86771 10022024015257000000

5. Enter a setting name for your own reference.

6. Select a destination resource for the streaming diagnostics data: Archive to storage account, Stream to an event hub, or Send to Log Analytics.

7. For the standard, event-based monitoring experience, select the following check boxes for database diagnostics log telemetry: QueryStoreRuntimeStatistics

Microsoft AZ-400 image Question 12 explanation 86771 10022024015257000000Microsoft AZ-400 image Question 12 explanation 86771 10022024015257000000

8. For an advanced, one-minute-based monitoring experience, select the check box for Basic metrics.

9. Select Save.

Reference:

https://docs.microsoft.com/en-us/azure/azure-sql/database/metrics-diagnostic-telemetry-logging-streaming-export-configure

asked 02/10/2024
Dylan Johnson
42 questions

Question 218

Report
Export
Collapse

You are monitoring the health and performance of an Azure web app by using Azure Application Insights. You need to ensure that an alert is sent when the web app has a sudden rise in performance issues and failures. What should you use?

custom events
custom events
Application Insights Profiler
Application Insights Profiler
usage analysis
usage analysis
Smart Detection
Smart Detection
Continuous export
Continuous export
Suggested answer: D

Explanation:

Smart Detection automatically warns you of potential performance problems and failure anomalies in your web application. It performs proactive analysis of the telemetry that your app sends to Application Insights. If there is a sudden rise in failure rates, or abnormal patterns in client or server performance, you get an alert.

Reference:

https://docs.microsoft.com/en-us/azure/azure-monitor/app/proactive-diagnostics

asked 02/10/2024
jim eagleton
34 questions

Question 219

Report
Export
Collapse

You have a private GitHub repository.

You need to display the commit status of the repository on Azure Boards.

What should you do first?

Configure multi-factor authentication (MFA) for your GitHub account.
Configure multi-factor authentication (MFA) for your GitHub account.
Add the Azure Pipelines app to the GitHub repository.
Add the Azure Pipelines app to the GitHub repository.
Add the Azure Boards app to the repository.
Add the Azure Boards app to the repository.
Create a GitHub action in GitHub.
Create a GitHub action in GitHub.
Suggested answer: C

Explanation:

To connect Azure Boards to GitHub.com, connect and configure from Azure Boards. Or, alternatively, install and configure the Azure Boards app from GitHub. Both methods have been streamlined and support authenticating and operating via the app rather than an individual.

Note (see step 4 below):

Add a GitHub connection:

1. Sign into Azure Boards.

2. Choose (1) Project Settings, choose (2) GitHub connections and then (3) Connect your GitHub account.

3. If this is your first time connecting to GitHub from Azure Boards, you will be asked to sign in using your GitHub credentials. Choose an account for which you are an administrator for the repositories you want to connect to.

4. The Add GitHub Repositories dialog automatically displays and selects all GitHub.com repositories for which you are an administrator. Unselect any repositories that you don't want to participate in the integration.

Microsoft AZ-400 image Question 14 explanation 86773 10022024015257000000

Reference:

https://docs.microsoft.com/en-us/azure/devops/boards/github/connect-to-github

asked 02/10/2024
Philippe Chretien
44 questions

Question 220

Report
Export
Collapse

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?

From Microsoft Teams, run @azure pipelines subscribe https://dev.azure.com/Contoso/Project1.
From Microsoft Teams, run @azure pipelines subscribe https://dev.azure.com/Contoso/Project1.
From Azure Pipelines, add a Publish Build Artifacts task to Project1.
From Azure Pipelines, add a Publish Build Artifacts task to Project1.
From Microsoft Teams, run @azure pipelines subscriptions.
From Microsoft Teams, run @azure pipelines subscriptions.
From Azure Pipelines, enable continuous integration for Project1.
From Azure Pipelines, enable continuous integration for Project1.
Suggested answer: A

Explanation:

To start monitoring all pipelines in a project, use the following command inside a channel:

@azure pipelines subscribe [project url]

The project URL can be to any page within your project (except URLs to pipelines).

For example:

@azure pipelines subscribe https://dev.azure.com/myorg/myproject/

Reference:

https://docs.microsoft.com/en-us/azure/devops/pipelines/integrations/microsoft-teams

asked 02/10/2024
Andy Hodges
39 questions
Total 489 questions
Go to page: of 49
Search

Related questions