Microsoft Developing Solutions for Microsoft Azure (AZ-203日本語版) - AZ-203日本語 Exam Practice Test

Question 1
あなたはソーシャルネットワーキングアプリ用のデータストレージソリューションを開発しています。
このソリューションには、Azure Table Storageを使用してユーザー情報を保存するモバイルアプリが必要です。
複数のユーザー情報を挿入できるコードを開発する必要があります。
どのようにしてコードを完成させるべきですか?回答するには、回答領域で適切なオプションを選択します。
注:それぞれ正しい選択は1ポイントの価値があります。
Correct Answer:

Explanation

Box 1, Box 2: TableBatchOperation
Create the batch operation.
TableBatchOperation op = new TableBatchOperation();
Box 3: ExecuteBatch
/ Execute the batch operation.
table.ExecuteBatch(op);
Note: You can insert a batch of entities into a table in one write operation. Some other notes on batch operations:
You can perform updates, deletes, and inserts in the same single batch operation.
A single batch operation can include up to 100 entities.
All entities in a single batch operation must have the same partition key.
While it is possible to perform a query as a batch operation, it must be the only operation in the batch.
References:
https://docs.microsoft.com/en-us/azure/cosmos-db/table-storage-how-to-use-dotnet
Question 2
一般向けのニュースAPI用のゲートウェイソリューションを開発します。
ニュースAPIバックエンドは、RESTfulなセンサーとして実装され、Azure App Serviceインスタンスでホストされています。
API Managementサービスインスタンスのバックエンド認証を設定する必要があります。
どのターゲットとゲートウェイの認証情報タイプを使用しますか?答えるには、適切な値を正しいパラメータにドラッグします。それぞれの値は、一度だけ、二度以上、あるいはまったく使われないかもしれません。コンテンツを表示するには、ペイン間の分割バーをドラッグするか、スクロールする必要があります。
注:それぞれ正しい選択は1ポイントの価値があります。
Correct Answer:

Explanation

Box 1: Azure Resource
Box 2: Client cert
API Management allows to secure access to the back-end service of an API using client certificates.
References:
https://docs.microsoft.com/en-us/rest/api/apimanagement/apimanagementrest/azure-api-management-rest-api-ba
Question 3
サインインしたときにユーザーに挨拶するようにチャットボットを更新する必要があります。
あなたはどちらのリッチカードフォーマットを使えますか?正解はそれぞれ完全な解決策を提示します。
注:それぞれ正しい選択は1ポイントの価値があります。

Correct Answer: D,E
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 4
あなたはeコマースチェックアウトAPIを実装する必要があります。
あなたはどの3つの行動をとるべきですか?それぞれの正しい答えは解決策の一部を表しています。
注:それぞれ正しい選択は1ポイントの価値があります。

Correct Answer: B,C,F
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 5
注:この質問は同じシナリオを提示する一連の質問の一部です。叫び声の各質問は、述べられた目標を満たすかもしれないユニークな解決策を含みます。他の人が正しい解決策を持っていないかもしれない間、いくつかの質問セットは複数の正しい解決策を持つかもしれません。
このセクションで質問に答えた後は、それに戻ることはできません。その結果、これらの質問はレビュー画面に表示されません。
Margie's Travelは、海外旅行および予約管理サービスです。同社はレストランの予約へと拡大している。ソリューションに記載されているレストランにAzure Searchを実装するのはあなたです。
Azure Searchでインデックスを作成します。
Azure Search .NET SDKを使用して、レストランのデータをAzure Searchサービスにインポートする必要があります。
溶液:
1.検索インデックスに接続するためのSearchIndexClientオブジェクトを作成します。
2.追加する必要があるドキュメントを含むDataContainerを作成します。
3.DataSourceインスタンスを作成し、そのContainerプロパティをDataContamerに設定します。
4.SearchIndexClientのDocuments.Suggestメソッドを呼び出して、DataSourceを渡します。
解決策は目標を満たしていますか?

Correct Answer: B
Question 6
認証イベントが認証イベントポリシーに従ってトリガーおよび処理されるようにする必要があります。
あなたは何をするべきか?

Correct Answer: C
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 7
LabelMakerのセキュリティ要件を満たす必要があります。
あなたは何をするべきか?

Correct Answer: A
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 8
Azure Cosmos DB SQL APIを使用して、Azure Cosmos DBソリューションを開発しています。 データには数百万のドキュメントが含まれます。 各ドキュメントには、数百のプロパティが含まれる場合があります。
ドキュメントのプロパティには、パーティション化のための個別の値は含まれていません。 Azure Cosmos DBは、時間とともにすべてのパーティションにワークロードを均等に分散することにより、データベース内の個々のコンテナーをスケーリングして、アプリケーションのパフォーマンスニーズを満たす必要があります。
パーティションキーを選択する必要があります。
どの2つのパーティションキーを使用できますか? それぞれの正解は完全な解決策を提示します。
注:それぞれの正しい選択には1ポイントの価値があります。

Correct Answer: B,C
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 9
ある企業が、Azure App Serviceモバイルアプリをバックエンドとして使用して、フィールドサービス担当者向けのモバイルアプリを開発しています。
会社のネットワーク接続は一日を通して変化します。アプリがオンラインアプリの場合、ソリューションはオフラインでの使用をサポートし、バックグラウンドで変更を同期する必要があります。
解決策を実装する必要があります。
どのようにしてコードセグメントを完成させるべきですか?回答するには、回答領域で適切なオプションを選択します。
注:それぞれ正しい選択は1ポイントの価値があります。
Correct Answer:

Explanation

