2023年最新の有効なAZ-204日本語テスト解答とMicrosoft試験PDF問題を試そう
無料Microsoft AZ-204日本語試験問題と解答トレーニングを提供していますFast2test
質問 # 19
ネットワークセキュリティポリシーが満たされていることを確認する必要があります。
ネットワークセキュリティをどのように構成する必要がありますか?回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:
解説:
Reference:
https://docs.microsoft.com/en-us/azure/web-application-firewall/ag/ag-overview
https://www.upguard.com/articles/10-tips-for-securing-your-nginx-deployment
質問 # 20
Java RESTful APIを開発してAzure App Serviceにデプロイします。
ブラウザーを開き、APIのURLに移動します。次のエラーメッセージが表示されます。
エラーを解決する必要があります。
あなたは何をするべきか?
- A. CORSを有効にする
- B. カスタムドメインのマッピング
- C. SSL証明書をバインドします
- D. CDNを追加
- E. 認証を有効にする
正解:A
解説:
We need to enable Cross-Origin Resource Sharing (CORS).
References:
https://medium.com/@xinganwang/a-practical-guide-to-cors-51e8fd329a1f
質問 # 21
チーム「XNP」は、AzureのKubernetesクラスターにデプロイする必要のあるコンテナーベースのアプリケーションを開発しています。
パーカーはクラスターを作成し、必要に応じてサービスが実行されていることを確認する必要があります。
以下を考慮して、彼が実行するコマンドを選択しますか?
1.)az aks create
2.)az group create
3.)kubectlの適用
4.)az appservice plan create
- A. 1、2、4のみ
- B. 1、2、3のみ
- C. 3と4のみ
- D. 2と3のみ
正解:B
質問 # 22
AzureBlobコンテナーにアップロードされた画像を処理するAzureFunctionアプリを開発しています。
画像はアップロード後できるだけ早く処理する必要があり、ソリューションは待ち時間を最小限に抑える必要があります。関数アプリがトリガーされたときに画像を処理するコードを作成します。
Functionアプリを設定する必要があります。
あなたは何をするべきか?
- A. 消費プランを使用します。 Azure BlobStorageトリガーを使用するようにFunctionアプリを構成します。
- B. AppServiceプランを使用します。 Azure BlobStorage入力トリガーを使用するようにFunctionAppを構成します。
- C. 消費プランを使用します。タイマートリガーを使用するように関数アプリを構成します。
- D. AppServiceプランを使用します。 Azure BlobStorageトリガーを使用するようにFunctionアプリを構成します。
- E. 消費プランを使用します。 Azure BlobStorage入力トリガーを使用するようにFunctionAppを構成します。
正解:A
解説:
The Blob storage trigger starts a function when a new or updated blob is detected. The blob contents are provided as input to the function.
The Consumption plan limits a function app on one virtual machine (VM) to 1.5 GB of memory.
Reference:
https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-blob-trigger
質問 # 23
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 ENTRYPOINT ["dotnet", "ContosoApp.dll"] Reference:
https://docs.microsoft.com/en-us/azure/app-service/containers/tutorial-custom-docker-image
質問 # 24
注:この質問は、同じシナリオを提示する一連の質問の一部です。シリーズの各質問には、固有のソリューションが含まれています。ソリューションが指定された目標を満たしているかどうかを判断します。
ユーザーが仮想不動産を購入して取引できるエンターテイメントアプリケーションを開発します。アプリケーションは、数千人のユーザーをサポートするように拡張する必要があります。
現在のアーキテクチャには、アカウント情報用にAzure SQLデータベースに接続し、バックエンドサービス用にAzure Table Storageに接続する5つのAzure仮想マシン(VM)が含まれています。ユーザーはいつでもクラウド内のこれらのコンポーネントを操作します。ルーティングサービス-要求を適切なサービスにルーティングし、セッション間でデータを保持してはなりません。アカウントサービス-すべてのアカウント情報と認証を保存および管理し、セッション間でデータを保持する必要があります。
ユーザーサービス-すべてのユーザー情報を保存および管理し、セッション間でデータを保持する必要があります。
住宅ネットワークサービス-現在の不動産経済を保存および管理し、セッション間でデータを保持する必要があります。
取引サービス-アカウント間の仮想取引を保存および管理します。セッション間でデータを維持する必要があります。
ユーザートラフィックが変動するため、スケールの俊敏性のためにマイクロサービスソリューションが選択されています。
Azure Service Fabric上の分散マイクロサービスソリューションに移行する必要があります。
ソリューション:各コンポーネントのWindowsコンテナーをAzure Service Fabricにデプロイします。
ソリューションは目標を達成していますか?
- A. いいえ
- B. はい
正解:A
解説:
We should use stateful services when we want data to persist, and stateless service when data must not persist.
References:
https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-reliable-services-introduction
質問 # 25
AzureStorageと通信する.NETアプリケーションを開発しています。
アプリケーションの初期化時にメッセージを保存する必要があります。
メッセージを実装する必要があります。
コードセグメントをどのように完成させる必要がありますか?回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:
解説:
質問 # 26
会社はすべての製造データをAzureBlobStorageにバックアップします。管理者は、ブロブをホットストレージからアーカイブ層ストレージに毎月移動します。
ブロックが180日間アクセスされなかった後、ブロックを自動的にアーカイブ層に移動する必要があります。アーカイブされていないアイテムのパスは、既存のキューに配置する必要があります。この操作は、月に1回自動的に実行する必要があります。 TierAgeInDaysの値を180に設定します。
ロジックアプリをどのように構成する必要がありますか?答えるには、適切なトリガーまたはアクションブロックを正しいトリガーまたはアクションスロットにドラッグします。各トリガーまたはアクションブロックは、1回使用することも、複数回使用することも、まったく使用しないこともできます。コンテンツを表示するには、分割バーをペイン間でドラッグするか、スクロールする必要がある場合があります。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:
解説:
References:
https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-perform-data-operations
質問 # 27
ログポリシーを実装する必要があります。
EventGridController.csのEnsureLoggingメソッドをどのように完了する必要がありますか?回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:
解説:
Explanation
Box 1: logdrop
All log files should be saved to a container named logdrop.
Box 2: 15
Logs must remain in the container for 15 days.
Box 3: UpdateApplicationSettings
All Azure App Service Web Apps must write logs to Azure Blob storage.
Reference:
https://blog.hompus.nl/2017/05/29/adding-application-logging-blob-to-a-azure-web-app-service-using-powershe
質問 # 28
複数の Azure Service Bus キューを使用するソリューションを開発しています。Azure Service Bus 名前空間の Azure Event Grid サブスクリプションを作成します。Azure Functions をサブスクライバーとして使用して、メッセージを処理します。
キューから Azure Event Grid にイベントを発行する必要があります。最小特権の原則を使用し、コストを最小限に抑える必要があります。
どの Azure Service Bus 値を使用する必要がありますか? 答えるには、回答エリアで適切なオプションを選択してください 正しい選択ごとにポイントが与えられます
正解:
解説:
Explanation
質問 # 29
ケーススタディ5-幅広い世界の輸入業者
バックグラウンド
Wide World ImportersはすべてのデータセンターをAzureに移行しています。同社は、サプライチェーンの運用をサポートするためにいくつかのアプリケーションとサービスを開発しており、可能な場合はサーバーレスコンピューティングを活用したいと考えています。
現在の環境
Windows Server 2016仮想マシン
この仮想マシン(VM)はBiz Talk Server 2016を実行します。VMは次のワークフローを実行します。
*海上輸送-このワークフローでは、コンテナの内容やさまざまな出荷港への到着通知などのコンテナ情報を収集して検証します。
*内陸輸送-このワークフローは、燃料使用量、経由地の数、ルートなどのトラック情報を収集して検証します。
VMは次のREST API呼び出しをサポートしています。
*コンテナーAPI-このAPIは、重量、内容、その他の属性を含むコンテナー情報を提供します。
* Location API-このAPIは、コールおよびトラックストップの出荷ポートに関する位置情報を提供します。
*配送REST API-このAPIは、配送ウェブサイトで使用および表示するための配送情報を提供します。
配送データ
アプリケーションは、すべてのコンテナーおよびトランスポート情報にMongoDB JSONドキュメントストレージデータベースを使用します。
配送ウェブサイト
このサイトには、輸送用コンテナの追跡情報とコンテナの内容が表示されます。サイトはhttp://shipping.wideworldimporters.comにあります。提案されたソリューションオンプレミスの出荷アプリケーションをAzureに移動する必要があります。 VMは、Azure Site Recoveryを使用して新しいStandard_D16s_v3 Azure VMに移行されており、BizTalkコンポーネントの移行を完了するには、Azureで実行されている必要があります。 Standard_D16s_v3 Azure VMを作成して、BizTalk Serverをホストします。提案されたソリューションのAzureアーキテクチャ図を以下に示します。
配送ロジックアプリ
Shipping Logicアプリは、次の要件を満たしている必要があります。
*ロジックアプリを使用して、海上輸送と内陸輸送のワークフローをサポートします。
*船の内容の詳細や到着通知など、さまざまなメッセージの業界標準プロトコルX12メッセージ形式をサポートします。
*リソースを企業VNetに保護し、固定コストモデルで専用ストレージリソースを使用します。
*オンプレミス接続を維持して、レガシーアプリケーションと最終的なBizTalk移行をサポートします。
配送機能アプリ
アプリレベルのセキュリティを使用して安全な機能のエンドポイントを実装し、Azure Active Directory(Azure AD)を含めます。
REST API
ソリューションをサポートするREST APIは、次の要件を満たしている必要があります。
*企業VNetへのリソースを保護します。
*追加のコストを発生させることなく、Azure内のテスト場所へのデプロイを許可します。
*アプリケーションのダウンタイムを発生させずに、出荷のピーク時に自動的に容量を2倍に拡張します。
* Azureの支払いモデルを選択するときのコストを最小限に抑えます。
配送データ
オンプレミスからAzureへのデータ移行では、コストとダウンタイムを最小限に抑える必要があります。
配送ウェブサイト
Azure Content Delivery Network(CDN)を使用して、遅延とコストを最小限に抑えながら動的コンテンツのパフォーマンスを最大化します。
問題
Windows Server 2016 VM
VMは、高いネットワーク遅延、ジッター、および高いCPU使用率を示しています。 VMは重要であり、過去にバックアップされていません。 VMは、障害が発生した場合にディスクのインプレース復元を含めるために、7日間のスナップショットからの迅速な復元を有効にする必要があります。
出荷用ウェブサイトとREST API
Webサイトのテスト中に次のエラーメッセージが表示されます。
オンプレミスの出荷データをAzureに移行する必要があります。
何を使うべきですか?
- A. Azure Cosmos DBデータ移行ツール(dt.exe)
- B. Azureデータベース移行サービス
- C. AzCopy
- D. Azure移行
正解:B
解説:
Migrate from on-premises or cloud implementations of MongoDB to Azure Cosmos DB with minimal downtime by using Azure Database Migration Service. Perform resilient migrations of MongoDB data at scale and with high reliability.
Scenario: Data migration from on-premises to Azure must minimize costs and downtime.
The application uses MongoDB JSON document storage database for all container and transport information.
References:
https://azure.microsoft.com/en-us/updates/mongodb-to-azure-cosmos-db-online-and-offline- migrationsare-now-available/
質問 # 30
ビデオオンデマンドストリーミングメディアを配信するために、Azure AppServiceでホストされるASP.NETCoreWebアプリを開発しています。 Webエンドポイントに対してAzureContent Delivery Network(CDN)標準を有効にします。顧客のビデオは、次のURLの例を使用してWebアプリからダウンロードされます。http://www.contoso.com/content.mp4?quality = 1すべてのメディアコンテンツは1時間後にキャッシュから期限切れになる必要があります。さまざまな品質の顧客ビデオは、最も近い地域のPoint of Presence(POP)ノードに配信する必要があります。
AzureCDNキャッシュルールを構成する必要があります。
どのオプションを使用する必要がありますか?回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:
解説:
Reference:
https://docs.microsoft.com/en-us/azure/cdn/cdn-query-string
質問 # 31
企業の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
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 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 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.
質問 # 32
Webアプリを開発し、運用環境のAzureAppServiceにデプロイします。Webアプリを4つのインスタンスにスケールアウトし、変更をサポートするようにステージングスロットを構成します。
次の要件を含めるには、環境内のWebアプリを監視する必要があります。
*エラーステータスコードを持つインスタンスからリクエストを再ルーティングすることでウェブアプリの可用性を高め、1時間後にエラー状態のままの場合はインスタンスを自動的に置き換えます。
* Webサーバーログ、アプリケーションログ、標準出力、および標準エラーメッセージングをAzureStorageBLOBアカウントに送信します。
AzureAppServiceを構成する必要があります。
どの値を使用する必要がありますか?答えるには、適切な構成値を正しい要件にドラッグします。各構成値は、1回以上使用できます。
正解:
解説:
Explanation
質問 # 33
注:この質問は、同じシナリオを提示する一連の質問の一部です。シリーズの各質問には、指定された目標を達成する可能性のある独自のソリューションが含まれています。一部の質問セットには複数の正しい解決策がある場合がありますが、他の質問セットには正しい解決策がない場合があります。
このセクションの質問に回答した後は、その質問に戻ることはできません。その結果、これらの質問はレビュー画面に表示されません。
写真を管理するためのSaaS(Software as a Service)サービスを開発します。ユーザーは写真をWebサービスにアップロードし、Azure Storage Blobストレージに写真を保存します。ストレージアカウントの種類は汎用V2です。
写真をアップロードするときは、モバイルフレンドリーなバージョンの画像を作成して保存するために処理する必要があります。モバイルフレンドリーなバージョンの画像を作成するプロセスは、1分未満で開始する必要があります。
写真処理を開始するプロセスを設計する必要があります。
解決策:blobのアップロードからトリガーされたAzure関数に写真処理を移動します。
ソリューションは目標を達成していますか?
- A. はい
- B. いいえ
正解:A
解説:
Explanation
Azure Storage events allow applications to react to events. Common Blob storage event scenarios include image or video processing, search indexing, or any file-oriented workflow.
Events are pushed using Azure Event Grid to subscribers such as Azure Functions, Azure Logic Apps, or even to your own http listener.
Note: Only storage accounts of kind StorageV2 (general purpose v2) and BlobStorage support event integration. Storage (general purpose v1) does not support integration with Event Grid.
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-event-overview
質問 # 34
ある会社がJavaWebアプリを開発しています。 Webアプリのコードは、次の場所にあるGitHubリポジトリでホストされています。
https://github.com/Contoso/webapp。
Webアプリは、本番環境に移行する前に評価する必要があります。最初のコードリリースをstagingという名前のデプロイメントスロットにデプロイする必要があります。
Webアプリを作成し、コードをデプロイする必要があります。
コマンドをどのように完了する必要がありますか?回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:
解説:
Explanation

