[2024年06月]更新のAZ-204日本語問題集で時間限定!無料アクセスせよ! [Q127-Q152]

Share

[2024年06月]更新のAZ-204日本語問題集で時間限定!無料アクセスせよ!

AZ-204日本語問題集で2024年最新のMicrosoft AZ-204日本語試験問題

質問 # 127
ユーザーが写真やビデオをAzureストレージにアップロードできるようにするアプリを開発します。アプリはストレージRESTAPI呼び出しを使用して、Account1という名前のBLOBストレージアカウントにメディアをアップロードします。 Container1およびContainer2という名前のBLOBストレージコンテナーがあります。
動画のアップロードは不定期に行われます。
特定の要件が満たされた場合、バックアップBLOBコピーを除き、特定のBLOBをContainer1からContainer2にリアルタイムでコピーする必要があります。
あなたは何をするべきか?

  • A. AzurePowerShellコマンドStart-AzureStorageBlobCopyを実行します。
  • B. blobを仮想マシンにダウンロードしてから、BlobをContainer2にアップロードします。
  • C. Blob Service RESTAPIのPutBlob操作を使用して、BlobをContainer2にコピーします。
  • D. Container2へのSnapshotスイッチblobでAzCopyを使用します。

正解:A

解説:
The Start-AzureStorageBlobCopy cmdlet starts to copy a blob.
Example 1: Copy a named blob
C:\PS>Start-AzureStorageBlobCopy -SrcBlob "ContosoPlanning2015" -DestContainer "ContosoArchives" -SrcContainer "ContosoUploads" This command starts the copy operation of the blob named ContosoPlanning2015 from the container named ContosoUploads to the container named ContosoArchives.
References:
https://docs.microsoft.com/en-us/powershell/module/azure.storage/start-azurestorageblobcopy?view=azurermps-6.13.0


質問 # 128
dataという名前のAzure Blobを使用してアプリケーションデータを格納するアプリケーションを開発しています。アプリケーションはBLOBスナップショットを作成して、アプリケーションの状態を以前の状態に戻すことができます。 Azureストレージアカウントでは、ソフト削除が有効になっています。
システムは次の操作を順番に実行します。
*ブロブが更新されます
*スナップショット1が作成されます。
*スナップショット2が作成されます。
*スナップショット1が削除されます。
システムエラーが発生すると、データBLOBとすべてのスナップショットが削除されます。
どのアプリケーション状態を復元できるかを決定する必要があります。
アプリケーションデータの復元可能性とは何ですか?回答するには、回答領域で適切なオプションを選択します。
注:それぞれの正しい選択は1ポイントの価値があります。

正解:

解説:

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


質問 # 129
コンテナーを使用して Python Web サイトを Azure Web アプリにデプロイする準備をしています。このソリューションでは、同じコンテナー グループ内の複数のコンテナーを使用します。コンテナーをビルドする Dockerfile は次のとおりです。

次のコマンドを使用してコンテナを構築します。images という名前の Azure Container Registry インスタンスは、プライベート レジストリです。

レジストリのユーザー名とパスワードは admin です。
Web アプリは、将来のビルドに関係なく、常に同じバージョンの Web サイトを実行する必要があります。
Web サイトを実行するには、Azure Web アプリを作成する必要があります。
コマンドをどのように完了する必要がありますか? 回答するには、回答エリアで適切なオプションを選択します。
注: それぞれの正しい選択は 1 ポイントの価値があります。

正解:

解説:

Reference:
https://docs.microsoft.com/en-us/cli/azure/appservice/plan


質問 # 130
AzureでホストされているLinux仮想マシン(VM)に新しいアプリケーションをデプロイすることを計画しています。
業界標準の暗号化テクノロジーを使用してVM全体を保護し、組織のセキュリティとコンプライアンスの要件に対応する必要があります。
VMのAzureDiskEncryptionを構成する必要があります。
Azure Cliコマンドをどのように完了する必要がありますか?回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。

正解:

解説:

Explanation


Box 1: keyvault
Create an Azure Key Vault with az keyvault create and enable the Key Vault for use with disk encryption.
Specify a unique Key Vault name for keyvault_name as follows:
keyvault_name=myvaultname$RANDOM
az keyvault create \
--name $keyvault_name \
--resource-group $resourcegroup \
--location eastus \
--enabled-for-disk-encryption True
Box 2: keyvault key
The Azure platform needs to be granted access to request the cryptographic keys when the VM boots to decrypt the virtual disks. Create a cryptographic key in your Key Vault with az keyvault key create. The following example creates a key named myKey:
az keyvault key create \
--vault-name $keyvault_name \
--name myKey \
--protection software
Box 3: vm
Create a VM with az vm create. Only certain marketplace images support disk encryption. The following example creates a VM named myVM using an Ubuntu 16.04 LTS image:
az vm create \
--resource-group $resourcegroup \
--name myVM \
--image Canonical:UbuntuServer:16.04-LTS:latest \
--admin-username azureuser \
--generate-ssh-keys \
Box 4: vm encryption
Encrypt your VM with az vm encryption enable:
az vm encryption enable \
--resource-group $resourcegroup \
--name myVM \
--disk-encryption-keyvault $keyvault_name \
--key-encryption-key myKey \
--volume-type all
Note: seems to an error in the question. Should have enable instead of create.
Box 5: all
Encrypt both data and operating system.
References:
https://docs.microsoft.com/bs-latn-ba/azure/virtual-machines/linux/encrypt-disks


質問 # 131
あなたはレストランをレビューするために使用されるウェブサイトを構築しています。このWebサイトは、Azure CDNを使用して、パフォーマンスを向上させ、要求に機能を追加します。
AppleiPhone用のモバイルアプリを構築してデプロイします。ユーザーがiPhoneからWebサイトにアクセスするときは常に、ユーザーをアプリストアにリダイレクトする必要があります。
iPhoneユーザーがアプリストアにリダイレクトされるようにするAzureCDNルールを実装する必要があります。
Azure Resource Managerテンプレートをどのように完成させる必要がありますか?回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。

正解:

解説:

Explanation

Box 1: iOS
Azure AD Conditional Access supports the following device platforms:
* Android
* iOS
* Windows Phone
* Windows
* macOS
Box 2: DeliveryRuleIsDeviceConditionParameters
The DeliveryRuleIsDeviceCondition defines the IsDevice condition for the delivery rule. parameters defines the parameters for the condition.
Box 3: HTTP_USER_AGENT
Box 4: DeliveryRuleRequestHeaderConditionParameters
DeliveryRuleRequestHeaderCondition defines the RequestHeader condition for the delivery rule. parameters defines the parameters for the condition.
Box 5: iOS
The Require approved client app requirement only supports the iOS and Android for device platform condition.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/concept-conditional-access-condition
https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/concept-conditional-access-grant


質問 # 132
6つの高速道路に沿った交通を監視する交通監視システムを構築しています。システムは、各高速道路の時系列分析ベースのレポートを生成します。トラフィックセンサーからのデータは、Azure EventHubに保存されます。
交通データは4つの部門で消費されます。各部門には、時系列ベースのレポートを表示し、EventHubからの受信データを処理するWebJobを含むAzureWebアプリがあります。すべてのWebアプリは、3つのインスタンスを持つAppServiceプランで実行されます。
全体のデータを最大化する必要があります。待ち時間を最小限に抑える必要があります。
Azure EventHubを実装する必要があります。
どの設定を使用する必要がありますか?回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。

正解:

解説:


質問 # 133
AzureSQLデータベースインスタンスに接続するAzure関数を開発しています。この関数は、AzureStorageキューによってトリガーされます。
「タイムアウトが期限切れです。プールから接続を取得する前にタイムアウト期間が経過しました。これは、プールされたすべての接続が使用中であり、最大プールサイズに達したために発生した可能性があります。」例外を防ぐ必要があります。
あなたは何をするべきか?

  • A. トリガーをAzure EventHubに変換します
  • B. function.jsonファイルで、typeオプションの値をqueueScalingに変更します
  • C. host.jsonファイルで、batchSizeオプションの値を減らします
  • D. AzureFunctionをプレミアムプランに変換する