Box 1: var todoTable = client GetSyncTable<TodoItem>()
To setup offline access, when connecting to your mobile service, use the method GetSyncTable instead of GetTable (example):
IMobileServiceSyncTable todoTable = App.MobileService.GetSyncTable(); / Box 2: await todoTable.PullAsync("allTodoItems",todo.Table.CreateQuery()); Your app should now use IMobileServiceSyncTable (instead of IMobileServiceTable) for CRUD operations.
This will save changes to the local database and also keep a log of the changes. When the app is ready to synchronize its changes with the Mobile Service, use the methods PushAsync and PullAsync (example):
await App.MobileService.SyncContext.PushAsync();
await todoTable.PullAsync();
References:
https://azure.microsoft.com/es-es/blog/offline-sync-for-mobile-services/
Question 10
Fourth Coffeeには、Dockerで動作するASP.NET Core Webアプリケーションがあります。アプリはwww.fourthcoffee.comドメインにマッピングされています。
Fourth CoffeeはこのアプリケーションをAzureに移行しています。
このdockerイメージをホストし、カスタムドメインをApp Service Webアプリケーションにマッピングするには、App Service Webアプリケーションをプロビジョニングする必要があります。
FourthCoffeePublicWebResourceGroupという名前のリソースグループが、AppServiceLinuxDockerPlanという名前のApp Service Planを含むWestUSリージョンに作成されました。
ソリューションを開発するためにCLIコマンドを使用する順序はどれですか。回答するには、すべてのAzure CLIコマンドをコマンドの一覧から回答領域に移動して、正しい順序に並べます。
Correct Answer:

Explanation

Step 1: #bin/bash
The appName is used when the webapp-name is created in step 2.
Step 2: az webapp config hostname add
The webapp-name is used when the webapp is created in step 3.
Step 3: az webapp create
Create a web app. In the Cloud Shell, create a web app in the myAppServicePlan App Service plan with the az webapp create command.
Step : az webapp confing container set
In Create a web app, you specified an image on Docker Hub in the az webapp create command. This is good enough for a public image. To use a private image, you need to configure your Docker account ID and password in your Azure web app.
In the Cloud Shell, follow the az webapp create command with az webapp config container set.
References:
https://docs.microsoft.com/en-us/azure/app-service/containers/tutorial-custom-docker-image
Question 11
dataという名前のAzure blobを使用してアプリケーションデータを保存するアプリケーションを開発しています。アプリケーションはblobスナップショットを作成して、アプリケーションの状態を以前の状態に戻すことができます。 Azureストレージアカウントでは、ソフト削除が有効になっています。
システムは次の操作を順番に実行します。
* BLOBが更新されます
*スナップショット1が作成されます。
*スナップショット2が作成されます。
*スナップショット1が削除されます。
システムエラーが発生すると、データBLOBとすべてのスナップショットが削除されます。
どのアプリケーション状態を復元できるかを決定する必要があります。
アプリケーションデータの復元可能性はどのくらいですか?回答するには、回答エリアで適切なオプションを選択します。
注:それぞれの正しい選択には1ポイントの価値があります。
Correct Answer:

Explanation

Box 1: Can be restored
When enabled, soft delete enables you to save and recover your data when blobs or blob snapshots are deleted.
This protection extends to blob data that is erased as the result of an overwrite.
Box 2: Cannot be restored
It has been deleted.
Box 3: Can be restored
It has not been deleted.
References:
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-soft-delete
Question 12
注:この質問は同じシナリオを提示する一連の質問の一部です。シリーズの各質問には固有の解決策が含まれています解決策が記載された目標を満たしているかどうかを判断します。
仕入先通知要件を満たす必要があります。
解決策:Azure API Managementインスタンスで通知を構成します。
解決策は目標を満たしていますか?

Correct Answer: B
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 13
ある企業がすべての製造データをAzure Blob Storageにバックアップします。管理者は、毎月、BLOBをホットストレージからアーカイブ層ストレージに移動します。
180日間アクセスされなかったブロックは、自動的にアーカイブ層に移動する必要があります。アーカイブされていないアイテムのパスは、既存のキューに配置する必要があります。この操作は月に1回自動的に実行する必要があります。 TierAgeInDaysの値を180に設定します。
Logic Appをどのように設定しますか?答えるには、適切なトリガーまたはアクションブロックを正しいトリガーまたはアクションスロットにドラッグします。各トリガーまたはアクションブロックは、1回、複数回、またはまったく使用しないことができます。
コンテンツを表示するには、ペイン間の分割バーをドラッグするか、スクロールする必要があります。
注:それぞれ正しい選択は1ポイントの価値があります。
Correct Answer:

Explanation



Box 1: Recurrence
Box 2: Insert Entity
Box 3 (if true): Tier Blob
Box 4: (if false):
Leave blank.
References:
https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-perform-data-operations
Question 14
ユーザーエクスペリエンスに影響を与えずに、DatabaseクラスのLoadUserDetails関数で再試行を構成する必要があります。
DB07行にどんなコードを入れるべきですか?
回答するには、回答領域で適切なオプションを選択します。
注:それぞれ正しい選択は1ポイントの価値があります。
Correct Answer:

Explanation

Box 1: Policy
RetryPolicy retry = Policy
Handle<HttpRequestException>()
Retry(3);
The above example will create a retry policy which will retry up to three times if an action fails with an exception handled by the Policy.
Box 2: WaitAndRetryAsync(3,i => TimeSpan.FromMilliseconds(100* Math.Pow(2,i-1))); A common retry strategy is exponential backoff: this allows for retries to be made initially quickly, but then at progressively longer intervals, to avoid hitting a subsystem with repeated frequent calls if the subsystem may be struggling.
Example:
Policy
Handle<SomeExceptionType>()
WaitAndRetry(3, retryAttempt =>
TimeSpan.FromSeconds(Math.Pow(2, retryAttempt))
);
References:
https://github.com/App-vNext/Polly/wiki/Retry