exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 5 question 19 discussion

Actual exam question from Microsoft's AZ-204
Question #: 19
Topic #: 5
[All AZ-204 Questions]

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:

Show Suggested Answer Hide Answer
Suggested Answer:

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
aradice
Highly Voted 3 years, 10 months ago
correct https://docs.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-configure-workspace?tabs=CLI https://docs.microsoft.com/en-us/azure/azure-monitor/app/create-workspace-resource
upvoted 24 times
CarlosTheBoldest
1 year, 4 months ago
The list is correct but it is on the wrong order. 1. Create Log Analytics workspace (in Azure Portal) 2. Create Application Insights resource (in Monitor, Application Insights with workspace attached) 3.Add VMInsights solution (== activate VMInsights in Monitor, choose VM's, attach workspace). 4.Install agents on VM
upvoted 6 times
...
vilainchien
3 years, 2 months ago
correct https://docs.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-overview#configuring-vm-insights
upvoted 4 times
...
...
coffecold
Highly Voted 2 years, 6 months ago
You must make the workspace in the portal In Monitor you must add Application insights with the workspace In Monitor you must activate VMInsights and add your VM's and assign a workspace to it Then install and run the agents in each VM 1. Create Log Analytics workspace (in Azure Portal) 2. Create Application Insights resource (in Monitor, Application Insights with workspace attached) 3.Add VMInsights solution (== activate VMInsights in Monitor, choose VM's, attach workspace). 4.Install agents on VM
upvoted 9 times
...
Vichu_1607
Most Recent 5 months, 1 week ago
a. Create a Log Analytics workspace b. Install agents on the VM and VM scale set to be monitored d. Add a VMInsights Solution c. Send Console logs
upvoted 1 times
...
8ac3742
8 months, 3 weeks ago
Correct answer: Here’s why collecting VM logs is important even when using Application Insights: Application Insights focuses on the performance, availability, and usage of your application itself. It provides insights into how your application is running, user interactions, and any issues within the application code. Azure Monitor agent (formerly known as Log Analytics agent) collects logs and metrics from the VM’s operating system and infrastructure. This includes CPU usage, memory usage, disk I/O, and network performance. These metrics are crucial for understanding the health and performance of the underlying infrastructure that your application runs on.
upvoted 2 times
...
Ciupaz
1 year, 3 months ago
CAIC to remember
upvoted 7 times
...
WH16
1 year, 8 months ago
This was on the exam (9th August 2023). Went with proposed. Scored 910.
upvoted 5 times
...
rolling_potato_
2 years, 3 months ago
Was on my exam today (3rd of Jan 2023)
upvoted 8 times
adilkhan
2 years, 3 months ago
what was your answer and your score please?
upvoted 1 times
...
...
wsguruprasath
3 years, 1 month ago
Create Log Analytics workspace. Add VMInsights solution to workspace. Install agents on virtual machine and virtual machine scale set to be monitored. https://docs.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-overview
upvoted 1 times
...
RajMasilamani
3 years, 7 months ago
Configuring VM insights The steps to configure VM insights are as follows. Follow each link for detailed guidance on each step: 1.Create Log Analytics workspace. 2.Add VMInsights solution to workspace. 3.Install agents on virtual machine and virtual machine scale set to be monitored.
upvoted 5 times
...
ning
3 years, 8 months ago
Why application insights???
upvoted 2 times
nyanko
3 years, 2 months ago
Is VMInsights required to monitor application log ? https://docs.microsoft.com/en-us/azure/azure-monitor/app/azure-vm-vmss-apps
upvoted 1 times
...
ning
3 years, 8 months ago
Add more stuff ... If you want to monitor VM, CPU, memory, disk, you should us VM insights, if you want to monitor an app running inside VM, you need application insights ... Not sure what is the question asking ...
upvoted 3 times
jvyas
3 years, 7 months ago
It does say "You need to configure Azure Monitor to collect logs from the application." Hope this helps to discern.
upvoted 1 times
...
ning
3 years, 8 months ago
I think this is the answer 1. Create log name space 2. Create app insights 3. Install app insights agents on VM 4. Send console log for the app
upvoted 4 times
Maharaja
3 years, 7 months ago
Thank you. Can you provide some ms doc link supporting your answer?
upvoted 2 times
adilkhan
2 years, 3 months ago
why 2 is application insights?
upvoted 1 times
...
...
...
...
ning
3 years, 7 months ago
After lots of research ... 1. Log analytics name space 2. Application insights 3. VM solutions 4. Install agents
upvoted 5 times
adilkhan
2 years, 3 months ago
why 2 is application insights?
upvoted 1 times
...
...
...
finnishr
3 years, 8 months ago
100% correct https://docs.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-overview
upvoted 7 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