exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 2 question 7 discussion

Actual exam question from Microsoft's AZ-400
Question #: 7
Topic #: 2
[All AZ-400 Questions]

SIMULATION -
You need to create an instance of Azure Application Insights named az400-123456789-main and configure the instance to receive telemetry data from an Azure web app named az400-123456789-main.
To complete this task, sign in to the Microsoft Azure portal.

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.
Step 1: Create an instance of Azure Application Insights
1. Open Microsoft Azure Portal
2. Log into your Azure account, Select Create a resource > Developer tools > Application Insights.

3. Enter the following settings, and then select Review + create.

Name: az400-123456789-main -
Step 2: Configure App Insights SDK
1. Open your ASP.NET Core Web App project in Visual Studio > Right-click on the AppName in the Solution Explorer > Select Add > Application Insights
Telemetry.

2. Click the Get Started button
3. Select your account and subscription > Select the Existing resource you created in the Azure portal > Click Register.
Reference:
https://docs.microsoft.com/bs-latn-ba/azure/azure-monitor/learn/dotnetcore-quick-start?view=vs-2017

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
giuliohome
Highly Voted 2 years, 8 months ago
it's an azure web app so you go there in app services and Select Application Insights in the Azure control panel for your app service, then select Enable. https://docs.microsoft.com/en-us/azure/azure-monitor/app/azure-web-apps-nodejs?tabs=windows#auto-instrumentation-through-azure-portal BTW It's nowhere written it is a dotnet app
upvoted 20 times
buzzerboy
2 years, 4 months ago
I did the samething for azure web app also.
upvoted 1 times
...
...
xRiot007
Highly Voted 1 year, 9 months ago
You need to enable App Insights for an Azure App. It has nothing to do with Visual Studio. Your steps: 1. Login to Az Portal 2. Create an App Insights resource 3. Locate your Az Web App, if it does not exist, create it. 4. Go to the resource, to Settings, to Application Insights and enable it. Select the App Insights resource you created earlier and Apply. This should be all.
upvoted 15 times
...
chakanirban
Most Recent 11 months ago
NO LAB on 6/21 - 9 am IST - 1 Case study , 6 new Q 1 YES NO series was new - 3 Q - I answered all No , because 2 will No and 1 Y JOB A depends JOB B JOB B on JOB C JOB C on JOB D who is dependent , who can run parallel 3 yes/ no
upvoted 8 times
...
karthikwarrior
11 months, 1 week ago
I took exam today from home, there were no simulations (lab) only one case study!
upvoted 5 times
chakanirban
11 months ago
yes, u were my inspiration and got no labs
upvoted 2 times
...
...
sibishrewd
1 year, 4 months ago
got this lab in today's exam but VS was not installed in my lab
upvoted 3 times
...
Kem81
1 year, 9 months ago
are there simulations in the real exam? I thought they removed them.
upvoted 6 times
...
yana_b
1 year, 9 months ago
Try this sequence of steps and you will enable the Apps insights for a web app via the AZ Portal: 1. Login to AZ portal 2. Create new resource -> search for Application insights -> create new (use the instance name in the lab) 3. Create new resource -> Web app (uncheck application insights) 4. Once both resources are depolyed => go to the web app 5. Under Settings click on Application Insights -> enable -> mark 'Select an existing resource' 6. click on the Application insights created in step 2 -> Apply Provided solution in the question itself refers to enabling App Insights in Visual studio
upvoted 3 times
...
zeaimen
1 year, 10 months ago
I don't get this part : Open your ASP.NET Core Web App project in Visual Studio : where is this VS supposed to be?
upvoted 1 times
...
zellck
1 year, 11 months ago
Gotten this in Jun 2023 exam.
upvoted 3 times
gabo
1 year, 7 months ago
so how do you do this in the exam? Do you get a Azure portal to login? What about credentials?
upvoted 1 times
xda
1 year, 3 months ago
Got this on my exam too (January2024) Credentials will be provided from the exam. Its a real Azure-Webportal.
upvoted 2 times
__srey1212
1 year, 3 months ago
Did you follow the instructions that is there in the discussion section?
upvoted 1 times
...
...
...
...
ShivaUdari
2 years, 4 months ago
Can use Azure portal and achieve the goal to enable insights for Azure Web App
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago