[2024年更新]合格できるAZ-204日本語試験にはリアルな問題解答 [Q148-Q167]

Share

[2024年更新]合格できるAZ-204日本語試験にはリアルな問題解答

AZ-204日本語試験問題ゲット最新[2024]と正解回答

質問 # 148
ContosoAppという名前のASP.NETCoreアプリケーションを実行するDockerイメージを作成することを計画しています。 setupScript.ps1という名前のセットアップスクリプトと、ContosoApp.dllを含む一連のアプリケーションファイルがあります。
次の要件を満たすDockerfileドキュメントを作成する必要があります。
*コンテナのビルド時にsetupScripts.ps1を呼び出します。
*コンテナの起動時にContosoApp.dllを実行します。
Dockerfileドキュメントは、ContosoApp.dllとsetupScript.ps1が保存されているのと同じフォルダーに作成する必要があります。
ソリューションを開発するために使用する必要がある5つのコマンドはどれですか?回答するには、適切なコマンドをコマンドのリストから回答領域に移動し、正しい順序で配置します。

正解:

解説:

Explanation

Box 1: CMD [..]
Cmd starts a new instance of the command interpreter, Cmd.exe.
Syntax: CMD <string>
Specifies the command you want to carry out.
Box 2: FROM microsoft/aspnetcore-build:latest
Box 3: WORKDIR /apps/ContosoApp
Bxo 4: COPY ./ .
Box 5: RUN powershell ./setupScript.ps1


質問 # 149
Free 価格レベルに基づく aspl という名前の App Service プランがあります。
aspl を使用して、キュー トリガーを使用して Azure 関数アプリを実装する予定です。ソリューションでは、コストを最小限に抑える必要があります。
要件を満たす構成オプションを特定する必要があります。
どの値を構成する必要がありますか? 回答するには、回答エリアで適切なオプションを選択します。
注: それぞれの正しい選択は 1 ポイントの価値があります。

正解:

解説:

Explanation


質問 # 150
医療記録アプリケーションをAzure仮想マシン(VM)にデプロイする準備をしています。アプリケーションは、オンプレミスビルドサーバーによって生成されたVHDを使用して展開されます。
Azureへのデプロイ中およびデプロイ後に、アプリケーションと関連データの両方が暗号化されていることを確認する必要があります。
どの3つのアクションを順番に実行する必要がありますか?回答するには、適切なアクションをアクションのリストから回答領域に移動し、正しい順序で配置します。

正解:

解説:

Explanation

Step 1: Encrypt the on-premises VHD by using BitLocker without a TPM. Upload the VM to Azure Storage Step 2: Run the Azure PowerShell command Set-AzureRMVMOSDisk To use an existing disk instead of creating a new disk you can use the Set-AzureRMVMOSDisk command.
Example:
$osDiskName = $vmname+'_osDisk'
$osDiskCaching = 'ReadWrite'
$osDiskVhdUri = "https://$stoname.blob.core.windows.net/vhds/"+$vmname+"_os.vhd"
$vm = Set-AzureRmVMOSDisk -VM $vm -VhdUri $osDiskVhdUri -name $osDiskName -Create Step 3: Run the Azure PowerShell command Set-AzureRmVMDiskEncryptionExtension Use the Set-AzVMDiskEncryptionExtension cmdlet to enable encryption on a running IaaS virtual machine in Azure.
Incorrect:
Not TPM: BitLocker can work with or without a TPM. A TPM is a tamper resistant security chip on the system board that will hold the keys for encryption and check the integrity of the boot sequence and allows the most secure BitLocker implementation. A VM does not have a TPM.
References:
https://www.itprotoday.com/iaaspaas/use-existing-vhd-azurerm-vm