正解:D

解説:
With the Premium plan the max outbound connections per instance is unbounded compared to the 600 active (1200 total) in a Consumption plan.
Note: The number of available connections is limited partly because a function app runs in a sandbox environment. One of the restrictions that the sandbox imposes on your code is a limit on the number of outbound connections, which is currently 600 active (1,200 total) connections per instance. When you reach this limit, the functions runtime writes the following message to the logs: Host thresholds exceeded: Connections.
Reference:
https://docs.microsoft.com/en-us/azure/azure-functions/manage-connections
https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale#service-limits


質問 # 134
AzureWebアプリを開発しています。 WebアプリのTLS相互認証を構成します。
Webアプリでクライアント証明書を検証する必要があります。回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。

正解:

解説:

Explanation

Accessing the client certificate from App Service.
If you are using ASP.NET and configure your app to use client certificate authentication, the certificate will be available through the HttpRequest.ClientCertificate property. For other application stacks, the client cert will be available in your app through a base64 encoded value in the "X-ARR-ClientCert" request header. Your application can create a certificate from this value and then use it for authentication and authorization purposes in your application.
References:
https://docs.microsoft.com/en-us/azure/app-service/app-service-web-configure-tls-mutual-auth


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

正解:

解説:

Reference:
https://docs.microsoft.com/en-us/azure/cosmos-db/table-storage-how-to-use-dotnet


質問 # 136
Contoso、Ltd。は、Azure API Management(APIM)を使用してお客様にAPIを提供しています。 APIは、JWTトークンを使用してユーザーを承認します。
APIMゲートウェイの応答キャッシュを実装する必要があります。キャッシュメカニズムは、特定の場所のデータにアクセスするクライアントのユーザーIDを検出し、そのユーザーIDの応答をキャッシュする必要があります。
次のポリシーをポリシーファイルに追加する必要があります。
*検出されたユーザーIDを保存するためのセット変数ポリシー
*キャッシュルックアップ値ポリシー
*キャッシュストア値ポリシー
*応答本文をユーザープロファイル情報で更新するための検索と置換のポリシーどのポリシーセクションにポリシーを追加する必要がありますか?回答するには、適切なセクションを正しいポリシーにドラッグします。各セクションは、1回使用することも、複数回使用することも、まったく使用しないこともできます。コンテンツを表示するには、ペイン間で分割バーをドラッグするか、スクロールする必要がある場合があります注:正しい選択はそれぞれ1ポイントの価値があります

正解:

解説:

Box 1: Inbound.
A set-variable policy to store the detected user identity.
Example:
<policies>
<inbound>
<!-- How you determine user identity is application dependent -->
<set-variable
name="enduserid"
value="@(context.Request.Headers.GetValueOrDefault("Authorization","").Split(' ')[1].AsJwt()?.Subject)" /> Box 2: Inbound A cache-lookup-value policy Example:
<inbound>
<base />
<cache-lookup vary-by-developer="true | false" vary-by-developer-groups="true | false" downstream-caching-type="none | private | public" must-revalidate="true | false">
<vary-by-query-parameter>parameter name</vary-by-query-parameter> <!-- optional, can repeated several times -->
</cache-lookup>
</inbound>
Box 3: Outbound
A cache-store-value policy.
Example:
<outbound>
<base />
<cache-store duration="3600" />
</outbound>
Box 4: Outbound
A find-and-replace policy to update the response body with the user profile information.
Example:
<outbound>
<!-- Update response body with user profile-->
<find-and-replace
from='"$userprofile$"'
to="@((string)context.Variables["userprofile"])" />
<base />
</outbound>
Reference:
https://docs.microsoft.com/en-us/azure/api-management/api-management-caching-policies
https://docs.microsoft.com/en-us/azure/api-management/api-management-sample-cache-by-key


質問 # 137
C#を使用したASP.NET CoreAPIアプリ。 APIアプリを使用すると、ユーザーはTwitterとAzure Active Directory(Azure AD)を使用して認証できます。
APIメソッドを呼び出す前に、ユーザーを認証する必要があります。メソッド呼び出しごとにユーザー名をログに記録する必要があります。
APIメソッド呼び出しを構成する必要があります。
どの値を使用する必要がありますか?回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。

正解:

解説:

+ Explanation:
Box 1: Authorize
Box 2: X-MS-CLIENT-PRINCIPAL-NAME
App Service passes user claims to your application by using special headers. External requests aren't allowed to set these headers, so they are present only if set by App Service. Some example headers include:
X-MS-CLIENT-PRINCIPAL-NAME
X-MS-CLIENT-PRINCIPAL-ID
Here's the set of headers you get from Easy Auth for a Twitter authenticated user:
{
"cookie": "AppServiceAuthSession=Lx43...xHDTA==",
"x-ms-client-principal-name": "evilSnobu",
"x-ms-client-principal-id": "35....",
"x-ms-client-principal-idp": "twitter",
"x-ms-token-twitter-access-token": "35...Dj",
"x-ms-token-twitter-access-token-secret": "OK3...Jx",
}
References:
https://docs.microsoft.com/en-us/azure/app-service/app-service-authentication-how-to


質問 # 138
あなたは、ビジネスクリティカルなデータを Azure Blob Storage に保存するアプリケーションを開発しています。アプリケーションは次の要件を満たしている必要があります。
* ユーザーが指定した期間、データを変更または削除してはなりません。
* データは上書きや削除から保護する必要があります。
※データは一度書き込めば何度でも読み取れる必要があります。
Azure Blob ストレージ アカウントのデータを保護する必要があります。
どの 2 つのアクションを実行する必要がありますか? それぞれの正解は、解決策の一部を示しています。
注: 正しく選択するたびに 1 ポイントの価値があります。

  • A. ストレージ アカウント内のコンテナーのポイントインタイム復元を有効にします。
  • B. ストレージ アカウントのバージョン レベルの不変性サポートを有効にします。
  • C. アカウントの共有アクセス署名 (SAS) を作成します。
  • D. サービス共有アクセス署名 (SAS) を作成します。
  • E. ストレージ アカウントの時間ベースの保持ポリシーを構成します。
  • F. ストレージ アカウントの BLOB 変更フィードを有効にします。

正解:D、E


質問 # 139
MicrosoftGraphから他社のAzureActive Directory(Azure AD)インスタンスから返されたデータに基づいて情報を管理するシングルページアプリケーション(SPA)Webアプリケーションがあります。
ユーザーは、自社のAzure ADインスタンスを使用して、MicrosoftGraphを認証およびアクセスできる必要があります。
アプリ登録用にアプリケーションマニフェストを構成する必要があります。
マニフェストをどのように完成させる必要がありますか?回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。

正解:

解説:

Explanation
Graphical user interface, text, application, email Description automatically generated

Box 1: true
The oauth2AllowImplicitFlow attribute Specifies whether this web app can request OAuth2.0 implicit flow access tokens. The default is false. This flag is used for browser-based apps, like JavaScript single-page apps.
In implicit flow, the app receives tokens directly from the Azure Active Directory (Azure AD) authorize endpoint, without any server-to-server exchange. All authentication logic and session handling is done entirely in the JavaScript client with either a page redirect or a pop-up box.
Box 2: requiredResourceAccess
With dynamic consent, requiredResourceAccess drives the admin consent experience and the user consent experience for users who are using static consent. However, this parameter doesn't drive the user consent experience for the general case.
resourceAppId is the unique identifier for the resource that the app requires access to. This value should be equal to the appId declared on the target resource app.
resourceAccess is an array that lists the OAuth2.0 permission scopes and app roles that the app requires from the specified resource. Contains the id and type values of the specified resources.
Example:
"requiredResourceAccess": [
{
"resourceAppId": "00000002-0000-0000-c000-000000000000",
"resourceAccess": [
{
"id": "311a71cc-e848-46a1-bdf8-97ff7156d8e6",
"type": "Scope"
}
]
}
],
Box 3: AzureADMyOrg
The signInAudience attribute specifies what Microsoft accounts are supported for the current application.
Supported values are:
AzureADMyOrg - Users with a Microsoft work or school account in my organization's Azure AD tenant (for example, single tenant) AzureADMultipleOrgs - Users with a Microsoft work or school account in any organization's Azure AD tenant (for example, multi-tenant) AzureADandPersonalMicrosoftAccount - Users with a personal Microsoft account, or a work or school account in any organization's Azure AD tenant Reference:
https://docs.microsoft.com/en-us/azure/active-directory/develop/reference-app-manifest
https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-implicit-grant-flow


質問 # 140
複数のコンテナーを使用するAzureKubernetes Services(AKS)クラスターをデプロイしています。
クラスターを作成し、コンテナーのサービスが正しく構成されて使用可能であることを確認する必要があります。
ソリューションを開発するために使用する必要がある4つのコマンドはどれですか?応答するには、適切なコマンドセグメントをコマンドセグメントのリストから応答領域に移動し、正しい順序で配置します。

正解:

解説:

1 - az group create
2 - az aks create
3 - kubectl apply
4 - az aks get-credentials


質問 # 141
Azure ApplicationInsightsを使用してパフォーマンスを監視しイベントを追跡するASP.NETCore Web APIWebサービスを開発しています。
ロギングを有効にし、ログメッセージをApplicationInsightsによって追跡されるイベントに関連付けることができるようにする必要があります。
コードをどのように完成させる必要がありますか?答えるには、適切なコードセグメントを正しい場所にドラッグします。各コードセグメントは、1回使用することも、複数回使用することも、まったく使用しないこともできます。コンテンツを表示するには、分割バーをペイン間でドラッグするか、スクロールする必要がある場合があります。
注:正しい選択はそれぞれ1ポイントの価値があります。

正解:

解説:

Reference:
https://blog.computedcloud.com/enabling-application-insights-trace-logging-in-asp-net-core/


質問 # 142
モバイル配信サービスのソフトウェアソリューションを開発します。あなたは、ユーザーが自分の地域のレストランに注文するために使用できるモバイルアプリを開発しています。アプリは次のワークフローを使用します。
*ドライバーが注文を配達するレストランを選択します。
*注文はエリア内の利用可能なすべてのドライバーに送信されます。
*選択したレストランの注文のみがドライバーに表示されます。
*注文を最初に受け入れたドライバーは、利用可能な注文のリストからその注文を削除します。
Azure ServiceBusソリューションを実装する必要があります。
どの3つのアクションを順番に実行する必要がありますか?回答するには、適切なアクションをアクションのリストから回答領域に移動し、正しい順序で配置します。

正解:

解説:

Box 1: Create a single Service Bus Namespace
To begin using Service Bus messaging entities in Azure, you must first create a namespace with a name that is unique across Azure. A namespace provides a scoping container for addressing Service Bus resources within your application.
Box 2: Create a Service Bus Topic for each restaurant for which a driver can receive messages.
Create topics.
Box 3: Create a Service Bus subscription for each restaurant for which a driver can receive orders.
Topics can have multiple, independent subscriptions.
Reference:
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messaging-overview


質問 # 143
ある会社が一連のモバイルゲームを開発しています。すべてのゲームは単一のリーダーボードサービスを使用します。
次の要件があります。
*コードはスケーラブルであり、成長を可能にする必要があります。
*各レコードは、playedId、gameId、score、および再生時間で構成されている必要があります。
*ユーザーが新しいハイスコアに達すると、システムは以下のSaveScore関数を使用して新しいスコアを保存します。
*各ゲームはシリーズタイトルに基づいて割り当てられ、IDが割り当てられます。
次のコードがあります。 (行番号は参照用にのみ含まれています。)顧客情報はAzureCosmosデータベースに保存します。次のデータはデータベースにすでに存在します。

次の各ステートメントについて、ステートメントがtrueの場合は、[はい]を選択します。それ以外の場合は、[いいえ]を選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。

