You have an Azure App Service web app named App1.You need to recommend a monitoring solution for App1. The solution must meet the following requirements:● Monitor the availability of App1 and send notifications if any availability issues are detected.● Monitor the usage of Azure Functions by App1 and send notifications if high usage is detected.● Analyze user behavior of App1.What should you include in the recommendation?
Answer(s): A
Enable Azure Monitor Application Insights on your App Service to monitor web app performance, availability (using ping tests), and user behavior, with alerts configured for high function usage and downtime. Key actions include setting up Availability Tests, configuring alerts on Metric/Log data, and analyzing user flow via Application Insights.1. Enable Application InsightsNavigate to your Web App in the Azure Portal.Under Settings, select Application Insights.Select Enable and create a new resource or select an existing one. This automatically starts collecting request rates, response times, failures, and user telemetry.2. Monitor Availability & Send NotificationsGo to your Application Insights resource.Select Availability under the Investigate section.Click Add Standard test (or Ping test) to monitor the app's endpoint, setting it to run from multiple locations. Select Alerts > Create Alert Rule to trigger notifications (email, SMS, Azure Function) if the availability test fails.3. Monitor Azure Functions UsageEnsure Application Insights is also configured for the Azure Functions app, preferably using the same App Insights instance for centralized visibility.In the Function App, go to Monitor > Metrics.Select the Function Execution Count or Function Execution Units metric.Click New alert rule to configure alerts when usage exceeds a specific threshold.4. Analyze User BehaviorIn Application Insights, use the Usage pane for analytics.Users/Sessions/Events: Analyze active users, session lengths, and custom events.Funnels: Measure user conversion rates through a sequence of steps.User Flows: Visualize how users navigate through your app.Key Components UsedAvailability Tests: Checks HTTP endpoint availability.Azure Monitor Alerts: Sends notifications.Application Map: Visualizes dependency connections, including Functions.Log Analytics (Kusto Query Language): Allows advanced querying of user behavior and function execution logs.
https://learn.microsoft.com/en-us/azure/app-service/monitor-app-service
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.Your company deploys several virtual machines on-premises and to Azure. ExpressRoute is deployed and configured for on-premises to Azure connectivity.Several virtual machines exhibit network connectivity issues.You need to analyze the network traffic to identify whether packets are being allowed or denied from the Azure virtual machines to the on-premises virtual machines.Solution: Use Azure Advisor.Does this meet the goal?
Answer(s): B
Instead use Azure Network Watcher IP Flow Verify, which allows you to detect traffic filtering issues at a VM level.Note: IP flow verify checks if a packet is allowed or denied to or from a virtual machine. The information consists of direction, protocol, local IP, remote IP, local port, and remote port. If the packet is denied by a security group, the name of the rule that denied the packet is returned. While any source or destination IP can be chosen, IP flow verify helps administrators quickly diagnose connectivity issues from or to the internet and from or to the on-premises environment.
https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-ip-flow-verify-overview
HOTSPOT (Drag and Drop is not supported)You have an Azure subscription. The subscription contains 100 virtual machine that run Windows Server.You need to recommend a solution that will provide monitoring and an audit trail of the following modifications:-Changes to the Windows registry on the virtual machines-Changes to the DNS settings of the virtual machinesThe solution must minimize administrative effortWhat should you recommend using for each change? To answer, select the appropriate options in the answer area.Note: Each correct selection is worth one point.Hot Area:
Box 1: Azure Automation Change TrackingChanges to the Windows registry on the virtual machinesChange Tracking and Inventory in Azure AutomationThis feature tracks changes in virtual machines hosted in Azure, on-premises, and other cloud environments to help you pinpoint operational and environmental issues with software managed by the Distribution Package Manager. Items that are tracked by Change Tracking and Inventory include:Windows softwareLinux software (packages)Windows and Linux files*-> Windows registry keysWindows servicesLinux daemonsBox 2: Azure Monitor for VM InsightsChanges to the DNS settings of the virtual machinesVM insights provides a quick and easy method for getting started monitoring the client workloads on your virtual machines and virtual machine scale sets. It displays an inventory of your existing VMs and provides a guided experience to enable base monitoring for them.Note: VM Insights can monitor the health and performance of:Azure virtual machines.Azure Virtual Machine Scale Sets.Hybrid virtual machines connected with Azure Arc.On-premises virtual machines.Virtual machines hosted in another cloud environment.Incorrect:* Azure Monitor Change AnalysisChange Analysis in Azure MonitorWhile standard monitoring solutions might alert you to a live site issue, outage, or component failure, they often don't explain the cause. Let's say your site worked five minutes ago, and now it's broken. What changed in the last five minutes?Change Analysis is designed to answer that question in Azure Monitor.Building on the power of Azure Resource Graph, Change Analysis:Provides insights into your Azure application changes.Increases observability.Reduces mean time to repair (MTTR).
https://learn.microsoft.com/en-us/azure/automation/change-tracking/overview https://learn.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-overview https://learn.microsoft.com/en-us/azure/azure-monitor/change/change-analysis
HOTSPOT (Drag and Drop is not supported)Your company has 20 web APIs that were developed in-house.The company is developing 10 web apps that will use the web APIs. The web apps and the APIs are registered in the company's Microsoft Entra tenant. The web APIs are published by using Azure API Management.You need to recommend a solution to block unauthorized requests originating from the web apps from reaching the web APIs. The solution must meet the following requirements:-Use Microsoft Entra-generated claims.-Minimize configuration and management effort.What should you include in the recommendation? To answer, select the appropriate options in the answer area.Note: Each correct selection is worth one point.Hot Area:
Box 1: Microsoft Entra IDGrant permissions in Microsoft Entra ID.Box 2: Azure API ManagementConfigure a JWT validation policy to pre-authorize requests.Pre-authorize requests in API Management with the Validate JWT policy, by validating the access tokens of each incoming request. If a request does not have a valid token, API Management blocks it.
https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-protect-backend-with-aad
You need to recommend a data storage strategy for WebApp1.What should you include in the recommendation?
Answer(s): D
The use of WebApp1 is unpredictable. At peak times, users often report delays. At other times, many resources for WebApp1 are underutilized.Database metrics for the production instance of WebApp1 must be available for analysis so that database administrators can optimize the performance settings.Note: A virtual core (vCore) represents a logical CPU and offers you the option to choose between generations of hardware and the physical characteristics of the hardware (for example, the number of cores, the memory, and the storage size). The vCore-based purchasing model gives you flexibility, control, transparency of individual resource consumption, and a straightforward way to translate on-premises workload requirements to the cloud. This model optimizes price, and allows you to choose compute, memory, and storage resources based on your workload needs.Incorrect:Not C: Azure SQL Database elastic pools are a simple, cost-effective solution for managing and scaling multiple databases, not for a single database.
https://docs.microsoft.com/en-us/azure/azure-sql/database/service-tiers-sql-database-vcore
Post your Comments and Discuss Microsoft AZ-305 exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the AZ-305 content, but please register or login to continue.