質問 # 151
ケーススタディ6
LabelMakerアプリ
コーホーワイナリーはボトルを製造し、さまざまなワインを世界中に流通しています。あなたは、Azureソリューションを使用してオンライン注文処理をサポートするために、スケーラビリティと復元力の高いアプリケーションを実装する開発者です。
Coho Wineryには、ワインボトルのラベルを印刷するLabelMakerアプリケーションがあります。アプリケーションは複数のプリンターにデータを送信します。アプリケーションは、仮想マシン(VM)で独立して実行される5つのモジュールで構成されています。 Coho Wineryは、アプリケーションをAzureに移行し、ラベルの作成を引き続きサポートする予定です。
外部パートナーは、LabelMakerアプリケーションにデータを送信して、カスタムラベルデザインのアートワークとテキストを含めます。
データ
データの管理と操作に関する次の要件を特定します。
*注文データは非リレーショナルJSONとして保存され、構造化照会言語(SQL)を使用して照会する必要があります。
* Orderデータへの変更は、すべてのパーティションに即座に反映される必要があります。 Orderデータに対するすべての読み取りは、最新の書き込みをフェッチする必要があります。
次のセキュリティ要件があります。
* Coho Wineryアプリケーションのユーザーは、ドキュメント、リソース、アプリケーションへのアクセスを外部パートナーに提供できる必要があります。
*外部パートナーは独自の資格情報を使用し、組織のID管理ソリューションで認証する必要があります。
*外部パートナーログインは、会社のコンプライアンスを維持するために、ユーザーアカウント管理者がアプリケーションを使用するために毎月監査する必要があります。
* eコマースアプリケーション設定のストレージは、Azure Key Vaultで維持する必要があります。
* eコマースアプリケーションのサインインは、Azure App Service認証とAzure Active Directory(AAD)を使用して保護する必要があります。
*条件付きアクセスポリシーをアプリケーションレベルで適用して、会社のコンテンツを保護する必要があります
* LabelMakerアプリケーションは、Azure Kubernetes Service(AKS)クラスターのすべての名前空間にフルアクセスできるAADアカウントを使用して保護する必要があります。
LabelMakerアプリ
Azure Monitor Container Healthを使用して、Kubernetes環境にデプロイされ、Azure Kubernetes Service(AKS)でホストされているワークロードのパフォーマンスを監視する必要があります。
AKSデプロイメントをサポートするイメージを公開するには、Azure Container Registryを使用する必要があります。

プリンター通信タイムアウトが原因で、Printer APIアプリの呼び出しが定期的に失敗します。
プリンターの通信タイムアウトは10秒後に発生します。ラベルプリンターは、1分間に5回までの試行のみを受信する必要があります。
注文ワークフローは、Azureへの最初のデプロイ時に実行できません。
.jsonを注文する

eコマースチェックアウトAPIを実装する必要があります。
どの3つのアクションを実行する必要がありますか?それぞれの正解は、ソリューションの一部を示しています。
注:それぞれの正しい選択は1ポイントの価値があります。

  • A. 関数テンプレートのModeプロパティをWebhookに設定し、Webhook typeプロパティをGeneric JSONに設定します。
  • B. 関数テンプレートのModeプロパティをWebhookに、Webhook typeプロパティをGitHubに設定します。
  • C. ジェネリックwebhook関数テンプレートを使用してAzure関数を作成します。
  • D. HTTP POST関数テンプレートを使用してAzure関数を作成します。
  • E. Azure Function Appで、Managed Service Identity(MSI)を有効にします。
  • F. Azure Function Appで、許可されているすべてのオリジンでクロスオリジンリソースシェアリング(CORS)を有効にします。

正解:A、D、E

解説:
Scenario: E-commerce application sign-ins must be secured by using Azure App Service authentication and Azure Active Directory (AAD).
D: A managed identity from Azure Active Directory allows your app to easily access other AAD- protected resources such as Azure Key Vault.
Incorrect Answers:
C: CORS is an HTTP feature that enables a web application running under one domain to access resources in another domain.
References:
https://docs.microsoft.com/en-us/azure/app-service/overview-managed-identity