正解:

解説:

Explanation

Box 1: Yes
Code for CosmosDB, example:
// Parse the connection string and return a reference to the storage account.
CloudStorageAccount storageAccount = CloudStorageAccount.Parse(
CloudConfigurationManager.GetSetting("StorageConnectionString"));
// Create the table client.
CloudTableClient tableClient = storageAccount.CreateCloudTableClient();
// Retrieve a reference to the table.
CloudTable table = tableClient.GetTableReference("people");
// Create the TableOperation object that inserts the customer entity.
TableOperation insertOperation = TableOperation.Insert(customer1);
Box 2: No
A new record will always be added as TableOperation.Insert is used, instead of TableOperation.InsertOrReplace.
Box 3: No
No partition key is used.
Box 4: Yes
References:
https://docs.microsoft.com/en-us/azure/cosmos-db/table-storage-how-to-use-dotnet


質問 # 144
開発環境でAzureFunctionアプリのエラーメッセージを調査する必要があります。
あなたは何をするべきか?

  • A. 新しいAzure Log Analyticsワークスペースを作成し、ApplicationInsightsを使用してAzureFunctionアプリをインストルメントします。
  • B. Microsoft.Extensions.Loggingの拡張メソッドでAzure Functionアプリを更新し、ログインスタンスを使用してイベントをログに記録します。
  • C. 新しい診断設定をAzure Functionアプリに追加して、ログをLogAnalyticsに送信します。
  • D. ApplicationInsightsからAzureFunctionアプリにライブメトリックストリームを接続し、メトリックをフィルター処理します。

正解:D

解説:
Explanation
Azure Functions offers built-in integration with Azure Application Insights to monitor functions.
The following areas of Application Insights can be helpful when evaluating the behavior, performance, and errors in your functions:
Live Metrics: View metrics data as it's created in near real-time.
Failures
Performance
Metrics
Reference:
https://docs.microsoft.com/en-us/azure/azure-functions/functions-monitoring


質問 # 145
あなたの会社はアプリケーションをAzureに移行しています。 IT部門は、内部開発者がMicrosoftサポートと通信できるようにする必要があります。
IT部門のサービスエージェントは、リソースを表示し、すべてのサブスクリプションに対するサポートチケットのアクセス許可を作成するだけで済みます。デフォルトのロール定義を再利用し、権限を変更して、新しいカスタムロールを作成する必要があります。
カスタムロールを作成する必要があります。
回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。

正解:

解説:

Reference:
https://docs.microsoft.com/en-us/azure/role-based-access-control/custom-roles-powershell


質問 # 146
認証用にAPI管理を構成する必要があります。
どのポリシー値を使用する必要がありますか?回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。

正解:

解説:

Explanation

Box 1: Validate JWT
The validate-jwt policy enforces existence and validity of a JWT extracted from either a specified HTTP Header or a specified query parameter.
Scenario: User authentication (see step 5 below)
The following steps detail the user authentication process:
* The user selects Sign in in the website.
* The browser redirects the user to the Azure Active Directory (Azure AD) sign in page.
* The user signs in.
* Azure AD redirects the user's session back to the web application. The URL includes an access token.
* The web application calls an API and includes the access token in the authentication header. The application ID is sent as the audience ('aud') claim in the access token.
* The back-end API validates the access token.
Box 2: Outbound
Reference:
https://docs.microsoft.com/en-us/azure/api-management/api-management-access-restriction-policies


質問 # 147
ログポリシーがすべてのサービスに適用されるようにするには、EventGridController.csのEG15行にコードを追加する必要があります。
コードをどのように完成させる必要がありますか?答えるには、適切なコードセグメントを正しい場所にドラッグします。
各コードセグメントは、1回使用することも、複数回使用することも、まったく使用しないこともできます。コンテンツを表示するには、分割バーをペイン間でドラッグするか、スクロールする必要がある場合があります。
注:正しい選択はそれぞれ1ポイントの価値があります。

正解:

解説:

