Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Configure blob lifecycle management

A worked example

Complete the statement

The appdata container holds application logs as block blobs in the Hot tier. Some upload tools name blobs starting with Logs/ and others start them with logs/. The requirements are:

  • Move all log blobs, from both naming styles, to the Cool tier when more than 30 days have passed since their last modification.
  • Leave in the Hot tier any log blob that the audit team has marked for retention.

The administrator plans to use blob index tags in the rule filter.

Complete the sentences so that the lifecycle rule meets the requirements.

The prefix filter must list . When a rule has both prefix and blob index tag filters, a blob is processed only if it matches . To keep retained blobs out of scope, the administrator should .

  • Blank 1: both appdata/Logs/ and appdata/logs/ as separate prefixes (correct answer)

    Each prefix includes the container name followed by the blob-name prefix. Matching is case-sensitive, so both spellings must be listed. Using only appdata/logs/ misses Logs/ blobs, and omitting appdata/ does not target the intended container.

  • Blank 2: both the prefix and the tag filters (correct answer)

    The prefix filter and tag filter are combined with logical AND. A blob must satisfy both filter types; matching either one alone is insufficient. Neither filter overrides the other, and tags can restrict tiering actions.

  • Blank 3: tag the blobs that should be tiered and filter on that tag (correct answer)

    An inclusion tag selects the blobs eligible for tiering; retained blobs must not match that tag condition. Lifecycle filters do not provide exclusion or NOT conditions, and a second rule cannot override another rule with a skip action.

Why

A prefix includes the container name and the beginning of the blob name. Case-sensitive matching requires separate entries for appdata/Logs/ and appdata/logs/. The blob must match one listed prefix and the tag condition. An inclusion tag limits processing to eligible blobs while leaving retained blobs outside the rule.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free