質問 # 152
企業がAzure SQL Databaseを使用してアプリのデータを格納しています。データには機密情報が含まれます。
マネージャーグループのメンバーのみが機密情報を表示できるようにする対策を実装する必要があります。
どの2つのアクションを実行する必要がありますか?それぞれの正解がソリューションの一部を示しています。
注:それぞれの正しい選択は1ポイントの価値があります。

  • A. オプションB
  • B. オプションE
  • C. オプションD
  • D. オプションC
  • E. オプションA

正解:A、B

解説:
Explanation
Dynamic data masking helps prevent unauthorized access to sensitive data by enabling customers to designate how much of the sensitive data to reveal with minimal impact on the application layer.
SQL users excluded from masking - A set of SQL users or AAD identities that get unmasked data in the SQL query results.
Note: The New-AzureRmSqlDatabaseDataMaskingRule cmdlet creates a data masking rule for an Azure SQL database.
References:
https://docs.microsoft.com/en-us/powershell/module/azurerm.sql/new-azurermsqldatabasedatamaskingrule?view


質問 # 153
配達ドライバーのプロフィール情報を確実に特定する必要があります。
システムをどのように構成する必要がありますか? 回答するには、回答エリアで適切なオプションを選択します。
注: 正しい選択はそれぞれ 1 ポイントの価値があります。

正解:

解説:

Explanation

Text, letter Description automatically generated


質問 # 154
Webアプリを開発し、運用環境のAzureAppServiceにデプロイします。Webアプリを4つのインスタンスにスケールアウトし、変更をサポートするようにステージングスロットを構成します。
次の要件を含めるには、環境内のWebアプリを監視する必要があります。
*エラーステータスコードを持つインスタンスからリクエストを再ルーティングすることでウェブアプリの可用性を高め、1時間後にエラー状態のままの場合はインスタンスを自動的に置き換えます。
* Webサーバーログ、アプリケーションログ、標準出力、および標準エラーメッセージングをAzureStorageBLOBアカウントに送信します。
AzureAppServiceを構成する必要があります。
どの値を使用する必要がありますか?答えるには、適切な構成値を正しい要件にドラッグします。各構成値は、1回以上使用できます。

正解:

解説:

Explanation


質問 # 155
ある会社は、スマート冷蔵庫が温度情報を中央の場所に送信できるようにするソリューションを開発しています。既存のサービスバスがあります。
ソリューションは、メッセージを処理できるようになるまで、メッセージを受信して​​保存する必要があります。名前、価格階層、サブスクリプション、リソースグループ、および場所を指定して、Azure ServiceBusインスタンスを作成します。
構成を完了する必要があります。
どのAzureCLIまたはPowerShellコマンドを実行する必要がありますか?

  • A. オプションB
  • B. オプションD
  • C. オプションC
  • D. オプションA

正解:A

解説:
Explanation
A service bus instance has already been created (Step 2 below). Next is step 3, Create a Service Bus queue.
Note:
Steps:
Step 1: # Create a resource group
resourceGroupName="myResourceGroup"
az group create --name $resourceGroupName --location eastus
Step 2: # Create a Service Bus messaging namespace with a unique name
namespaceName=myNameSpace$RANDOM
az servicebus namespace create --resource-group $resourceGroupName --name $namespaceName --location eastus Step 3: # Create a Service Bus queue az servicebus queue create --resource-group $resourceGroupName --namespace-name $namespaceName
--name BasicQueue
Step 4: # Get the connection string for the namespace
connectionString=$(az servicebus namespace authorization-rule keys list --resource-group
$resourceGroupName --namespace-name $namespaceName --name RootManageSharedAccessKey --query primaryConnectionString --output tsv) References:
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-quickstart-cli


