Question 108 of 179 from exam AZ-204: Developing Solutions for Microsoft Azure

Question 108 of 179 from exam AZ-204: Developing Solutions for Microsoft Azure

Question

DRAG DROP - You develop an application.

You plan to host the application on a set of virtual machines (VMs) in Azure.

You need to configure Azure Monitor to collect logs from the application.

Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Select and Place:

Actions Answer Area
Create a Log Analytics workspace.

Install agents on the VM and VM scale set to be monitored.

Send console logs.

Add a VMinsights solution.

Create an Application Insights resource.

Explanations

Actions Answer Area

Create a Log Analytics workspace.

Add a VMinsights solution.

Send console logs. Install agents on the VM and VM scale set to be monitored.

Create an Application Insights resource.

Step 1: Create a Log Analytics workspace.

First create the workspace.

Step 2: Add a VMInsights solution.

Before a Log Analytics workspace can be used with VM insights, it must have the VMInsights solution installed.

Step 3: Install agents on the VM and VM scale set to be monitored.

Prior to onboarding agents, you must create and configure a workspace.

Install or update the Application Insights Agent as an extension for Azure virtual machines and VM scalet sets.

Step 4: Create an Application Insights resource Sign in to the Azure portal, and create an Application Insights resource.

Home > New > Application Insights >

Application Insights

Monitor web app performance and usage

Basics Tags Review + create

Create an Application Insights resource to monitor your live web application. With Application Insights, you have full
observability into your application across all components and dependencies of your complex distributed architecture. It
includes powerful analytics tools to help you diagnose issues and to understand what users actually do with your app. It's
designed to help you continuously improve performance and usability. It works for apps on a wide variety of platforms
including .NET, Nodejs and Java EE, hosted on-premises, hybrid, or any public cloud. Learn More

PROJECT DETAILS

Select a subscription to manage deployed resources and costs. Use resource groups like folders to organize and manage all
your resources.

Subscription * © Visual Studio Enterprise v

l

—— Resource Group * © My_Resource Group Vv
‘Create new

INSTANCE DETAILS.

Name* © My_Appinsights_Resource v

Region * © (US) West US 2 Vv

Resource Mode * ©.

WORKSPACE DETAILS.

Visual Studio Enterprise Vv

Log Analytics Workspace * © __[_my-workspace-name [westus2] Vv

<Previous [Next:Tags>

Once a workspace-based Application Insights resource has been created, configuring monitoring is relatively straightforward.

https://docs.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-configure-workspace https://docs.microsoft.com/en-us/azure/azure-monitor/app/create-workspace-resource