AI-102日本語試験無料問題集「Microsoft Designing and Implementing a Microsoft Azure AI Solution (AI-102日本語版) 認定」
シミュレーション
必要に応じて次のログイン資格情報を使用します。
- ユーザー名を入力するには、サインイン ボックスにカーソルを置き、下のユーザー名をクリックします。
- パスワードを入力するには、「パスワードを入力」ボックスにカーソルを置き、下のパスワードをクリックします。
Azure ユーザー名: [email protected]
Azure パスワード: XXXXXXXXXXXX
以下の情報は技術サポートのみを目的としています。
- ラボインスタンス: 12345678
タスク
Microsoft Bot Framework SDK を使用して開発されたボットがあります。このボットは https://bot.contoso.com/api/messages のエンドポイントで利用できます。
ベットに接続する bot12345678 という名前の Azure ボットを作成する必要があります。
このタスクを完了するには、Azure ポータルにサインインします。
必要に応じて次のログイン資格情報を使用します。
- ユーザー名を入力するには、サインイン ボックスにカーソルを置き、下のユーザー名をクリックします。
- パスワードを入力するには、「パスワードを入力」ボックスにカーソルを置き、下のパスワードをクリックします。
Azure ユーザー名: [email protected]
Azure パスワード: XXXXXXXXXXXX
以下の情報は技術サポートのみを目的としています。
- ラボインスタンス: 12345678
タスク
Microsoft Bot Framework SDK を使用して開発されたボットがあります。このボットは https://bot.contoso.com/api/messages のエンドポイントで利用できます。
ベットに接続する bot12345678 という名前の Azure ボットを作成する必要があります。
このタスクを完了するには、Azure ポータルにサインインします。
正解:
Create the resource
Create the Azure Bot resource, which will allow you to register your bot with the Azure Bot Service.
1. Go to the Azure portal.
2. In the right pane, select Create a resource.
3. In the search box enter bot, then press Enter.
4. Select the Azure Bot card.

5. Select Create.
6. Enter values in the required fields. Choose which type of app to create and whether to use existing or create new identity information.

7. Select Review + create.
8. If the validation passes, select Create.
9. Once the deployment completes, select Go to resource. You should see the bot and related resources listed in the resource group you selected.
10.Enter the endpoint of the Bot Framework SDK: https://bot.contoso.com/api/messages Reference:
https://docs.microsoft.com/en-us/azure/bot-service/abs-quickstart?view=azure-bot-service-
4.0&tabs=userassigned
Create the Azure Bot resource, which will allow you to register your bot with the Azure Bot Service.
1. Go to the Azure portal.
2. In the right pane, select Create a resource.
3. In the search box enter bot, then press Enter.
4. Select the Azure Bot card.

5. Select Create.
6. Enter values in the required fields. Choose which type of app to create and whether to use existing or create new identity information.

7. Select Review + create.
8. If the validation passes, select Create.
9. Once the deployment completes, select Go to resource. You should see the bot and related resources listed in the resource group you selected.
10.Enter the endpoint of the Bot Framework SDK: https://bot.contoso.com/api/messages Reference:
https://docs.microsoft.com/en-us/azure/bot-service/abs-quickstart?view=azure-bot-service-
4.0&tabs=userassigned
シミュレーション
必要に応じて次のログイン資格情報を使用します。
- ユーザー名を入力するには、サインイン ボックスにカーソルを置き、下のユーザー名をクリックします。
- パスワードを入力するには、「パスワードを入力」ボックスにカーソルを置き、下のパスワードをクリックします。
Azure ユーザー名: [email protected]
Azure パスワード: XXXXXXXXXXXX
以下の情報は技術サポートのみを目的としています。
- ラボインスタンス: 12345678
タスク
1u12345678 Language Understanding(クラシック)モデルのバージョンを作成する必要があります。新しいバージョンはバージョン名が1.0で、アクティブである必要があります。
このタスクを完了するには、https://www.luis.ai/ にある Language Understanding ポータルにサインインします。
必要に応じて次のログイン資格情報を使用します。
- ユーザー名を入力するには、サインイン ボックスにカーソルを置き、下のユーザー名をクリックします。
- パスワードを入力するには、「パスワードを入力」ボックスにカーソルを置き、下のパスワードをクリックします。
Azure ユーザー名: [email protected]
Azure パスワード: XXXXXXXXXXXX
以下の情報は技術サポートのみを目的としています。
- ラボインスタンス: 12345678
タスク
1u12345678 Language Understanding(クラシック)モデルのバージョンを作成する必要があります。新しいバージョンはバージョン名が1.0で、アクティブである必要があります。
このタスクを完了するには、https://www.luis.ai/ にある Language Understanding ポータルにサインインします。
正解:
Step 1: Clone a version
1. Select the version you want to clone (1u12345678) then select Clone from the toolbar.
2. In the Clone version dialog box, type a name for the new version. Type 1.0