質問 # 156
Azure仮想マシン(VM)ベースのアプリケーションをデプロイする準備をしています。アプリケーションを実行するVMには、次の要件があります。
* VMがプロビジョニングされると、ファイアウォールはAzureリソースにアクセスする前に自動的に構成する必要があります。
*サポートサービスは、AzureStorageに保存されているAzurePowerShellスクリプトを使用してインストールする必要があります。要件が満たされていることを確認する必要があります。
どの機能を使用する必要がありますか?答えるには、適切な機能を正しい要件にドラッグします。

正解:

解説:

Explanation


質問 # 157
account1 という名前の Azure Cosmos DB for NoSQL アカウントを、既定の整合性レベルでプロビジョニングしました。
要求ごとに整合性レベルを構成する予定です。このレベルは、account1 に対する読み取りおよび書き込み操作の一貫したプレフィックスに設定する必要があります。
読み取りおよび書き込み操作の結果として得られる一貫性レベルを特定する必要があります。
どのレベルを設定する必要がありますか? 回答するには、回答領域で適切なオプションを選択してください。
注: 正しく選択するたびに 1 ポイントの価値があります。

正解:

解説:

Explanation
Consistent Prefix
Strong


質問 # 158
モバイル配信サービスのソフトウェアソリューションを開発します。あなたは、ユーザーが自分の地域のレストランに注文するために使用できるモバイルアプリを開発しています。アプリは次のワークフローを使用します。
1.ドライバーが注文を配達するレストランを選択します。
2.注文はエリア内の利用可能なすべてのドライバーに送信されます。
3.選択したレストランの注文のみがドライバーに表示されます。
4.注文を最初に受け入れたドライバーは、利用可能な注文のリストからその注文を削除します。
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.
References:
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messaging-overview


質問 # 159
セキュリティポリシーが満たされていることを確認するには、Processing.csの行PC26にコードを追加する必要があります。
PC26行目に追加するコードをどのように完成させる必要がありますか?回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。

正解:

解説:

Reference:
https://github.com/Azure/azure-storage-net/blob/master/Samples/GettingStarted/EncryptionSamples/KeyRotation/Program.cs


質問 # 160
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


質問 # 161
受領処理が正しく行われるようにする必要があります。
何をすべきでしょうか?

  • A. 同時実行の問題を防ぐために BLOB SnapshotTime を使用する
  • B. 同時実行の問題を防ぐために BLOB プロパティを使用する
  • C. 同時実行の問題を防ぐために BLOB リースを使用する
  • D. 同時実行の問題を防ぐために BLOB メタデータを使用する

正解:C


質問 # 162
Azure BlobStorageコンテナーに格納されている写真を管理するために使用できるASP.NETCoreWebサイトを開発しています。
Webサイトのユーザーは、Azure Active Directory(Azure AD)資格情報を使用して認証します。
写真を格納するコンテナーに役割ベースのアクセス制御(RBAC)役割のアクセス許可を実装します。
ユーザーをRBACロールに割り当てます。
ユーザーのアクセス許可をAzureBlobコンテナーで使用できるように、WebサイトのAzureADアプリケーションを構成する必要があります。
アプリケーションをどのように構成する必要がありますか?答えるには、適切な設定を正しい場所にドラッグします。
各設定は、1回使用することも、複数回使用することも、まったく使用しないこともできます。コンテンツを表示するには、分割バーをペイン間でドラッグするか、スクロールする必要がある場合があります。
注:正しい選択はそれぞれ1ポイントの価値があります。

正解:

解説:

Explanation

Box 1: user_impersonation
Box 2: delegated
Example:
1. Select the API permissions section
2. Click the Add a permission button and then:
Ensure that the My APIs tab is selected
3. In the list of APIs, select the API TodoListService-aspnetcore.
4. In the Delegated permissions section, ensure that the right permissions are checked: user_impersonation.
5. Select the Add permissions button.
Box 3: delegated
Example
1. Select the API permissions section
2. Click the Add a permission button and then,
Ensure that the Microsoft APIs tab is selected
3. In the Commonly used Microsoft APIs section, click on Microsoft Graph
4. In the Delegated permissions section, ensure that the right permissions are checked: User.Read. Use the search box if necessary.
5. Select the Add permissions button
Reference:
https://docs.microsoft.com/en-us/samples/azure-samples/active-directory-dotnet-webapp-webapi-openidconnect-


