注:この質問は、同じシナリオを提示する一連の質問の一部です。シリーズの各質問には、指定された目標を達成する可能性のある独自のソリューションが含まれています。一部の質問セットには複数の正しい解決策がある場合がありますが、他の質問セットには正しい解決策がない場合があります。
このセクションの質問に回答した後は、その質問に戻ることはできません。その結果、これらの質問はレビュー画面に表示されません。
写真を管理するためのSaaS(Software as a Service)サービスを開発します。ユーザーは写真をWebサービスにアップロードし、Azure Storage Blobストレージに写真を保存します。ストレージアカウントの種類は汎用V2です。
写真をアップロードするときは、モバイルフレンドリーなバージョンの画像を作成して保存するために処理する必要があります。モバイルフレンドリーなバージョンの画像を作成するプロセスは、1分未満で開始する必要があります。
写真処理を開始するプロセスを設計する必要があります。
解決策:Blobストレージイベントから写真処理をトリガーします。
ソリューションは目標を達成していますか?
正解:B
Explanation
You need to catch the triggered event, so move the photo processing to an Azure Function triggered from the blob upload Note: Azure Storage events allow applications to react to events. Common Blob storage event scenarios include image or video processing, search indexing, or any file-oriented workflow.
Events are pushed using Azure Event Grid to subscribers such as Azure Functions, Azure Logic Apps, or even to your own http listener.
Note: Only storage accounts of kind StorageV2 (general purpose v2) and BlobStorage support event integration. Storage (general purpose v1) does not support integration with Event Grid.
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-event-overview