AZ-400 Exam QuestionsBrowse all questions from this exam

AZ-400 Exam - Question 89


You have a multi-tier application that has an Azure Web Apps front end and an Azure SQL Database back end.

You need to recommend a solution to capture and store telemetry data. The solution must meet the following requirements:

✑ Support using ad-hoc queries to identify baselines.

✑ Trigger alerts when metrics in the baseline are exceeded.

✑ Store application and database metrics in a central location.

What should you include in the recommendation?

Show Answer
Correct Answer: C

Azure Application Insights is well-suited for capturing and storing telemetry data for a multi-tier application with an Azure Web Apps front end and an Azure SQL Database back end. It supports the use of ad-hoc queries to identify baselines, can trigger alerts when metrics exceed the baseline, and centrally stores both application and database metrics. Application Insights is designed specifically for application performance monitoring and can provide detailed insights into both the performance and usage of the application components, making it the ideal solution for this scenario.

Discussion

27 comments
Sign in to comment
gulopez
Jun 18, 2021

I think answer should be Log Analytics What kind of telemetry data is being handled by Log Analytics ? -> Data related to infrastructure and network level i.e., few of them are syslogs, IIS logs, custom logs, windows events, windows and linux performance counters, etc. For more information, please refer https://docs.microsoft.com/en-us/azure/azure-monitor/azure-monitor-log-hub What kind of telemetry data is being handled by App Insights ? -> Data related to code-level application performance level i.e., few of them are ping URL tests, page view counts, page view load data, HTTP requests, dependency calls, exceptions and stack traces, custom events and metrics that you code, trace logs, AJAX calls, user and session counts, run-time exceptions, failure anomalies, abnormal rise in exceptions, etc. For more information, please refer https://docs.microsoft.com/en-us/azure/azure-monitor/azure-monitor-app-hub and https://docs.microsoft.com/en-us/azure/azure-monitor/app/troubleshoot-faq#what-telemetry-is-collected-by-application-insights

armvch
Aug 28, 2023

We need to store application and database metrics. According to provided links app logs should be handled by App Insights. Why did you choose LA then

msuleman92
Nov 30, 2020

Its C, Cause in Log Analytics you can run the Queries + You can set triggers for alerts. and centralized Database Management.

aftab7500
May 9, 2021

✑ Store application and database metrics in a central location. Taking this account answer should be D. As Log analytics is the place where can query data after saving log to it.

UnknowMan
Nov 7, 2022

With multi-tier application we need a common place to query logs of each service. So The answer is correct => Log Analytics

mohamed1999Option: D
Mar 8, 2023

they have a condition "Store application and database metrics in a central location." Application Insights is not a centralised location. There for Log Analytics is correct.

coffecold
May 15, 2023

Application Insights can store data in Log Analytics workspaces

armvch
Sep 12, 2023

Yes, but why should we choose AI then? If we use Log Analytics for storing

armvch
Sep 12, 2023

Yes, but why should we choose AI then? If we use Log Analytics for storing

DHAdminOption: C
Aug 26, 2023

from chatGPT: However, Azure Log Analytics does not provide some of the advanced application monitoring capabilities that are available in Azure Application Insights, such as automatic collection of telemetry data from web apps and services, and built-in support for identifying and diagnosing performance and availability issues.

Fal991l
Oct 27, 2023

Option D, **Azure Log Analytics**, is not the best solution for capturing and storing telemetry data in this scenario because it is primarily used for collecting and analyzing data from different sources . It does not support ad-hoc queries to identify baselines or trigger alerts when metrics in the baseline are exceeded . It also does not store application and database metrics in a central location . Therefore, Azure Log Analytics does not meet all of the requirements for capturing and storing telemetry data. References: : Microsoft. (n.d.). What is Log Analytics? https://docs.microsoft.com/en-us/azure/azure-monitor/logs/log-analytics-overview

renzokuOption: D
Jan 10, 2024

