exam questions

Exam AZ-304 All Questions

View all questions & answers for the AZ-304 exam

Exam AZ-304 topic 3 question 11 discussion

Actual exam question from Microsoft's AZ-304
Question #: 11
Topic #: 3
[All AZ-304 Questions]

You have an Azure subscription that contains the resources shown in the following table.

You need to archive the diagnostic data for VNET1 for 365 days. The solution must minimize costs.
Where should you archive the data?

  • A. Workspace1
  • B. storage1
  • C. storage2
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Incorrect Answers:
A: When you create a new workspace, it automatically creates several Azure resources that are used by the workspace:
✑ Azure Storage account: Is used as the default datastore for the workspace.
Note: The workspace is the top-level resource for Azure Machine Learning, providing a centralized place to work with all the artifacts you create when you use
Azure Machine Learning.
Reference:
https://docs.microsoft.com/en-us/azure/machine-learning/concept-workspace

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
GetulioJr
Highly Voted 3 years, 10 months ago
Answer is correct. Here is microsoft recomendation: "Archiving logs and metrics to an Azure storage account is useful for audit, static analysis, or backup. Compared to Azure Monitor Logs and a Log Analytics workspace, Azure storage is less expensive and logs can be kept there indefinitely." "The storage account needs to be in the same region as the resource being monitored if the resource is regional." REF: https://docs.microsoft.com/en-us/azure/azure-monitor/essentials/diagnostic-settings?tabs=CMD
upvoted 47 times
rdemontis
3 years, 5 months ago
thanks for explanation and for the documentation attached
upvoted 3 times
...
...
kwaazaar
Highly Voted 4 years, 1 month ago
Probably storage1, since it's in the same region. Otherwise you pay for data transfer. Has nothing to do with machine learning.
upvoted 15 times
icedog
3 years, 2 months ago
It's a bit more than that. You can't Diagnostic settings to Archive to a storage account that is not in the same region as the resource itself.
upvoted 1 times
...
...
Dawn7
Most Recent 3 years, 1 month ago
Selected Answer: B
B is correct
upvoted 1 times
...
us3r
3 years, 2 months ago
Selected Answer: B
vote b
upvoted 1 times
...
AhmedHassan16
3 years, 3 months ago
B. is the correct answer Storage1 is the same region and cheaper than the log analytics workspace
upvoted 1 times
...
syu31svc
3 years, 6 months ago
The storage account needs to be in the same region as the resource being monitored. it will incur additional egress charges to transfer data so answer is B
upvoted 5 times
...
jayantthegreat2
3 years, 10 months ago
B (storage 1) is correct as it is cost effective and can store data for longer periods whereas in Azure Log Analytics workspace, every GB of data ingested into your Azure Monitor Log Analytics workspace can be retained at no charge for up to first 31 days. Data retained beyond first 31 days will be charged per the data retention prices listed below.
upvoted 6 times
...
Oracleist
4 years ago
if I pay for Log analytics why not send to workspace?
upvoted 2 times
us3r
3 years, 2 months ago
it is what it is
upvoted 1 times
...
shooty
4 years ago
Clever remark ! It there a trick here finally ? No sure anyway, we don't use analytics for archive retention usually. I'll pick Storage 1 anyway!
upvoted 2 times
...
sunmonkey
4 years ago
The question is asking to archive the data, so a storage account would be more cost effective.
upvoted 4 times
...
Kctaz
3 years, 2 months ago
A bit late to answer you but here is why you choose Azure Storage here instead of Log analytics workspace : the question is asking to retain the data for 365 days while log analytics workspace only keep them 90 days (thought you can expand to 730 days in some situations). So, normally, if you want to keep your logs more than 90 days, you send them to a storage. A ref among others : https://docs.microsoft.com/en-us/azure/azure-monitor/essentials/activity-log#send-to-azure-storage
upvoted 2 times
Snownoodles
2 years, 6 months ago
"while log analytics workspace only keep them 90 days" - this is not correct. Log analytics workspace can keep logs up to 730 days. "90" is free days that you can keep logs with. LAW is not for archiving, is for interactive query. So the correct answer is storage1.
upvoted 1 times
...
...
...
Vipsao
4 years, 1 month ago
The answer is correct. This is Storage 1
upvoted 6 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