[2023年11月]更新のMicrosoft AZ-204日本語試験基本問題には解答が付きます [Q34-Q59]

Share

[2023年11月]更新のMicrosoft AZ-204日本語試験基本問題には解答が付きます

2023年最新の実際に出るMicrosoft AZ-204日本語試験問題集と解答

質問 # 34
Azure Webアプリケーションファイアウォール(WAF)によって保護されているWebアプリを開発しています。 Webアプリへのすべてのトラフィックは、複数のWebアプリで使用されるAzure Application Gatewayインスタンスを介してルーティングされます。 Webアプリのアドレスはcontoso.azurewebsites.netです。
すべてのトラフィックはSSLで保護する必要があります。 Azure Application Gatewayインスタンスは、複数のWebアプリで使用されます。
アプリのAzure Application Gatewayを構成する必要があります。
どの2つのアクションを実行する必要がありますか?それぞれの正解がソリューションの一部を示しています。
注:それぞれの正しい選択は1ポイントの価値があります。

  • A. Azure App Service環境(ASE)で実行するようにWebアプリを変換します。
  • B. Azure Application GatewayのHTTP設定で、[Use for App service]設定を有効にします。
  • C. contoso.azurewebsites.netの認証証明書をAzureアプリケーションゲートウェイに追加します。
  • D. Azure Application GatewayのHTTP設定で、[バックエンドパスを上書き]オプションの値をcontoso22.azurewebsites.netに設定します。

正解:B、D

解説:
Explanation
D: The ability to specify a host override is defined in the HTTP settings and can be applied to any back-end pool during rule creation.
The ability to derive the host name from the IP or FQDN of the back-end pool members. HTTP settings also provide an option to dynamically pick the host name from a back-end pool member's FQDN if configured with the option to derive host name from an individual back-end pool member.
A (not C): SSL termination and end to end SSL with multi-tenant services.
In case of end to end SSL, trusted Azure services such as Azure App service web apps do not require whitelisting the backends in the application gateway. Therefore, there is no need to add any authentication certificates.

Reference:
https://docs.microsoft.com/en-us/azure/application-gateway/application-gateway-web-app-overview


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

正解:A、C、D

解説:
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


質問 # 36
AzureBlobストレージを使用するアプリケーションがあります。
BLOBのメタデータを更新する必要があります。
ソリューションを開発するために使用する必要がある3つの方法はどれですか?回答するには、適切なメソッドをメソッドのリストから回答領域に移動し、正しい順序で配置します。

正解:

解説:

Explanation

Metadata.Add example:
// Add metadata to the dictionary by calling the Add method
metadata.Add("docType", "textDocuments");
SetMetadataAsync example:
// Set the blob's metadata.
await blob.SetMetadataAsync(metadata);
// Set the blob's properties.
await blob.SetPropertiesAsync();
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-properties-metadata


質問 # 37
Azure Webアプリとして実行されるサービスとしてのソフトウェア(SaaS)ASP.NET CoreWebサービスを実装しています。 Webサービスは、ストレージにオンプレミスのSQLServerデータベースを使用します。 Webサービスには、データの更新を処理するWebJobも含まれています。 4人の顧客がWebサービスを使用します。
* WebJobの各インスタンスは、単一の顧客のデータを処理し、シングルトンインスタンスとして実行する必要があります。
*各デプロイメントは、本番データを提供する前にデプロイメントスロットを使用してテストする必要があります。
* Azureのコストを最小限に抑える必要があります。
* Azureリソースは分離されたネットワークに配置する必要があります。
WebアプリのAppServiceプランを構成する必要があります。
App Serviceプランをどのように構成する必要がありますか?回答するには、回答領域で適切な設定を選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。

正解:

解説:

Explanation

Number of VM instances: 4
You are not charged extra for deployment slots.
Pricing tier: Isolated
The App Service Environment (ASE) is a powerful feature offering of the Azure App Service that gives network isolation and improved scale capabilities. It is essentially a deployment of the Azure App Service into a subnet of a customer's Azure Virtual Network (VNet).
References:
https://azure.microsoft.com/sv-se/blog/announcing-app-service-isolated-more-power-scale-and-ease-of-use/


