Free AZ-400 Exam Braindumps (page: 16)

Page 15 of 128

You have a web app hosted on Azure App Service. The web app stores data in an Azure SQL database.

You need to generate an alert when there are 10,000 simultaneous connections to the database. The solution must minimize development effort. Which option should you select in the Diagnostics settings of the database?

  1. Send to Log Analytics
  2. Stream to an event hub
  3. Archive to a storage account

Answer(s): A

Explanation:

ENABLE DIAGNOSTICS TO LOG ANALYTICS
This configuration is done PER DATABASE
1. Click on Diagnostics Settings and then Turn On Diagnostics


2. Select to Send to Log Analytics and select the Log Analytics workspace. For this sample I will selected only Errors


Reference:

https://techcommunity.microsoft.com/t5/azure-database-support-blog/azure-sql-db-and-log-analytics-better-together-part-1/ba-p/794833



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 virtual machine that is monitored by using Azure Monitor.
The virtual machine has the Azure Log Analytics agent installed.
You plan to deploy the Service Map solution from the Azure Marketplace.
What should you deploy to the virtual machine to support the Service Map solution?

  1. the Dependency agent
  2. the Telegraf agent
  3. the Windows Azure diagnostics extension (WAD)
  4. the Azure monitor agent

Answer(s): A

Explanation:

Use the Dependency agent if you need to use the Map feature VM insights or the Service Map solution.
Note: Consider the following when using the Dependency agent:
-The Dependency agent requires the Log Analytics agent to be installed on the same machine.
-On Linux computers, the Log Analytics agent must be installed before the Azure Diagnostic Extension.
-On both the Windows and Linux versions of the Dependency Agent, data collection is done using a user-space service and a kernel driver.


Reference:

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



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






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

AZ-400 Discussions & Posts