Exam DP203 Course Tybul: Difference between revisions
No edit summary |
|||
Line 40: | Line 40: | ||
Data Mesh: Means where end users work with the data. | Data Mesh: Means where end users work with the data. | ||
== 04 Storage Account Redundancy == |
Revision as of 22:56, 27 November 2024
Piotr Tybul YouTube course on DP 203:
https://www.youtube.com/playlist?list=PLuQSde7Xvu7DCRenR1otgxAplTtnzKO9e
03 Storage Account Overview
https://www.youtube.com/watch?v=ClqZ1j_7NY4
Tables
Configured in portal - storage account.
Used by NoSQL. Table is schemaless.
It is disabled by default, and if you try to create a table, it fails with a permissions error.
https://learn.microsoft.com/en-us/azure/storage/tables/assign-azure-role-data-access?tabs=powershell
says: When you create an Azure Storage account, you are not automatically assigned permissions to access data via Microsoft Entra ID. You must explicitly assign yourself an Azure role for Azure Storage. You can assign it at the level of your subscription, resource group, storage account, or table.
Storage Table Data Contributor
Edit: I have created a new account (Sandbox).
In a Storage account, go to Storage Browser - Tables to add a table (you can go to Data Storage - Tables, but there you can't edit the table contents)
Click Add Entity to add a new row to the table. Define columns and datatypes on the fly - it is schemaless so these can be changed, including on the same column in different rows.
Queues
Add a queue. Add a message to the queue. Can set to expire the messages after 7 days. You can "dequeue" the messages.
You can put anything in the messages, such as JSON code.
Create file shares. Note this doesn't seem to be allowed in the Sandbox.
Lift and shift from On-Premise file shares, to file shares in the cloud.
Me: Not sure whether file shares are available to on-premise or only to other Azure services.
File sync. A use case of this is where you have two on-premise servers A and B in different countries, where you want to be able to copy a large file from one to the other. This is unreliable over sFTP. So as an alternative, create two Azure file shares in Azure in those locations, and copy the file from on premise to those shares (which is a short distance). Then use the file sync functionality in Azure to copy the files across the longer distance between the two shares.
Data Mesh: Means where end users work with the data.