Home
Explore
Exams
Search for anything
Login
Get started
Home
ADS 12 Blob Storage Practice Flashcards
ADS 12 Blob Storage Practice Flashcards
0.0
(0)
Rate it
Studied by 0 people
Learn
Practice Test
Spaced Repetition
Match
Flashcards
Card Sorting
1/10
There's no tags or description
Looks like no tags are added yet.
Study Analytics
All
Learn
Practice Test
Matching
Spaced Repetition
Name
Mastery
Learn
Test
Matching
Spaced
No study sessions yet.
11 Terms
View all (11)
Star these 11
1
New cards
What library is used for Azure Blob Storage in Python?
azure.storage.blob
2
New cards
What is the purpose of BlobServiceClient?
Creates a client to interact with the Azure Blob Storage account using a connection string.
3
New cards
How do you create a blob container in Azure with Python?
Use `get_container_client(container_name).create_container()`
4
New cards
How is a file uploaded to Azure Blob Storage?
Use `upload_blob()` with the blob client and file content.
5
New cards
Can blob names be hierarchical in Azure Blob Storage?
Yes, blob names can appear hierarchical but are not part of a real file system.
6
New cards
How do you list blobs in a container?
Use `list_blobs()` on the container client.
7
New cards
What is metadata in Azure Blob Storage?
Key-value pairs for tagging and managing blobs.
8
New cards
How do you set metadata on a blob?
Use `set_blob_metadata(metadata_dict)` on the blob client.
9
New cards
How do you retrieve metadata from a blob?
Use `get_blob_properties().metadata`
10
New cards
How do you download a blob's contents?
Use `download_blob().readall()` from the blob client.
11
New cards
How do you delete a blob container in Azure?
Call `delete_container()` on the container client.