DP-900 practice question 25 of 35

You need to store event log data that is semi-structured and received as the logs occur. What should you use?

Full set: 303 questions

Domain Describe how to work with non-relational data on Azure

Answer options
A: Azure Table storage Correct answer
B: Azure Queue storage
C: Azure Files
Correct Answer:
A. Azure Table storage
Explanation

Azure Table storage is the optimal choice for this scenario. It is a NoSQL key-value store designed to handle large amounts of semi-structured data, which is characteristic of event logs. Its schemaless design allows for flexibility in the properties of each log entry. Table storage is highly scalable and cost-effective for the high-volume write operations typical of logging systems where events are recorded as they occur. It provides fast data retrieval based on the partition and row keys, which is suitable for querying specific log events.

Why Incorrect

B. Azure Queue storage: This service is designed for asynchronous messaging between application components, not for the persistent storage of data like event logs. Messages are typically deleted after processing.
C. Azure Files: This provides a fully managed file share in the cloud using the SMB protocol. It is best suited for "lift and shift" scenarios or as a shared drive, not for storing and querying individual, semi-structured log entries as they arrive. ---

References

1. Microsoft Learn. (2023). What is Azure Table Storage?. "Azure Table storage stores large amounts of structured NoSQL data. The service is a NoSQL datastore which accepts authenticated calls from inside and outside the Azure cloud. Azure tables are ideal for storing structured, non-relational data." This aligns with the semi-structured nature of event logs.

Source: https://learn.microsoft.com/en-us/azure/storage/tables/table-storage-overview (Introduction section)

2. Microsoft Learn. (2023). Compare access to Azure Files, Blob Storage, and Azure NetApp Files with NFS. "Azure Files offers fully managed file shares in the cloud that are accessible via the industry standard Server Message Block (SMB) protocol... Common use cases for Azure Files include... 'Lift and shift' applications." This highlights its purpose as a file share, which is less suitable for individual event data.

Source: https://learn.microsoft.com/en-us/azure/storage/common/compare-nfs-files-blobs (Azure Files section)

3. Microsoft Learn. (2023). What is Azure Queue Storage?. "Azure Queue Storage is a service for storing large numbers of messages. You access messages from anywhere in the world via authenticated calls using HTTP or HTTPS... You can use Queue storage to create a backlog of work to process asynchronously." This clearly defines its role as a messaging system, not a permanent data store for logs.

Source: https://learn.microsoft.com/en-us/azure/storage/queues/storage-queues-introduction (What is Queue Storage? section)

Scroll to Top