Reference:
https://docs.microsoft.com/en-us/azure/role-based-access-control/resource-provider-operations


質問 # 148
あなたはモバイルアプリケーションを設計する会社で働いています。彼らは、プレーヤーの記録が異なるゲームに割り当てられるサーバーを維持しています。追跡システムは新しく、開発中です。
アプリケーションは、EntityFrameworkを使用してAzureデータベースに接続します。データベースには、PlayerテーブルとGameテーブルがあります。
プレーヤーを追加するとき、コードは新しいプレーヤーレコードを挿入し、既存のゲームレコードと新しいプレーヤーレコードの間に関係を追加する必要があります。
アプリケーションは、正しいgameIdとplayerIdを指定してCreatePlayerWithGameを呼び出し、プロセスを開始します。 (行番号は参照用にのみ含まれています。)

次の各ステートメントについて、ステートメントがtrueの場合は、[はい]を選択します。それ以外の場合は、[いいえ]を選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。

正解:

解説:

Explanation

Many-to-many relationships without an entity class to represent the join table are not yet supported. However, you can represent a many-to-many relationship by including an entity class for the join table and mapping two separate one-to-many relationships.
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.Entity<PostTag>()
HasKey(t => new { t.PostId, t.TagId });
modelBuilder.Entity<PostTag>()
HasOne(pt => pt.Post)
WithMany(p => p.PostTags)
HasForeignKey(pt => pt.PostId);
modelBuilder.Entity<PostTag>()
HasOne(pt => pt.Tag)
WithMany(t => t.PostTags)
HasForeignKey(pt => pt.TagId);
}
}


質問 # 149
AzureStorageを使用するWebアプリケーションを開発しています。古いデータは、新しいデータよりも使用頻度が低くなります。
アプリケーションのデータストレージを構成する必要があります。次の要件があります。
データのコピーを5年間保持します。
1年以上前のデータの保存に関連するコストを最小限に抑えます。
アプリケーションデータ用のゾーン冗長ストレージを実装します。
あなたは何をするべきか?回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。

正解:

解説:

Explanation
Text Description automatically generated with medium confidence

Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-storage-tiers
https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy?toc=/azure/storage/blobs/toc.json


質問 # 150
Azure AppServiceでAzureWebアプリ関連のサービスを作成するCLIスクリプトを作成しています。 Webアプリは次の変数を使用します。

GitHubから新しく作成されたWebアプリにコードを自動的にデプロイする必要があります。
スクリプトをどのように完成させる必要がありますか?回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。

正解:

解説:

Explanation

Box 1: az appservice plan create
The azure group creates command successfully returns JSON result. Now we can use resource group to create a azure app service plan Box 2: az webapp create Create a new web app..
Box 3: --plan $webappname
with the serviceplan we created in step 1.
Box 4: az webapp deployment
Continuous Delivery with GitHub. Example:
az webapp deployment source config --name firstsamplewebsite1 --resource-group websites--repo-url $gitrepo
--branch master --git-token $token
Box 5: --repo-url $gitrepo --branch master --manual-integration
Reference:
https://medium.com/@satish1v/devops-your-way-to-azure-web-apps-with-azure-cli-206ed4b3e9b1


質問 # 151
AzureStorageを使用するWebアプリケーションを開発しています。古いデータは、新しいデータよりも使用頻度が低くなります。
アプリケーションのデータストレージを構成する必要があります。次の要件があります。
データのコピーを5年間保持します。
1年以上前のデータの保存に関連するコストを最小限に抑えます。
アプリケーションデータ用のゾーン冗長ストレージを実装します。
あなたは何をするべきか?回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。

正解:

解説:

Explanation
Text Description automatically generated with medium confidence

Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-storage-tiers
https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy?toc=/azure/storage/blobs/toc.json


質問 # 152
......

Microsoft AZ-204日本語試験実践テスト問題:https://jp.fast2test.com/AZ-204J-premium-file.html


弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

我々の働いている時間: ( GMT 0:00-15:00 )
月曜日から土曜日まで

サポート: 現在連絡 

English Deutsch 繁体中文 한국어