An amber-workshop order form must pull a finished pattern blob from Azure Blob Storage and save the bytes to local disk for a cutter workstation. Which SDK operation should the developer use?
Select an answer to reveal the explanation.
Short Explanation
Download is the forklift that brings the crate off the shelf to your bench. GetProperties only reads the shipping label. A SAS lets a browser fetch later, but the desk app still needs a download (or equivalent GET) to land bytes on disk.
Full Explanation
To materialize a blob’s bytes on local disk, the Blob SDK’s download APIs are the correct operation—Download, DownloadTo, DownloadToFile, or streaming download helpers that write the response body to a file path or stream. The amber-workshop order form needs the finished pattern blob contents, not merely metadata. Those download methods open the blob data plane, stream the payload, and persist it where the cutter workstation can read it. That matches “pull the blob and save the bytes locally.”
GetProperties fails because it returns system and user properties (and optionally metadata) without copying the blob body. Using it as if it wrote a local file confuses property inspection with content transfer.
Creating a user-delegation SAS fails as a substitute for download. A SAS authorizes a future request; it does not by itself transfer bytes to disk. Domain-of-security topics around SAS are separate from the data-plane call that actually downloads content.
SetMetadata fails because it updates metadata on the blob in Azure; it does not push file contents to a workstation. Metadata writes are outbound property changes, not a content delivery mechanism to clients.
Exam caveat: large blobs should be downloaded with streaming and retry-aware clients; loading an entire object into memory before writing disk can fail on size or transient network errors. Operational check: after Download/DownloadTo, compare local file size to the blob’s Content-Length (and optionally a content hash if you store one) to confirm a complete transfer before the cutter job starts.