Step 2: Set active version
Select a version from the list, then select Activate from the toolbar.
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-how-to-manage-versions
1. Select the version you want to clone (1u12345678) then select Clone from the toolbar.
2. In the Clone version dialog box, type a name for the new version. Type 1.0

Step 2: Set active version
Select a version from the list, then select Activate from the toolbar.
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-how-to-manage-versions
ホットスポットに関する質問
Azure AI Language サービスを使用して音声翻訳を実行するアプリを構築しています。
アプリへの言語入力がサポートされていることを確認する必要があります。
コードをどのように完成させるべきですか? 回答するには、回答エリアで適切なオプションを選択してください。
注意: 正しい選択ごとに 1 ポイントが付与されます。

Azure AI Language サービスを使用して音声翻訳を実行するアプリを構築しています。
アプリへの言語入力がサポートされていることを確認する必要があります。
コードをどのように完成させるべきですか? 回答するには、回答エリアで適切なオプションを選択してください。
注意: 正しい選択ごとに 1 ポイントが付与されます。

正解:

ケーススタディ 2 - Contoso 社
概要
Contoso, Ltd.は、フランス、ポルトガル、イギリスにオフィスを構える国際的な会計会社です。Contosoには、次の表に示す役割を担うプロフェッショナルサービス部門があります。

