exam questions

Exam AZ-304 All Questions

View all questions & answers for the AZ-304 exam

Exam AZ-304 topic 1 question 8 discussion

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

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

You create an Azure SQL database named DB1 that is hosted in the East US region.
To DB1, you add a diagnostic setting named Settings1. Settings1 archives SQLInsights to storage1 and sends SQLInsights to Workspace1.
For each of the following statements, select Yes if the statement is true, Otherwise, select No.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: No -
You archive logs only to Azure Storage accounts.

Box 2: Yes -

Box 3: Yes -
Sending logs to Event Hubs allows you to stream data to external systems such as third-party SIEMs and other log analytics solutions.
Note: A single diagnostic setting can define no more than one of each of the destinations. If you want to send data to more than one of a particular destination type
(for example, two different Log Analytics workspaces), then create multiple settings. Each resource can have up to 5 diagnostic settings.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/diagnostic-settings

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
19042020
Highly Voted 4 years, 7 months ago
Even Storage2 is also a Storage account, so the answers should be Yes, Yes, Yes
upvoted 144 times
cooksiecooks
3 years, 3 months ago
the context is Storage1 is already added in the diagnostic section which you couldn't add it unless replace it so its N-Y-Y
upvoted 2 times
techweck
2 years, 9 months ago
then work space is also added, so as per you it should be N, N , Y. but we can add upto 5 diag rules. its just that a single diag can have 1 same type of desktination. answer is Yes, Yes , Yes
upvoted 2 times
...
...
sanketshah
4 years, 5 months ago
Answer should be Yes Yes Yes
upvoted 15 times
...
sreejayan
4 years, 4 months ago
Agreed - Y-Y-Y
upvoted 11 times
...
gssd4scoder
3 years, 8 months ago
100% agre with you
upvoted 3 times
...
...
FK2974
Highly Voted 4 years, 4 months ago
I'v put this question in during my recent training and MS trainer told this should be all Yes/Yes/Yes
upvoted 39 times
...
Jayeshp877
Most Recent 2 years, 4 months ago
1.N 2.N 3.Y 100% correct, Tested
upvoted 2 times
...
[Removed]
3 years ago
The question states add a NEW diagnostic setting, and I just tried it for all 3. The answer is Y.Y.Y
upvoted 2 times
...
Alezz
3 years, 2 months ago
There is no indication that there was any new diagnostic settings created thus working on the assumption it's a brand new setup. Just tested in lab and it works. Y-Y-Y
upvoted 2 times
Teringzooi
3 years, 1 month ago
In which exam? AZ-305?
upvoted 2 times
necroknight
2 years, 11 months ago
Yes, this question is on the AZ-305 exam.
upvoted 1 times
...
...
...
kanweng
3 years, 3 months ago
Yes, Yes, Yes, You can have up to 5 diagnostic setting Please, Notes The storage account needs to be in the same region as the resource being monitored if the resource is regional. The event hub namespace needs to be in the same region as the resource being monitored if the resource is regional. only Kind(Storage, Storagev2), BlockBlobStorage is not supported.
upvoted 2 times
...
JBS
3 years, 3 months ago
Answer is YYY. Options are clearly stating "you can add 'new' diagnostic settings". It is not saying modifying an existing settings. A single diagnostic setting can define no more than one of each of the destinations. If you want to send data to more than one of a particular destination type (for example, two different Log Analytics workspaces), then create multiple settings. Each resource can have up to 5 diagnostic settings. Ref: https://docs.microsoft.com/en-us/azure/azure-monitor/essentials/diagnostic-settings?tabs=CMD
upvoted 1 times
...
plmmsg
3 years, 3 months ago
YES, YES, YES
upvoted 1 times
...
OlivierPaudex
3 years, 4 months ago
The only difference I saw is that storage2 is a V2, compared to storage1. If storage2 is a normal blob V2 storage, the answer is YES-YES-YES. If storage2 is another type of storage (shared files, datalake), the answer is NO-YES-YES But where did you see that storage2 is not a normal V2 blob storage ?
upvoted 1 times
...
vipin0114
3 years, 6 months ago
Tested in LAB, answer is Yes, Yes, Yes
upvoted 5 times
...
Dpejic
3 years, 6 months ago
Appere on exam 23-dec-2021
upvoted 3 times
...
dmitritr
3 years, 7 months ago
NYY: Only Storage V2 is shown as an option Destination details: - Send to Log Analytics workspace -Archive to a storage account Showing only general-purpose v2 storage account -Stream to an event hub -Send to partner solution
upvoted 1 times
JayBee65
3 years ago
Your first N refers to V2 storage, so it should be a Y
upvoted 1 times
...
...
Metwally
3 years, 8 months ago
Tested on lab it should be Y,Y,Y
upvoted 2 times
...
shafqat
3 years, 8 months ago
Azure Data Lake Storage Gen2 accounts are not currently supported as a destination for diagnostic settings even though they may be listed as a valid option in the Azure portal. No Yes Yes
upvoted 3 times
...
tteesstt
3 years, 8 months ago
Yes/Yes/Yes - there is no limit on how many diagnostic settings you can create.
upvoted 1 times
...
dkltruong88
3 years, 9 months ago
Was in exam today 1-10-2021. I passed with score 896. I chose Y, Y, Y
upvoted 6 times
...
syu31svc
3 years, 9 months ago
https://docs.microsoft.com/en-us/azure/azure-sql/database/metrics-diagnostic-telemetry-logging-streaming-export-configure?tabs=azure-portal You will also learn about the destinations to which you can stream this diagnostic telemetry and how to choose among these choices. Your destination options include: Log Analytics and SQL Analytics Event Hubs Azure Storage All Yes
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 ...