質問 # 38
Azure Cosmos DB を含める Azure ソリューションを実装します。最新の Azure Cosmos DB SDK と Azure Cosmos DB for NoSQL API です。また、Azure Cosmos DB の Azure Functions トリガーを使用して、新しいコンテナー インスタンスに変更フィード プロセッサを実装します。
バッチ内のドキュメントの 1 つを読み取るときに、大量のドキュメントのバッチが引き続き失敗します。トリガーされた関数によってドキュメントの同じバッチが継続的に再試行され、ドキュメントの新しいバッチを読み取る必要があります。
ドキュメントを読み取るには、変更フィード プロセッサを実装する必要があります。
どの機能を実装する必要がありますか? 回答するには、回答エリアで適切な機能を選択します。
注: それぞれの正しい選択は 1 ポイントの価値があります。

正解:

解説:

Explanation


質問 # 39
Windowsデバイス用のニュースおよびブログコンテンツアプリを開発します。
ユーザーが閲覧できる新しい記事がある場合は、ユーザーのデバイスに通知が届く必要があります。
プッシュ通知を実装する必要があります。
コードセグメントをどのように完了する必要がありますか?回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。

正解:

解説:

Reference:
https://docs.microsoft.com/en-us/azure/notification-hubs/notification-hubs-push-notification-registration-management
https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/app-service-mobile/app-service-mobile-windows-store-dotnet-get-started-push.md


質問 # 40
ある会社が一連のモバイルゲームを開発しています。すべてのゲームは単一のリーダーボードサービスを使用します。
次の要件があります。
*コードはスケーラブルであり、成長を可能にする必要があります。
*各レコードは、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


質問 # 41
企業のWebサイトのAzureStorageアカウントのアカウントの種類、レプリケーション、およびストレージ層のオプションを構成する必要があります。
どのように構成を完了する必要がありますか?回答するには、回答領域のダイアログボックスで適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。

正解:

解説:

Explanation

Account Kind: StorageV2 (general-purpose v2)
Scenario: Azure Storage blob will be used (refer to the exhibit). Data storage costs must be minimized.
General-purpose v2 accounts: Basic storage account type for blobs, files, queues, and tables. Recommended for most scenarios using Azure Storage.
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-account-overview
https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-storage-tiers?tabs=azure-portal


質問 # 42
音声および視覚アラームをトリガーして開始および停止する単一の信号サーバーを備えた危険通知システムを作成しています。
Azure Service Busを実装して、アラームを公開します。各アラームコントローラーは、Azure Service Busを使用して、トランザクションの一部としてアラーム信号を受信します。アラームイベントは、監査目的で記録する必要があります。各トランザクションレコードには、アクティブ化されたアラームタイプに関する情報が含まれている必要があります。
返信証跡監査ソリューションを実装する必要があります。
どの2つのアクションを実行する必要がありますか?それぞれの正解は、解決策の一部を示しています。
注:正しい選択はそれぞれ1ポイントの価値があります。

  • A. ハザードメッセージのMessageIdプロパティの値をCorrelationIdプロパティに割り当てます。
  • B. ハザードメッセージのMessageIdプロパティの値をSequenceNumberプロパティに割り当てます。
  • C. ハザードメッセージSequenceNumberプロパティの値をDeliveryCountプロパティに割り当てます。
  • D. ハザードメッセージMessageIdプロパティの値をDevileryCountプロパティに割り当てます。
  • E. ハザードメッセージSessionIDプロパティの値をSequenceNumberプロパティに割り当てます。
  • F. ハザードメッセージSessionIDプロパティの値をReplyToSessionIdプロパティに割り当てます。

正解:A、F


質問 # 43
cluster1という名前のAzureKubernetesクラスターで実行されているアプリケーションをデバッグしています。クラスターは、コンテナーにAzure Monitorを使用して、クラスターを監視します。
アプリケーションでは、入力コントローラーでスティッキーセッションが有効になっています。
一部のお客様は、過去24時間にアプリケーションで多数のエラーを報告しています。
エラーが発生している仮想マシン(VM)を特定する必要があります。
Azure Monitorクエリをどのように完了する必要がありますか?回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。

正解:

解説:

Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/log-query/get-started-queries
https://docs.microsoft.com/en-us/azure/azure-monitor/log-query/query-optimization


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


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


質問 # 46
複数のAzureFunctionsを使用してサーバーレスアプリケーションを開発します。これらの関数は、コード内からデータに接続します。
Azure FunctionAppプロジェクトのトレースを構成する必要があります。
hostjsonファイルの構成設定を変更する必要があります。
どのツールを使用する必要がありますか?

  • A. Visual Studio
  • B. Azure PowerShell
  • C. Azure Functionsコアツール(Azure CLI)
  • D. Azureポータル

正解:D

