exam questions

Exam AZ-304 All Questions

View all questions & answers for the AZ-304 exam

Exam AZ-304 topic 1 question 9 discussion

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

HOTSPOT -
You deploy several Azure SQL Database instances.
You plan to configure the Diagnostics settings on the databases as shown in the following exhibit.

Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
In the exhibit, the SQLInsights data is configured to be stored in Azure Log Analytics for 90 days. However, the question is asking for the ג€maximumג€ amount of time that the data can be stored which is 730 days.

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
sallymaher
Highly Voted 4 years, 1 month ago
wrong answer should be 90 and 730 if you choose 0 it will be correct
upvoted 81 times
STH
3 years, 4 months ago
now 0 means indefinite (maybe this was not possible 9 months ago)
upvoted 2 times
...
AlexD332
3 years, 10 months ago
it seems 90 is correct for the first one "First, if you are using storage for archiving, you generally want your data around for more than 365 days. Second, if you choose a retention policy that is greater than 0, the expiration date is attached to the logs at the time of storage. You can't change the date for those logs once stored." https://docs.microsoft.com/en-us/azure/azure-monitor/essentials/diagnostic-settings?tabs=CMD#create-in-azure-portal
upvoted 3 times
...
AWS56
4 years ago
https://docs.microsoft.com/en-us/azure/azure-monitor/app/data-retention-privacy 90, 730 are correct
upvoted 7 times
...
abhishek_arya02
3 years, 11 months ago
you are correct. rest of team can check the MS documentation https://docs.microsoft.com/en-us/azure/azure-sql/database/metrics-diagnostic-telemetry-logging-streaming-export-configure?tabs=azure-portal#data-retention-policy-and-pricing
upvoted 1 times
...
...
lupuscon
Highly Voted 4 years ago
According to this: https://docs.microsoft.com/en-us/azure/azure-monitor/essentials/diagnostic-settings Because a retention policy is set It should be 90 days and 730 days
upvoted 12 times
saexams
4 years ago
Answers are correct, first is indefinite due to checkbox selected for Archive to a storage account.
upvoted 8 times
lupuscon
4 years ago
@saexams this setting only allows for longer storage if you keep the retention policy at 0 >>For example, if you set the retention policy for WorkflowRuntime to 180 days and then 24 hours later set it to 365 days, the logs stored during those first 24 hours will be automatically deleted after 180 days, while all subsequent logs of that type will be automatically deleted after 365 days. Changing the retention policy later doesn't make the first 24 hours of logs stay around for 365 days.<< https://docs.microsoft.com/en-us/azure/azure-monitor/essentials/diagnostic-settings So it is 90 days and 730 days (maximum Storage duration possible)
upvoted 4 times
...
...
...
victorlie
Most Recent 2 years, 8 months ago
Tricky question
upvoted 1 times
...
AubinBakana
2 years, 9 months ago
It's a trick question. The back up in the storage account blob will be stored indefinitely and for 90 days in the LAWS. However,, the question is asking what is the maximum amount time that that data can be stored. This does not even have anything to do with this particular question - unfair, I know. Answer is: - Indefinite for blob & - 730 for in the log analytics workspace.
upvoted 1 times
...
AubinBakana
2 years, 9 months ago
It's a trick question. The back up in the storage account blob will be stored indefinitely and for 90 days in the LAWS. However,, the question is asking what is the maximum amount time that that data can be stored. This does not even have anything to do with this particular question - unfair, I know. Answer is: - Indefinite for blob & - 730 for in the log analytics workspace.
upvoted 1 times
...
VijayRaja2000
2 years, 11 months ago
Given Answers are correct. Indefinite : 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. https://docs.microsoft.com/en-us/azure/azure-monitor/essentials/diagnostic-settings?tabs=portal#destinations 730 days : By default Application Insights and Log Analytics has a data retention of 90 days. You can opt to extend the retention up to 730 days. https://support.tygraph.com/support/solutions/articles/67000572648-changing-azure-log-analytics-retention
upvoted 1 times
...
OCHT
2 years, 11 months ago
90 and 730. It's verified.
upvoted 1 times
...
achechen
2 years, 11 months ago
This question seems to be outdated. Tested in Azure Portal. When you select "Archive to a storage account" option, the following info is displayed: "Retention only applies to storage account. Retention policy ranges from 1 to 365 days. If you do not want to apply any retention policy and retain data forever, set retention (days) to 0."
upvoted 1 times
...
VijayRaja2000
2 years, 12 months ago
For storage account, it is indefinite for sure as you can see from this link https://docs.microsoft.com/en-us/azure/azure-monitor/essentials/diagnostic-settings?tabs=CMD. For log analytics workspace, it seems to be depending upon the pricing tier.
upvoted 1 times
...
hertino
3 years ago
In AZ-305 exam, 9 april 22
upvoted 7 times
...
kanweng
3 years, 1 month ago
90 and 730, the picture Retention Day is for Storage account, ( you don't set the Retention day for Log analytics in Diagnostic setting (picture).
upvoted 1 times
...
plmmsg
3 years, 1 month ago
answer is 90, 730
upvoted 1 times
...
arun
3 years, 1 month ago
Have tried it... when we enable 'Archive to Storage Account' option then only the retention period section is shown... so the retention period is applicable only to Storage account so 90 & 730 are right answers.
upvoted 1 times
...
plmmsg
3 years, 2 months ago
90 and 730
upvoted 1 times
...
vipin0114
3 years, 4 months ago
If selected value is 90 then it will consider 90 days and if selected value is 0 then it will consider indefinite. so correct answer is 90 and 730 days
upvoted 2 times
...
Dpejic
3 years, 4 months ago
On exam 24.12.2021
upvoted 4 times
...
aromanrod
3 years, 4 months ago
that's correct, 90 is the amount of retention time in LogAnalitycs, but the logs will be stored indefinitely, if you need to clean up the logs is necessary to apply life cycle management for Storage Accounts. Second question: is asking for the maximum amount of time that Log Analytics could store the log on it, so the maximum amount is 730 days. both answers are correct.
upvoted 2 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