Question

Difficulty: MediumConfigure Blob Storage Lifecycle and Replication

An administrator is managing a standard general-purpose v2 storage account named storage1. The storage account currently uses Locally Redundant Storage (LRS) and contains a blob container named archive.

The administrator needs to meet the following requirements:
1. Ensure the storage account is replicated to a secondary region to protect against regional outages.
2. Automatically move blobs in the archive container to the Archive storage tier if they have not been modified for more than 90 days.

Which two actions should the administrator perform? (Select TWO.)

  1. Change the replication setting of the storage account to Geo-redundant storage (GRS) in the storage account configuration.Answer
  2. Create a lifecycle management rule that includes a prefix match filter of archive/ and a rule action to transition blobs to the Archive tier after 90 days.Answer
  3. C
    Submit a support request to perform a live migration to Zone-redundant storage (ZRS) first, as standard LRS storage accounts cannot be directly converted to GRS.
  4. D
    Assign the Storage Blob Data Owner role to the Azure Storage lifecycle management service principal before applying the rule.
  5. E
    Configure a lifecycle management rule with a prefix match filter of /archive/ to target all blobs in the container.

Answer

To meet the requirements, the administrator must change the replication of the storage account to Geo-redundant storage (GRS) and create a lifecycle management rule with a prefix match of archive/ to transition the blobs to the Archive tier after 90 days.
To protect against regional outages, the replication configuration of the storage account must be modified to Geo-redundant storage (GRS), which is a supported self-service change. To automate the transition of blobs to the Archive tier after 90 days, a lifecycle management rule is required. The prefix filter for the container must be defined starting directly with the container name (e.g., 'archive/') and cannot start with a leading slash.

Step-by-Step Solution

1
Navigate to the configuration blade of the storage account in the Azure portal and change the replication setting.
The replication configuration of the storage account is changed from LRS to GRS.
GRS replicates the data asynchronously to a secondary region, providing protection against regional outages. This conversion path is supported directly without a support request.
2
Create a lifecycle management rule under the Lifecycle Management blade of the storage account.
A new lifecycle management policy rule is defined.
Lifecycle management rules allow automating transitions to colder tiers and deleting blobs based on their modification age.
3
Configure the rule's prefix filter to target the archive container using 'archive/' and set the transition action to Archive tier after 90 days.
The rule is scoped to target only the blobs in the archive container and transition them to the Archive tier.
The prefix filter must start with the container name and must not contain a leading slash. Setting the days after modification to 90 satisfies the lifecycle requirement.

Key Concept

Configuring Geo-redundant storage replication conversion and setting up Azure Blob Storage Lifecycle Management rules using prefix matching.
Rate this question