解説:
The function editor built into the Azure portal lets you update the function.json file and the code file for a function. The host.json file, which contains some runtime-specific configurations, is in the root folder of the function app.
References:
https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference#fileupdate


質問 # 47
ファイルを処理および変換し、ファイルをAzureストレージに格納するAzureBatchプロジェクトがあります。バッチジョブを開始する関数を開発しています。
次のパラメーターを関数に追加します。

変換されたファイルが、outputContainerSasUrlパラメーターによって参照されるコンテナーに配置されていることを確認する必要があります。変換に失敗したファイルは、failedContainerSasUrlパラメーターによって参照されるコンテナー内の場所です。
ファイルが正しく処理されていることを確認する必要があります。
コードセグメントをどのように完了する必要がありますか?回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。

正解:

解説:

References:
https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.batch.protocol.models.outputfileuploadcondition
https://docs.microsoft.com/en-us/azure/batch/batch-task-output-files


質問 # 48
Azure App ServicesWebアプリがあります。 AzureSQLデータベースインスタンス。リソースグループ内のAzureストレージアカウントとAzureRedisキャッシュインスタンス。
開発者は、コードをWebアプリに公開できる必要があります。開発者にWebアプリへの投稿ロールを付与する必要があります。ロールを付与する必要があります。
どの2つのコマンドを使用できますか?それぞれの正解は完全な解決策を提示します。
注:正しい選択はそれぞれ1ポイントの価値があります。

  • A. azロール割り当て作成
  • B. 新規-AzureRmRoleDefinition
  • C. azロール定義の作成
  • D. 新規-AzureRmRoleAssignment

正解:A、D

解説:
Explanation
References:
https://docs.microsoft.com/en-us/cli/azure/role/assignment?view=azure-cli-latest#az-role-assignment-create
https://docs.microsoft.com/en-us/powershell/module/azurerm.resources/new-azurermroleassignment?view=azu


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

正解:

解説:

Reference:
https://joonasw.net/view/azure-ad-authentication-with-azure-storage-and-managed-service-identity


質問 # 50
Azure Webアプリを開発しています。 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


質問 # 51
顧客の機密データを Azure Blob Storage に格納するアプリケーションを構築しています。データは、顧客ごとに一意のキーで暗号化する必要があります。
暗号化キーが破損している場合は、暗号化に使用しないでください。
BLOB が暗号化されていることを確認する必要があります。
コード セグメントをどのように完成させる必要がありますか? 回答するには、回答エリアで適切なオプションを選択します。
注: それぞれの正しい選択は 1 ポイントの価値があります。

正解:

解説:


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

正解:

解説:

Reference:
https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/concept-conditional-access-conditions
https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/concept-conditional-access-grant


質問 # 53
あなたは、Azure Storage を使用して顧客データを格納するアプリケーションを開発しています。データはお客様のみが復号化する必要があり、鍵をローテーションするためのスクリプトをお客様に提供する必要があります。
キーをローテーションするためのスクリプトを顧客に提供する必要があります。
コマンドをどのように完了する必要がありますか? 回答するには、回答エリアで適切なオプションを選択します。
注: それぞれの正しい選択は 1 ポイントの価値があります。

正解:

解説:


質問 # 54
AzureSQLデータベースを使用してモバイルアプリのユーザー情報を格納するソリューションを開発します。
アプリは、ユーザーに関する機密情報を保存します。
モバイルアプリのデータをクエリする開発者から機密情報を隠す必要があります。
動的データマスキングを構成するときに特定する必要がある3つの項目はどれですか?それぞれの正解は、解決策の一部を示しています。
注:正しい選択はそれぞれ1ポイントの価値があります。

  • A. 表
  • B. インデックス
  • C. 列
  • D. スキーマ
  • E. トリガー

正解:A、C、D

解説:
Explanation
In the Dynamic Data Masking configuration page, you may see some database columns that the recommendations engine has flagged for masking. In order to accept the recommendations, just click Add Mask for one or more columns and a mask is created based on the default type for this column. You can change the masking function by clicking on the masking rule and editing the masking field format to a different format of your choice.

References:
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-dynamic-data-masking-get-started-portal


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


質問 # 56
データベース接続文字列を取得する必要があります。
どの値を使用する必要がありますか?回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。

正解:

解説:

Explanation

