You are developing a Python application that uses the `azure-storage-blob` (v12) SDK. The application must retrieve custom metadata from a blob named `financial_summary.xlsx` in a container named `archive`. The blob was previously uploaded with a custom metadata key-value pair of `Department: Finance`.
You write the following code:
python
from azure.storage.blob import BlobServiceClient
connection_string = "your_connection_string"
blob_service_client = BlobServiceClient.from_connection_string(connection_string)
blob_client = blob_service_client.get_blob_client(container="archive", blob="financial_summary.xlsx")
# Retrieve properties
properties = blob_client.get_blob_properties()
Which two of the following Python expressions will successfully retrieve the value of the department metadata ("Finance") from the `properties` object? (Choose two.)
- `properties.metadata.get('department')`Cevap
- `properties.metadata['department']`Cevap
- C`properties.metadata.get('Department')`
- D`properties.metadata.get('x-ms-meta-department')`