Apparently the answer is: D. Azure Log Analytics >Collecting, storing, and analyzing log data from various sources (Multi-tier application) >Powerful query language for querying log data (Support using ad-hoc queries to identify baselines) >Alerts based on log data (Trigger alerts when metrics in the baseline are exceeded) >Centralize and correlate logs for monitoring, troubleshooting across your environment (Store application and database metrics in a central location) Azure Application Insights, focused on application performance monitoring, well-suited for monitoring web applications, APIs(doesn't fit to multi-tier applications as well as Log Analytics), and itself is not a centralized location for storing data.

gcgonzalesOption: D
Jun 29, 2024

Both Log Analytics and Application Insights meets almost all requirements EXCEPT database Telemetry. This is only achieved via Log Analytics, while Application Insights track dependencies with SQL services, but almost no more. Answer: D. Log Analytics

Sukon_DesknotOption: C
Feb 16, 2024

Log Analytics will not "Trigger alerts when metrics in the baseline are exceeded."

McelonaOption: C
Nov 18, 2022

I Think right answer is C

Govcomm
Jan 22, 2023

azure log analytics

kennynelconOption: D
Jan 23, 2023

Log Analytics is the accurate answer, as it stores data related to network

syu31svcOption: D
Feb 6, 2023

This is D for sure

flafernan
Jan 24, 2024

C and D: While both Azure Application Insights and Log Analytics can meet the question's requirements, Microsoft likely chose to consider Log Analytics as the correct answer because it is more widely used for collecting and analyzing telemetry data in cloud environments. Log Analytics is a powerful tool that provides advanced analytics and insights to help monitor and troubleshoot cloud applications and infrastructure. Additionally, Log Analytics is highly integrated into the Azure ecosystem, making it a natural choice for this type of scenario. However, it is important to note that Azure Application Insights is also a valid and effective option for capturing and analyzing telemetry data in web applications. Both solutions can be successfully used to meet the requirements mentioned in the question.

Dankho
Dec 31, 2024

Thank you ChatGPT

yuu_oppaiOption: C
Apr 3, 2024

It is C.

vsvaidOption: D
Jun 16, 2024

Log Analytics-- Application Insights does not store data. Application Insights is a layer on top of Log Analytics aimed at application-level telemetry and uses the log data stored in Log Analytics to provide an additional bunch of features that make App Insights an Application Performance Management tool

vsvaidOption: D
Jun 30, 2024

Log analytics for me. Someone mentioned in the comments that we cannot create alert rules in log. That is incorrect, we can create alerts on custom log queries just like insight alert rules

DankhoOption: D
Dec 31, 2024

These tools are used together but since we need a broader monitoring solution, I go with Log Analytics. Azure Application Insights: This is your application's performance and health specialist, providing automatic insights into user behavior, response times, and code-level diagnostics. It's the quickest way to understand what is happening within your application. Azure Log Analytics: This is your comprehensive data investigator for your entire system, allowing you to collect, analyze, and query logs and metrics from any source. It's the power tool for understanding how and when things happen across your infrastructure and applications through flexible queries and custom alerts.

Praks
Oct 18, 2020

It should be C

RogerJin
Oct 20, 2020

Why is it C?

OhBee
Oct 27, 2020

Answer is correct as I do not believe Application Insights has querying capabilities.

Fred64
Nov 19, 2020

Application INsights has a querying capability with a sql-like language: kusto But SQL doesn't log to AI, but Log Analytics. So the answer is correct because AI doesn't provide a single location log storage

Fred64
Nov 19, 2020

Application INsights has a querying capability with a sql-like language: kusto But SQL doesn't log to AI, but Log Analytics. So the answer is correct because AI doesn't provide a single location log storage

bnair
Nov 18, 2020

Right answer would have been Azure Monitor. Both App Insights and Log Analytics are parts of AM.

bnair
Nov 18, 2020

Here Log analytics seems to be the right answer. It supports ad hoc qs, central location for storing all logs, and can be used to configure alerts. Intelligent Insights and Azure SQL analytics can run on those data as well.

CristianN
Mar 9, 2021

More correct is Azure Monitor https://docs.microsoft.com/en-us/azure/azure-monitor/learn/tutorial-response Alerts are set based on metrics which are not an output of Azure Log Analytics (Logs). If we have to choose from the options, Azure Application Insights are more appropriate.

27close
May 1, 2021

Application Insights, a feature of Azure Monitor, is an extensible Application Performance Management (APM) service for developers and DevOps professionals..It can monitor and analyze telemetry from mobile apps by integrating with Visual Studio App Center.

27close
May 1, 2021

Explore, filter, and segment aggregated data such as rates of requests, failures, and exceptions; response times, page load times. Explore the components of your app, with key metrics and alerts. Set up automatic alerts that adapt to your app's normal patterns of telemetry and trigger when there's something outside the usual pattern. You can also set alerts on particular levels of custom or standard metrics.

jimmyymlOption: C
Aug 20, 2023

C. From chatgpt, Based on the requirements, the best recommendation would be to use Azure Application Insights. Application Insights supports ad-hoc queries and alerting when metrics exceed baselines. It also stores application and database metrics in a central location, making it easy to monitor and analyze the data. While Azure Log Analytics could also be used to store and analyze telemetry data, it does not have built-in support for ad-hoc queries or alerting based on metrics exceeding baselines. Azure Event Hubs is primarily used for event streaming and real-time data ingestion, and while Azure SQL Database Intelligent Insights provides database performance monitoring and recommendations, it does not support monitoring of the application tier or alerting based on metrics exceeding baselines.

Dankho
Dec 31, 2024

From Claude: C. Azure Application Insights ✓ Supports ad-hoc queries through Kusto Query Language (KQL) ✓ Has built-in smart detection and alerting capabilities ✓ Stores both application and database telemetry ✓ Provides baseline deviation detection ✓ Offers centralized monitoring solution D. Azure Log Analytics While it supports queries and alerts More focused on infrastructure and log analysis Would require additional configuration for application metrics Better suited for operational logs rather than application telemetry The correct answer is C. Azure Application Insights.

Tyler2023
Mar 1, 2024

Does Application Insights store database metrics? I think no, but one of the requirements is "Store application and database metrics in a central location." I'm not familiar with Azure SQL Database Intelligent Insights but I assume it only cares about the database logs and metrics Azure Event Hubs, you can't use ad-hoc queries So the answer is Azure Log Analytics

ozbonnyOption: D
Aug 21, 2024

I think D since we need both metrics UI and SQL

Tolahap
Apr 18, 2025

The correct is D. Azure Log Analytics provides central storage capabilities. You could configure both the Web App and SQL Database to send data directly to Log Analytics.