インフラストラクチャー
Contoso には次のサブスクリプションがあります。
- アズール
- マイクロソフト365
- マイクロソフト ダイナミクス 365
Azure Active (Azure AD) ディレクトリ
Contoso 社は、ロールベースのアクセスを保護するために Azure Active Directory グループを使用しています。同社では、以下のグループの命名規則を使用しています。
- ICountryJ-[レベルl-[役割]
- [レベル]-[役割]
知的財産
Contoso は次の表に示す知的財産を保有しています。

テキストベースのコンテンツは 1 つの言語でのみ提供され、翻訳されません。
計画されているプロジェクト
Contoso は、次のものを開発する予定です。
- 財務文書のPDFや画像から情報を自動的に抽出する文書処理ワークフロー
- FAQを使用して質問に答えるカスタマーサポートチャットボット
- すべての知的財産を検索できる知識ベース
技術要件
Contoso では、次の技術要件を特定しています。
- すべてのコンテンツは公開前に承認される必要があります。
- 計画されているすべてのプロジェクトは、英語、フランス語、ポルトガル語をサポートする必要があります。
- すべてのコンテンツは、ロールベースのアクセス制御 (RBAC) を使用して保護する必要があります。
- RBAC ロールの割り当てでは、最小権限の原則を使用する必要があります。
- RBAC ロールは、Azure Active Directory グループにのみ割り当てる必要があります。
- AI ソリューション応答の信頼度スコアは 70 パーセント以上である必要があります。
- AI 応答の応答信頼スコアが 70% 未満の場合、人間による入力によって応答を改善する必要があります。
チャットボットの要件
Contoso は、チャットボットに対して次の要件を特定しています。
- 顧客に FAQ への回答を提供します。
- 顧客がカスタマー サービス エージェントとチャットできることを確認します。
- Management-Accountants というグループのメンバーが FAQ を承認できることを確認します。
- Consultant-Accountants というグループのメンバーが FAQ を作成および修正できることを確認します。
- Agent-CustomerServices というグループのメンバーが FAQ を参照できることを確認します。
- 顧客サービス エージェントへのアクセスが、顧客サービス用オムニチャネルを使用して管理されていることを確認します。
- 応答信頼スコアが低い場合。
- チャットボットが顧客に他の応答オプションを提供できることを確認します。
文書処理要件
Contoso は、ドキュメント処理に関して次の要件を特定しています。
- ドキュメント処理ソリューションは、次の特性を持つ標準化された財務ドキュメントを処理できる必要があります。
- ページ数は 20 ページ未満です。
- PDF または JPEG ファイルとしてフォーマットされます。
- 各オフィスごとに異なる基準を設定します。
- ドキュメント処理ソリューションは、財務文書から表とテキストを抽出できる必要があります。
- ドキュメント処理ソリューションは、領収書画像から情報を抽出できる必要があります。
- Management-Bookkeeper というグループのメンバーは、財務文書からテーブルを抽出する方法を定義する必要があります。
- Consultant-Bookkeeper というグループのメンバーは、財務文書を処理できる必要があります。
ナレッジベースの要件
Contoso は、ナレッジベースに対して次の要件を特定しています。
- 同義語の検索をサポート
- 専門用語を高精度に書き写すことができます
- ビデオを含むさまざまな形式のコンテンツを検索できます
- さらなる調査のための外部リソースへの関連リンクを提供します
ホットスポットに関する質問
Azure AI Search を使用してナレッジベースを開発しています。
インデクサーが使用するスキルを構築する必要があります。
コードをどのように完成させるべきですか? 回答するには、回答エリアで適切なオプションを選択してください。
注意: 正しい選択ごとに 1 ポイントが付与されます。

概要
Contoso, Ltd.は、フランス、ポルトガル、イギリスにオフィスを構える国際的な会計会社です。Contosoには、次の表に示す役割を担うプロフェッショナルサービス部門があります。

インフラストラクチャー
Contoso には次のサブスクリプションがあります。
- アズール
- マイクロソフト365
- マイクロソフト ダイナミクス 365
Azure Active (Azure AD) ディレクトリ
Contoso 社は、ロールベースのアクセスを保護するために Azure Active Directory グループを使用しています。同社では、以下のグループの命名規則を使用しています。
- ICountryJ-[レベルl-[役割]
- [レベル]-[役割]
知的財産
Contoso は次の表に示す知的財産を保有しています。

テキストベースのコンテンツは 1 つの言語でのみ提供され、翻訳されません。
計画されているプロジェクト
Contoso は、次のものを開発する予定です。
- 財務文書のPDFや画像から情報を自動的に抽出する文書処理ワークフロー
- FAQを使用して質問に答えるカスタマーサポートチャットボット
- すべての知的財産を検索できる知識ベース
技術要件
Contoso では、次の技術要件を特定しています。
- すべてのコンテンツは公開前に承認される必要があります。
- 計画されているすべてのプロジェクトは、英語、フランス語、ポルトガル語をサポートする必要があります。
- すべてのコンテンツは、ロールベースのアクセス制御 (RBAC) を使用して保護する必要があります。
- RBAC ロールの割り当てでは、最小権限の原則を使用する必要があります。
- RBAC ロールは、Azure Active Directory グループにのみ割り当てる必要があります。
- AI ソリューション応答の信頼度スコアは 70 パーセント以上である必要があります。
- AI 応答の応答信頼スコアが 70% 未満の場合、人間による入力によって応答を改善する必要があります。
チャットボットの要件
Contoso は、チャットボットに対して次の要件を特定しています。
- 顧客に FAQ への回答を提供します。
- 顧客がカスタマー サービス エージェントとチャットできることを確認します。
- Management-Accountants というグループのメンバーが FAQ を承認できることを確認します。
- Consultant-Accountants というグループのメンバーが FAQ を作成および修正できることを確認します。
- Agent-CustomerServices というグループのメンバーが FAQ を参照できることを確認します。
- 顧客サービス エージェントへのアクセスが、顧客サービス用オムニチャネルを使用して管理されていることを確認します。
- 応答信頼スコアが低い場合。
- チャットボットが顧客に他の応答オプションを提供できることを確認します。
文書処理要件
Contoso は、ドキュメント処理に関して次の要件を特定しています。
- ドキュメント処理ソリューションは、次の特性を持つ標準化された財務ドキュメントを処理できる必要があります。
- ページ数は 20 ページ未満です。
- PDF または JPEG ファイルとしてフォーマットされます。
- 各オフィスごとに異なる基準を設定します。
- ドキュメント処理ソリューションは、財務文書から表とテキストを抽出できる必要があります。
- ドキュメント処理ソリューションは、領収書画像から情報を抽出できる必要があります。
- Management-Bookkeeper というグループのメンバーは、財務文書からテーブルを抽出する方法を定義する必要があります。
- Consultant-Bookkeeper というグループのメンバーは、財務文書を処理できる必要があります。
ナレッジベースの要件
Contoso は、ナレッジベースに対して次の要件を特定しています。
- 同義語の検索をサポート
- 専門用語を高精度に書き写すことができます
- ビデオを含むさまざまな形式のコンテンツを検索できます
- さらなる調査のための外部リソースへの関連リンクを提供します
ホットスポットに関する質問
Azure AI Search を使用してナレッジベースを開発しています。
インデクサーが使用するスキルを構築する必要があります。
コードをどのように完成させるべきですか? 回答するには、回答エリアで適切なオプションを選択してください。
注意: 正しい選択ごとに 1 ポイントが付与されます。

正解:

Explanation:
Box 1: "categories": ["Locations", "Persons", "Organizations"], Locations, Persons, Organizations are in the outputs.
Scenario: Contoso plans to develop a searchable knowledgebase of all the intellectual property Note: The categories parameter is an array of categories that should be extracted. Possible category types: "Person", "Location", "Organization", "Quantity", "Datetime", "URL", "Email". If no category is provided, all types are returned.
Box 2: {"name": " entities"}
The include wikis, so should include entities in the outputs.
Note: entities is an array of complex types that contains rich information about the entities extracted from text, with the following fields name (the actual entity name. This represents a "normalized" form) wikipediaId wikipediaLanguage wikipediaUrl (a link to Wikipedia page for the entity) etc.
Reference:
https://docs.microsoft.com/en-us/azure/search/cognitive-search-skill-entity-recognition
ホットスポットに関する質問
Resource1 という名前の Azure AI Speech サービス リソースがあります。
次の C# コードを実行して Resource1 を呼び出します。

以下の各文について、正しい場合は「はい」を選択してください。そうでない場合は「いいえ」を選択してください。
注意: 正しい選択ごとにポイントが加算されます。

Resource1 という名前の Azure AI Speech サービス リソースがあります。
次の C# コードを実行して Resource1 を呼び出します。

以下の各文について、正しい場合は「はい」を選択してください。そうでない場合は「いいえ」を選択してください。
注意: 正しい選択ごとにポイントが加算されます。

正解:

Explanation:
Box 1: No
Create an audioConfig using AudioConfig.FromWavFileOutput, based on which, create a synthesizer. Then call speak method many times with shorter sentences, the generated audio for multi speaks will be saved in a single audio file.
Box 2: No
File.wav is the output file.
Box 3: Yes
Reference:
https://learn.microsoft.com/en-
us/dotnet/api/microsoft.cognitiveservices.speech.audio.audioconfig.fromwavfileoutput
https://github.com/Azure-Samples/Cognitive-Speech-TTS/wiki/How-to-synthesize-a-large-file-into- audio-files
ホットスポットに関する質問
Azure AI Language サービスを使用してテキストを分析するアプリを構築しています。
特定のドキュメント内の電話番号と電子メールの詳細をマスクするようにアプリを構成する必要があります。
コードをどのように完成させるべきですか? 回答するには、回答エリアで適切なオプションを選択してください。
注意: 正しい選択ごとに 1 ポイントが付与されます。

Azure AI Language サービスを使用してテキストを分析するアプリを構築しています。
特定のドキュメント内の電話番号と電子メールの詳細をマスクするようにアプリを構成する必要があります。
コードをどのように完成させるべきですか? 回答するには、回答エリアで適切なオプションを選択してください。
注意: 正しい選択ごとに 1 ポイントが付与されます。

正解:

Explanation:
Box 1: RecognizePiiEntities
TextAnalyticsClient.RecognizePiiEntities Method
Runs a predictive model to identify a collection of entities containing Personally Identifiable Information found in the passed-in document, and categorize those entities into types such as US social security number, driver's license number, or credit card number.
Box 2: RedactedText
The characterMask policy allows the redactedText to be masked with a character, preserving the length and offset of the original text. This behavior is the existing expectation.
Reference:
https://learn.microsoft.com/en-
us/dotnet/api/azure.ai.textanalytics.textanalyticsclient.recognizepiientities
https://learn.microsoft.com/en-us/azure/ai-services/language-service/personally-identifiable- information/how-to/redact-text-pii
シミュレーション
Language UnderstandingとQnA Makerを使用するボットを作成し、公開する必要があります。ボットの名前はbot12345678とします。ボットはUser1-を使用して公開する必要があります。
[email protected] アカウント。
注: 最初にこのタスクを完了してください。必要な展開手順の完了には数分かかる場合があります。その間、このラボのタスク2~6をデプロイ中に完了できます。
このタスクを完了するには、Microsoft Bot Framework Composer を使用します。
Language UnderstandingとQnA Makerを使用するボットを作成し、公開する必要があります。ボットの名前はbot12345678とします。ボットはUser1-を使用して公開する必要があります。
[email protected] アカウント。
注: 最初にこのタスクを完了してください。必要な展開手順の完了には数分かかる場合があります。その間、このラボのタスク2~6をデプロイ中に完了できます。
このタスクを完了するには、Microsoft Bot Framework Composer を使用します。
正解:
Step 1: Sign in to the QnAMaker.ai portal with your Azure credentials. Use the User1-
[email protected] account
Step 2: Publish the knowledge base. In the QnA Maker portal, select Publish. Then to confirm, select Publish on the page.
The QnA Maker service is now successfully published. You can use the endpoint in your application or bot code.

Step 3: In the QnA Maker portal, on the Publish page, select Create bot.
This button appears only after you've published the knowledge base.
After publishing the knowledge base, you can create a bot from the Publish page.

Step 4: A new browser tab opens for the Azure portal, with the Azure Bot Service's creation page.
Configure the Azure bot service.
Bot name: bot12345678
The bot will be created.
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/quickstarts/create-publish- knowledge-base
[email protected] account
Step 2: Publish the knowledge base. In the QnA Maker portal, select Publish. Then to confirm, select Publish on the page.
The QnA Maker service is now successfully published. You can use the endpoint in your application or bot code.

Step 3: In the QnA Maker portal, on the Publish page, select Create bot.
This button appears only after you've published the knowledge base.
After publishing the knowledge base, you can create a bot from the Publish page.

Step 4: A new browser tab opens for the Azure portal, with the Azure Bot Service's creation page.
Configure the Azure bot service.
Bot name: bot12345678
The bot will be created.
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/quickstarts/create-publish- knowledge-base
シミュレーション
必要に応じて次のログイン資格情報を使用します。
- ユーザー名を入力するには、サインイン ボックスにカーソルを置き、下のユーザー名をクリックします。
- パスワードを入力するには、「パスワードを入力」ボックスにカーソルを置き、下のパスワードをクリックします。
Azure ユーザー名: [email protected]
Azure パスワード: XXXXXXXXXXXX
以下の情報は技術サポートのみを目的としています。
- ラボインスタンス: 12345678
タスク
ストックフォトを分析し、画像のキャプションを自動的に生成する予定です。
画像を分析するには、Azure でサービスを作成する必要があります。サービスは caption12345678 という名前で、Azure 米国東部リージョンに配置する必要があります。ソリューションは Free 価格帯を使用する必要があります。
C:\Resources\Caption\Params.json フォルダーに、キー 1 の値と新しいサービスのエンドポイントを入力します。
このタスクを完了するには、Azure ポータルにサインインします。
必要に応じて次のログイン資格情報を使用します。
- ユーザー名を入力するには、サインイン ボックスにカーソルを置き、下のユーザー名をクリックします。
- パスワードを入力するには、「パスワードを入力」ボックスにカーソルを置き、下のパスワードをクリックします。
Azure ユーザー名: [email protected]
Azure パスワード: XXXXXXXXXXXX
以下の情報は技術サポートのみを目的としています。
- ラボインスタンス: 12345678
タスク
ストックフォトを分析し、画像のキャプションを自動的に生成する予定です。
画像を分析するには、Azure でサービスを作成する必要があります。サービスは caption12345678 という名前で、Azure 米国東部リージョンに配置する必要があります。ソリューションは Free 価格帯を使用する必要があります。
C:\Resources\Caption\Params.json フォルダーに、キー 1 の値と新しいサービスのエンドポイントを入力します。
このタスクを完了するには、Azure ポータルにサインインします。
正解:
Step 1: Provision a Cognitive Services resource
If you don't already have one in your subscription, you'll need to provision a Cognitive Services resource.
1. Open the Azure portal at https://portal.azure.com, and sign in using the Microsoft account associated with your Azure subscription.
2. Select the Create a resource button, search for cognitive services, and create a Cognitive Services resource with the following settings:
Subscription: Your Azure subscription
Resource group: Choose or create a resource group (if you are using a restricted subscription, you may not have permission to create a new resource group - use the one provided) Region: East US Azure region Name: caption12345678 Pricing tier: Free F0
3. Select the required checkboxes and create the resource.
Wait for deployment to complete, and then view the deployment details.
4. When the resource has been deployed, go to it and view its Keys and Endpoint page. You will need the endpoint and one of the keys from this page in the next procedure.
Step 2: Save Key and Endpoint values in Params.json
Open the configuration file, C:\Resources\Caption\Params.json. and update the configuration values it contains to reflect the endpoint and an authentication key for your cognitive services resource. Save your changes.
Reference:
https://microsoftlearning.github.io/AI-102-AIEngineer/Instructions/15-computer-vision.html
If you don't already have one in your subscription, you'll need to provision a Cognitive Services resource.
1. Open the Azure portal at https://portal.azure.com, and sign in using the Microsoft account associated with your Azure subscription.
2. Select the Create a resource button, search for cognitive services, and create a Cognitive Services resource with the following settings:
Subscription: Your Azure subscription
Resource group: Choose or create a resource group (if you are using a restricted subscription, you may not have permission to create a new resource group - use the one provided) Region: East US Azure region Name: caption12345678 Pricing tier: Free F0
3. Select the required checkboxes and create the resource.
Wait for deployment to complete, and then view the deployment details.
4. When the resource has been deployed, go to it and view its Keys and Endpoint page. You will need the endpoint and one of the keys from this page in the next procedure.
Step 2: Save Key and Endpoint values in Params.json
Open the configuration file, C:\Resources\Caption\Params.json. and update the configuration values it contains to reflect the endpoint and an authentication key for your cognitive services resource. Save your changes.
Reference:
https://microsoftlearning.github.io/AI-102-AIEngineer/Instructions/15-computer-vision.html
ホットスポットに関する質問
顔認識APIを使用して従業員の顔を認識するアプリケーションを開発しています。顔画像はURIエンドポイントからアクセスできます。
アプリケーションには次のコードがあります。

以下の各文について、正しい場合は「はい」を選択してください。そうでない場合は「いいえ」を選択してください。
注意: 正しい選択ごとに 1 ポイントが付与されます。

顔認識APIを使用して従業員の顔を認識するアプリケーションを開発しています。顔画像はURIエンドポイントからアクセスできます。
アプリケーションには次のコードがあります。

以下の各文について、正しい場合は「はい」を選択してください。そうでない場合は「いいえ」を選択してください。
注意: 正しい選択ごとに 1 ポイントが付与されます。

正解:

Explanation:
Free-tier subscription quota: 1,000 person groups. Each holds up to 1,000 persons.
S0-tier subscription quota: 1,000,000 person groups. Each holds up to 10,000 persons.
To handle larger scale face identification problem, please consider using LargePersonGroup.
We don't know the subscription tier, we can't deduce this statement.
https://docs.microsoft.com/en-us/rest/api/faceapi/person-group/create