Box 1: group
# Create a resource group.
az group create --location westeurope --name myResourceGroup
Box 2: appservice plan
# Create an App Service plan in STANDARD tier (minimum required by deployment slots).
az appservice plan create --name $webappname --resource-group myResourceGroup --sku S1 Box 3: webapp
# Create a web app.
az webapp create --name $webappname --resource-group myResourceGroup \
--plan $webappname
Box 4: webapp deployment slot
#Create a deployment slot with the name "staging".
az webapp deployment slot create --name $webappname --resource-group myResourceGroup \
--slot staging
Box 5: webapp deployment source
# Deploy sample code to "staging" slot from GitHub.
az webapp deployment source config --name $webappname --resource-group myResourceGroup \
--slot staging --repo-url $gitrepo --branch master --manual-integration References:
https://docs.microsoft.com/en-us/azure/app-service/scripts/cli-deploy-staging-environment
質問 # 35
あなたは、AzureFunctionを使用して注文を処理するサービスとしてのソフトウェア(SaaS)会社の開発者です。 Azure Functionは現在、AzureStorageキューによってトリガーされるAzureFunctionアプリで実行されます。
Kubernetesベースのイベント駆動型自動スケーリング(KEDA)を使用して、AzureFunctionをKubernetesに移行する準備をしています。
Azure関数のKubernetesカスタムリソース定義(CRD)を構成する必要があります。
どのCRDを構成する必要がありますか?答えるには、適切なCRDタイプを正しい場所にドラッグします。各CRDタイプは、1回使用することも、複数回使用することも、まったく使用しないこともできます。コンテンツを表示するには、分割バーをペイン間でドラッグするか、スクロールする必要がある場合があります。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:
解説:
Box 1: Deployment
To deploy Azure Functions to Kubernetes use the func kubernetes deploy command has several attributes that directly control how our app scales, once it is deployed to Kubernetes.
Box 2: ScaledObject
With --polling-interval, we can control the interval used by KEDA to check Azure Service Bus Queue for messages.
Example of ScaledObject with polling interval
apiVersion: keda.k8s.io/v1alpha1
kind: ScaledObject
metadata:
name: transformer-fn
namespace: tt
labels:
deploymentName: transformer-fn
spec:
scaleTargetRef:
deploymentName: transformer-fn
pollingInterval: 5
minReplicaCount: 0
maxReplicaCount: 100
Box 3: Secret
Store connection strings in Kubernetes Secrets.
Example: to create the Secret in our demo Namespace:
# create the k8s demo namespace
kubectl create namespace tt
# grab connection string from Azure Service Bus
KEDA_SCALER_CONNECTION_STRING=$(az servicebus queue authorization-rule keys list \
-g $RG_NAME \
--namespace-name $SBN_NAME \
--queue-name inbound \
-n keda-scaler \
--query "primaryConnectionString" \
-o tsv)
# create the kubernetes secret
kubectl create secret generic tt-keda-auth \
--from-literal KedaScaler=$KEDA_SCALER_CONNECTION_STRING \
--namespace tt
Reference:
https://www.thinktecture.com/en/kubernetes/serverless-workloads-with-keda/
質問 # 36
企業のWebサイトのエラーを修正する必要があります。
順番に実行することをお勧めする4つのアクションはどれですか?回答するには、適切なアクションをアクションのリストから回答領域に移動し、正しい順序で配置します。
正解:
解説:
Scenario: Corporate website
While testing the site, the following error message displays:
CryptographicException: The system cannot find the file specified.
Step 1: Generate a certificate
Step 2: Upload the certificate to Azure Key Vault
Scenario: All SSL certificates and credentials must be stored in Azure Key Vault.
Step 3: Import the certificate to Azure App Service
Step 4: Update line SCO5 of Security.cs to include error handling and then redeploy the code Reference:
https://docs.microsoft.com/en-us/azure/app-service/configure-ssl-certificate
質問 # 37
注文処理システムを実装しています。 POSアプリケーションは、Azure ServiceBusキュー内のトピックに注文を公開します。トピックのlabelプロパティには、次のデータが含まれています。
システムには、サブスクリプションに関して次の要件があります
フィルタを実装し、フィルタを評価しながらスループットを最大化する必要があります。
どのフィルタータイプを実装する必要がありますか?回答するには、適切なフィルタータイプを正しいサブスクリプションにドラッグします。各フィルタータイプは、1回使用することも、複数回使用することも、まったく使用しないこともできます。コンテンツを表示するには、分割バーをペイン間でドラッグするか、スクロールする必要がある場合があります。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:
解説:
Explanation
FutureOrders: SQLFilter
HighPriortyOrders: CorrelationFilter
CorrelationID only
InternationalOrders: SQLFilter
Country NOT USA requires an SQL Filter
HighQuantityOrders: SQLFilter
Need to use relational operators so an SQL Filter is needed.
AllOrders: No Filter
SQL Filter: SQL Filters - A SqlFilter holds a SQL-like conditional expression that is evaluated in the broker against the arriving messages' user-defined properties and system properties. All system properties must be prefixed with sys. in the conditional expression. The SQL-language subset for filter conditions tests for the existence of properties (EXISTS), as well as for null-values (IS NULL), logical NOT/AND/OR, relational operators, simple numeric arithmetic, and simple text pattern matching with LIKE.
Correlation Filters - A CorrelationFilter holds a set of conditions that are matched against one or more of an arriving message's user and system properties. A common use is to match against the CorrelationId property, but the application can also choose to match against ContentType, Label, MessageId, ReplyTo, ReplyToSessionId, SessionId, To, and any user-defined properties. A match exists when an arriving message's value for a property is equal to the value specified in the correlation filter. For string expressions, the comparison is case-sensitive. When specifying multiple match properties, the filter combines them as a logical AND condition, meaning for the filter to match, all conditions must match.
Boolean filters - The TrueFilter and FalseFilter either cause all arriving messages (true) or none of the arriving messages (false) to be selected for the subscription.
References:
https://docs.microsoft.com/en-us/azure/service-bus-messaging/topic-filters
質問 # 38
Microsoft Azure App ServiceのWebアプリ機能を使用して、TierD1アプリサービスプランを使用するWebアプリを開発します。
トラフィックの急増により、ページの読み込み時間が長くなりました。
CPU負荷が約85%になったときに、Webアプリが自動的にスケーリングするようにし、コストを最小限に抑える必要があります。
どの4つのアクションを順番に実行する必要がありますか?回答するには、適切なアクションをアクションのリストから回答領域に移動し、正しい順序で配置します。
注:回答の選択肢の複数の順序が正しいです。選択した正しい注文のいずれかに対してクレジットを受け取ります。
正解:
解説:
1 - Configure the web app to the Standard App Service Tier
2 - Enable autoscaling on the web app
3 - Add a scale rule
4 - Add a Scale condition
Reference:
https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-autoscale-get-started
質問 # 39
Contoso、Ltd。は、Azure API Management(APIM)を使用してお客様にAPIを提供しています。 APIは、JWTトークンを使用してユーザーを承認します。
APIMゲートウェイの応答キャッシュを実装する必要があります。キャッシュメカニズムは、特定の場所のデータにアクセスするクライアントのユーザーIDを検出し、そのユーザーIDの応答をキャッシュする必要があります。
次のポリシーをポリシーファイルに追加する必要があります。
*検出されたユーザーIDを保存するためのセット変数ポリシー
*キャッシュルックアップ値ポリシー
*キャッシュストア値ポリシー
*応答本文をユーザープロファイル情報で更新するための検索と置換のポリシーどのポリシーセクションにポリシーを追加する必要がありますか?回答するには、適切なセクションを正しいポリシーにドラッグします。各セクションは、1回使用することも、複数回使用することも、まったく使用しないこともできます。コンテンツを表示するには、ペイン間で分割バーをドラッグするか、スクロールする必要がある場合があります注:正しい選択はそれぞれ1ポイントの価値があります
正解:
解説:
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
質問 # 40
AzureFunctionアプリを呼び出すAzureLogicアプリを開発してデプロイします。 Azure FunctionアプリにはOpenAPI(Swagger)定義が含まれており、AzureBlobストレージアカウントを使用します。すべてのリソースは、Azure Active Directory(Azure AD)を使用して保護されています。
Logic Appは、Azure Monitorログを使用して、ランタイムデータとイベントに関する情報を記録および保存する必要があります。
ログはAzureBlobストレージアカウントに保存する必要があります。
Azure Monitorログを設定し、Azure LogicAppの診断データを収集する必要があります。
どの3つのアクションを順番に実行する必要がありますか?回答するには、適切なアクションをアクションのリストから回答領域に移動し、正しい順序で配置します。
正解:
解説:
Explanation
Text Description automatically generated
Step 1: Create a Log Analytics workspace
Before you start, you need a Log Analytics workspace.
Step 2: Install the Logic Apps Management solution
To set up logging for your logic app, you can enable Log Analytics when you create your logic app, or you can install the Logic Apps Management solution in your Log Analytics workspace for existing logic apps.
Step 3: Add a diagnostic setting to the Azure Logic App
Set up Azure Monitor logs
* In the Azure portal, find and select your logic app.
* On your logic app menu, under Monitoring, select Diagnostic settings > Add diagnostic setting.
Reference:
https://docs.microsoft.com/en-us/azure/logic-apps/monitor-logic-apps-log-analytics
質問 # 41
Microsoft ID プラットフォームを使用してユーザーとリソースを認証する Web アプリケーションを開発しました。Web アプリケーションは、いくつかの REST API を呼び出します。
API には、Microsoft ID プラットフォームからのアクセス トークンが必要です。
トークンをリクエストする必要があります。
どの 3 つのプロパティを使用する必要がありますか? 各正解は、ソリューションの一部を示しています。
注: それぞれの正しい選択は 1 ポイントの価値があります。
- A. リダイレクト URI/URL
- B. アプリケーション ID
- C. アプリケーション名
- D. アプリケーション シークレット
- E. サポートされているアカウントの種類
正解:A、B、D
質問 # 42
複数のコンテナーを使用するAzure Kubernetes Services(AKS)クラスターをデプロイしています。
クラスターを作成し、コンテナーのサービスが正しく構成され、使用可能であることを確認する必要があります。
ソリューションの開発に使用すべき4つのコマンドはどれですか。回答するには、適切なコマンドセグメントをコマンドセグメントのリストから回答領域に移動し、正しい順序に並べます。
正解:
解説:
Explanation
Step 1: az group create
Create a resource group with the az group create command. An Azure resource group is a logical group in which Azure resources are deployed and managed.
Example: The following example creates a resource group named myAKSCluster in the eastus location.
az group create --name myAKSCluster --location eastus
Step 2 : az aks create
Use the az aks create command to create an AKS cluster.
Step 3: kubectl apply
To deploy your application, use the kubectl apply command. This command parses the manifest file and creates the defined Kubernetes objects.
Step 4: az aks get-credentials
Configure it with the credentials for the new AKS cluster. Example:
az aks get-credentials --name aks-cluster --resource-group aks-resource-group References:
https://docs.bitnami.com/azure/get-started-aks/
質問 # 43
会社はすべての製造データをAzureBlobStorageにバックアップします。管理者は、ブロブをホットストレージからアーカイブ層ストレージに毎月移動します。
ブロックが180日間アクセスされなかった後、ブロックを自動的にアーカイブ層に移動する必要があります。アーカイブされていないアイテムのパスは、既存のキューに配置する必要があります。この操作は、月に1回自動的に実行する必要があります。 TierAgeInDaysの値を180に設定します。
ロジックアプリをどのように構成する必要がありますか?答えるには、適切なトリガーまたはアクションブロックを正しいトリガーまたはアクションスロットにドラッグします。各トリガーまたはアクションブロックは、1回使用することも、複数回使用することも、まったく使用しないこともできます。コンテンツを表示するには、分割バーをペイン間でドラッグするか、スクロールする必要がある場合があります。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:
解説:
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
質問 # 44
......
トップクラスMicrosoft AZ-204日本語オンライン問題集:https://jp.fast2test.com/AZ-204J-premium-file.html