質問 # 163
Azure Blobストレージを使用するアプリケーションを開発しています。変更フィードを含めるようにAzure Blobストレージを構成しました。
ストレージアカウントのコピーを別のリージョンに作成する必要があります。ストレージサーバー間で直接、現在のストレージアカウントから新しいストレージアカウントにデータをコピーする必要があります。
別のリージョンにストレージアカウントのコピーを作成し、データをコピーする必要があります。
どの順序でアクションを実行する必要がありますか?回答するには、すべてのアクションをアクションのリストから回答領域に移動し、正しい順序に並べます。

正解:

解説:

Explanation

To move a storage account, create a copy of your storage account in another region. Then, move your data to that account by using AzCopy, or another tool of your choice.
The steps are:
* Export a template.
* Modify the template by adding the target region and storage account name.
* Deploy the template to create the new storage account.
* Configure the new storage account.
* Move data to the new storage account.
* Delete the resources in the source region.
Note: You must enable the change feed on your storage account to begin capturing and recording changes.
You can enable and disable changes by using Azure Resource Manager templates on Portal or Powershell.
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-account-move
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-change-feed


質問 # 164
ContosoAppという名前のASP.NETCoreアプリケーションとして実行されるDockerイメージを作成することを計画しています。 setupScript.ps1という名前のセットアップスクリプトと、ContosoApp.dllを含む一連のアプリケーションファイルがあります。
次の要件を満たすDockerfileドキュメントを作成する必要があります。
*コンテナのビルド時にsetupScript.ps1を呼び出します。
*コンテナの起動時にContosoApp.dllを実行します。
Dockerドキュメントは、ContosoApp.dllとsetupScript.ps1が保存されているのと同じフォルダーに作成する必要があります。
ソリューションを開発するために使用する必要がある4つのコマンドはどれですか?回答するには、適切なコマンドをコマンドのリストから回答領域に移動し、正しい順序で配置します。

正解:

解説:

1 - WORKDIR /apps/ContosoApp
2 - COPY ./-
3 - EXPOSE ./ContosApp/ /app/ContosoApp
4 - CMD powershell ./setupScript.ps1
References:
https://docs.microsoft.com/en-us/azure/app-service/containers/tutorial-custom-docker-image


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

正解:

解説:

Reference:
https://docs.microsoft.com/bs-latn-ba/azure/virtual-machines/linux/encrypt-disks


質問 # 166
企業のWebサイトファイルのセキュリティとコンプライアンスを構成する必要があります。
どのAzureBlobストレージ設定を使用する必要がありますか?回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。

正解:

解説:

Explanation
Box 1: role-based access control (RBAC)
Azure Storage supports authentication and authorization with Azure AD for the Blob and Queue services via Azure role-based access control (Azure RBAC).
Scenario: File access must restrict access by IP, protocol, and Azure AD rights.
Box 2: change feed
The purpose of the change feed is to provide transaction logs of all the changes that occur to the blobs and the blob metadata in your storage account.
The file updates must be read-only, stored in the order in which they occurred, include only create, update, delete, and copy operations, and be retained for compliance reasons.
Reference:
https://docs.microsoft.com/en-us/azure/cdn/cdn-sas-storage-support
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-change-feed?tabs=azure-portal


質問 # 167
......

練習できるAZ-204日本語問題で認証試験問題集ガイド解答は練習専門Fast2test:https://jp.fast2test.com/AZ-204J-premium-file.html


弊社を連絡する

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

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

サポート: 現在連絡 

English Deutsch 繁体中文 한국어