Azure database connection string retrieve REST API vault.azure.net/secrets/ Box 1: cpandlkeyvault We specify the key vault, cpandlkeyvault.
Scenario: The database connection string is stored in Azure Key Vault with the following attributes:
Azure Key Vault name: cpandlkeyvault
Secret name: PostgreSQLConn
Id: 80df3e46ffcd4f1cb187f79905e9a1e8
Box 2: PostgreSQLConn
We specify the secret, PostgreSQLConn
Example, sample request:
https://myvault.vault.azure.net//secrets/mysecretname/4387e9f3d6e14c459867679a90fd0f79?api-version=7.1 Box 3: Querystring Reference:
https://docs.microsoft.com/en-us/rest/api/keyvault/getsecret/getsecret
Topic 4, Proseware, Inc
Case study
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.
To start the case study
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. When you are ready to answer a question, click the Question button to return to the question.
Background
You are a developer for Proseware, Inc. You are developing an application that applies a set of governance policies for Proseware's internal services, external services, and applications. The application will also provide a shared library for common functionality.
Requirements
Policy service
You develop and deploy a stateful ASP.NET Core 2.1 web application named Policy service to an Azure App Service Web App. The application reacts to events from Azure Event Grid and performs policy actions based on those events.
The application must include the Event Grid Event ID field in all Application Insights telemetry.
Policy service must use Application Insights to automatically scale with the number of policy actions that it is performing.
Policies
Log policy
All Azure App Service Web Apps must write logs to Azure Blob storage. All log files should be saved to a container named logdrop. Logs must remain in the container for 15 days.
Authentication events
Authentication events are used to monitor users signing in and signing out. All authentication events must be processed by Policy service. Sign outs must be processed as quickly as possible.
PolicyLib
You have a shared library named PolicyLib that contains functionality common to all ASP.NET Core web services and applications. The PolicyLib library must:
Exclude non-user actions from Application Insights telemetry.
Provide methods that allow a web service to scale itself.
Ensure that scaling actions do not disrupt application usage.
Other
Anomaly detection service
You have an anomaly detection service that analyzes log information for anomalies. It is implemented as an Azure Machine Learning model. The model is deployed as a web service. If an anomaly is detected, an Azure Function that emails administrators is called by using an HTTP WebHook.
Health monitoring
All web applications and services have health monitoring at the /health service endpoint.
Issues
Policy loss
When you deploy Policy service, policies may not be applied if they were in the process of being applied during the deployment.
Performance issue
When under heavy load, the anomaly detection service undergoes slowdowns and rejects connections.
Notification latency
Users report that anomaly detection emails can sometimes arrive several minutes after an anomaly is detected.
App code
EventGridController.cs
Relevant portions of the app files are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which they belong.

LoginEvent.cs
Relevant portions of the app files are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which they belong.


質問 # 57
Azureソリューションを開発します。
.NETアプリケーションは、Azure仮想マシンがデータの処理を終了するたびにメッセージを受信する必要があります。
メッセージは、受信アプリケーションによって処理された後も持続してはなりません。
メッセージを受信する.NETオブジェクトを実装する必要があります。
どのオブジェクトを使用する必要がありますか?

  • A. CloudQueueClient
  • B. TopicClient
  • C. QueueClient
  • D. SubscriptionClient

正解:C

解説:
A queue allows processing of a message by a single consumer. Need a CloudQueueClient to access the Azure VM.
Reference:
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-queues-topics-subscriptions


質問 # 58
アプリケーションをAzureKubernetes Service(AKS)クラスターにデプロイする準備をしています。
アプリケーションは、クラスターを含むVNet内からのみ使用可能である必要があります。
アプリケーションをデプロイする必要があります。
YAMLのデプロイをどのように完了する必要がありますか?答えるには、適切なYAMLセグメントを正しい場所にドラッグします。各YAMLセグメントは、1回使用することも、複数回使用することも、まったく使用しないこともできます。コンテンツを表示するには、分割バーをペイン間でドラッグするか、スクロールする必要がある場合があります。
注:正しい選択はそれぞれ1ポイントの価値があります。

正解:

解説:

Explanation

To create an internal load balancer, create a service manifest named internal-lb.yaml with the service type LoadBalancer and the azure-load-balancer-internal annotation as shown in the following example:
YAML:
apiVersion: v1
kind: Service
metadata:
name: internal-app
annotations:
service.beta.kubernetes.io/azure-load-balancer-internal: "true"
spec:
type: LoadBalancer
ports:
- port: 80
selector:
app: internal-app
References:
https://docs.microsoft.com/en-us/azure/aks/internal-lb


質問 # 59
......

合格保証付きのMicrosoft Azure AZ-204日本語試験問題集:https://www.passtest.jp/Microsoft/AZ-204J-shiken.html