AZ-204日本語練習試験テスト最新問題2023年12月
AZ-204日本語試験を一発合格保証問題集!
質問 # 107
ログポリシーを実装する必要があります。
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
質問 # 108
AzureBlobストレージにデータを保存および取得するためのアプリケーションを開発しています。アプリケーションは、オンプレミスの仮想マシン(VM)でホストされます。VMは、サイト間VPNゲートウェイ接続を使用してAzureに接続されます。アプリケーションは、Azure Active Directory(Azure AD)の資格情報を使用して保護されます。
アプリケーションには、開始時刻、有効期限、および読み取りアクセス許可を使用して、AzureBlobストレージアカウントへのアクセスを許可する必要があります。Azure Blobストレージアカウントアクセスでは、データアクセスを保護するために、アプリケーションのAzureADクレデンシャルを使用する必要があります。クライアントアプリケーションのセキュリティが侵害された場合、データアクセスを取り消すことができる必要があります。
AzureBlobストレージへのアプリケーションアクセスを保護する必要があります。
どのセキュリティ機能を使用する必要がありますか?回答するには、回答エリアで適切なオプションを選択してください。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:
解説:
Explanation
Text, letter Description automatically generated
Box 1: Shared access signature (SAS) token
When your application design requires shared access signatures for access to Blob storage, use Azure AD credentials to create a user delegation SAS when possible for superior security.
Box 2: Stored access policy
Stored access policies give you the option to revoke permissions for a service SAS without having to regenerate the storage account keys.
A shared access signature can take one of the following two forms:
* Service SAS with stored access policy. A stored access policy is defined on a resource container, which can be a blob container, table, queue, or file share. The stored access policy can be used to manage constraints for one or more service shared access signatures. When you associate a service SAS with a stored access policy, the SAS inherits the constraints - the start time, expiry time, and permissions - defined for the stored access policy.
* Ad hoc SAS.
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview
質問 # 109
MainAppという名前のWebアプリがあります。 WebJobs SDKを使用して、トリガーされたAppServiceバックグラウンドタスクを開発しています。このタスクは、キューで新しいデータが受信されるたびに、機能コードを自動的に呼び出します。
サービスを構成する必要があります。
各シナリオでどのサービスを使用する必要がありますか?答えるには、適切なサービスを正しいシナリオにドラッグします。各サービスは、1回使用することも、複数回使用することも、まったく使用しないこともできます。コンテンツを表示するには、分割バーをペイン間でドラッグするか、スクロールする必要がある場合があります。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:
解説:
Box 1: WebJobs
A WebJob is a simple way to set up a background job, which can process continuously or on a schedule.
WebJobs differ from a cloud service as it gives you get less fine-grained control over your processing environment, making it a more true PaaS service.
Box 2: Flow
質問 # 110
Azure Cosmos D& に地理空間データを格納する API を使用するモバイル アプリを開発しています。このアプリを使用して、特定の地域のレストランと、食品の種類、メニュー情報、ユーザーから選択したレストランまでの最適なルートなどの関連情報を検索します。現在位置。
API にはどの Azure Cosmos DB API を使用する必要がありますか?
- A. Gremlin
- B. カサンドラ
- C. Core
- D. MongoDB
正解:D
質問 # 111
AzureWebアプリを開発しています。 WebアプリのTLS相互認証を構成します。
Webアプリでクライアント証明書を検証する必要があります。回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:
解説:
References:
https://docs.microsoft.com/en-us/azure/app-service/app-service-web-configure-tls-mutual-auth
質問 # 112
VisualStudioを使用してAzureFunctionアプリを開発しています。このアプリは、AzureWebアプリによって入力された注文を処理します。 Webアプリは、注文情報をAzure QueueStorageに配置します。
以下に示すAzureFunctionAppコードを確認する必要があります。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:
解説:
Explanation
Box 1: No
ExpirationTime - The time that the message expires.
InsertionTime - The time that the message was added to the queue.
Box 2: Yes
maxDequeueCount - The number of times to try processing a message before moving it to the poison queue.
Default value is 5.
Box 3: Yes
When there are multiple queue messages waiting, the queue trigger retrieves a batch of messages and invokes function instances concurrently to process them. By default, the batch size is 16. When the number being processed gets down to 8, the runtime gets another batch and starts processing those messages. So the maximum number of concurrent messages being processed per function on one virtual machine (VM) is 24.
Box 4: Yes
References:
https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-queue
質問 # 113
ある会社が、Azure AppServiceモバイルアプリをバックエンドとして使用するフィールドサービス従業員向けのモバイルアプリを開発しています。
会社のネットワーク接続は1日を通して異なります。このソリューションは、オフラインでの使用をサポートし、アプリがオンラインアプリの場合にバックグラウンドで変更を同期する必要があります。
ソリューションを実装する必要があります。
コードセグメントをどのように完了する必要がありますか?回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:
解説:
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/
質問 # 114
Order.jsonからすべての注文ラインアイテムを取得し、都市のアルファベット順にデータを並べ替える必要があります。
コードをどのように完成させる必要がありますか?回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:
解説:
Graphical user interface Description automatically generated
Box 1: orders o
Scenario: Order data is stored as nonrelational JSON and must be queried using SQL.
Box 2:li
Box 3: o.line_items
Box 4: o.city
The city field is in Order, not in the 2s.
質問 # 115
CosmosDBを使用するAzureソリューションを開発します。
現在のCosmosDBコンテナは複製する必要があり、クエリ用に最適化されたパーティションキーを使用する必要があります。
変更フィードプロセッサソリューションを実装する必要があります。
どのチェンジフィードプロセッサコンポーネントを使用する必要がありますか?答えるには、適切なコンポーネントを正しい要件にドラッグします。各コンポーネントは、1回使用することも、複数回使用することも、まったく使用しないこともできます。コンテンツを表示するには、分割バーをペイン間でドラッグするか、スクロールする必要がある場合があります。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:
解説:
Explanation
Graphical user interface, application Description automatically generated
Box 1: The monitored container
The monitored container has the data from which the change feed is generated. Any inserts and updates to the monitored container are reflected in the change feed of the container.
Box 2: The lease container
The lease container acts as a state storage and coordinates processing the change feed across multiple workers.
The lease container can be stored in the same account as the monitored container or in a separate account.
Box 3: The host: A host is an application instance that uses the change feed processor to listen for changes.
Multiple instances with the same lease configuration can run in parallel, but each instance should have a different instance name.
Box 4: The delegate
The delegate is the code that defines what you, the developer, want to do with each batch of changes that the change feed processor reads.
Reference:
https://docs.microsoft.com/en-us/azure/cosmos-db/change-feed-processor
質問 # 116
アプリケーションを開発します。 Azureの一連の仮想マシン(VM)でアプリケーションをホストすることを計画しています。
アプリケーションからログを収集するようにAzureMonitorを構成する必要があります。
どの4つのアクションを順番に実行する必要がありますか?回答するには、適切なアクションをアクションのリストから回答領域に移動し、正しい順序で配置します。
正解:
解説:
Explanation
Graphical user interface, text, application Description automatically generated
Step 1: Create a Log Analytics workspace.
First create the workspace.
Step 2: Add a VMInsights solution.
Before a Log Analytics workspace can be used with VM insights, it must have the VMInsights solution installed.
Step 3: Install agents on the VM and VM scale set to be monitored.
Prior to onboarding agents, you must create and configure a workspace. Install or update the Application Insights Agent as an extension for Azure virtual machines and VM scalet sets.
Step 4: Create an Application Insights resource
Sign in to the Azure portal, and create an Application Insights resource.
Graphical user interface, application, Word Description automatically generated
Once a workspace-based Application Insights resource has been created, configuring monitoring is relatively straightforward.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-configure-workspace
https://docs.microsoft.com/en-us/azure/azure-monitor/app/create-workspace-resource
質問 # 117
モバイル配信サービスのソフトウェアソリューションを開発します。あなたは、ユーザーが自分の地域のレストランに注文するために使用できるモバイルアプリを開発しています。アプリは次のワークフローを使用します。
*ドライバーが注文を配達するレストランを選択します。
*注文はエリア内の利用可能なすべてのドライバーに送信されます。
*選択したレストランの注文のみがドライバーに表示されます。
*注文を最初に受け入れたドライバーは、利用可能な注文のリストからその注文を削除します。
Azure ServiceBusソリューションを実装する必要があります。
どの3つのアクションを順番に実行する必要がありますか?回答するには、適切なアクションをアクションのリストから回答領域に移動し、正しい順序で配置します。
正解:
解説:
Reference:
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messaging-overview
質問 # 118
ShippingLogicアプリを保護する必要があります。
何を使うべきですか?
- A. Azure ADB2B統合
- B. Azure App Service環境(ASE)
- C. VNetサービスエンドポイント
- D. 統合サービス環境(ISE)
正解:D
解説:
Explanation
Scenario: The Shipping Logic App requires secure resources to the corporate VNet and use dedicated storage resources with a fixed costing model.
You can access to Azure Virtual Network resources from Azure Logic Apps by using integration service environments (ISEs).
Sometimes, your logic apps and integration accounts need access to secured resources, such as virtual machines (VMs) and other systems or services, that are inside an Azure virtual network. To set up this access, you can create an integration service environment (ISE) where you can run your logic apps and create your integration accounts.
References:
https://docs.microsoft.com/en-us/azure/logic-apps/connect-virtual-network-vnet-isolated-environment-overview
質問 # 119
注:この質問は、同じシナリオを提示する一連の質問の一部です。シリーズの各質問には、指定された目標を達成する可能性のある独自のソリューションが含まれています。一部の質問セットには複数の正しい解決策がある場合がありますが、他の質問セットには正しい解決策がない場合があります。
このセクションの質問に回答した後は、その質問に戻ることはできません。その結果、これらの質問はレビュー画面に表示されません。
モバイルアプリケーションからメッセージを受信したときにキューデータを処理するAzureサービスアプリケーションを開発しています。メッセージがサービスに一貫して送信されない場合があります。
次の要件があります。
-キューのサイズは80ギガバイト(GB)を超えてはなりません。
-メッセージの先入れ先出し(FIFO)順序を使用します。
-Azureのコストを最小限に抑えます。
メッセージングソリューションを実装する必要があります。
解決策:.Net APIを使用して、モバイルアプリケーションからAzure Service Busキューにメッセージを追加します。 Azure Service BusキューからトリガーされるAzure Windows VMを作成します。
ソリューションは目標を達成していますか?
- A. いいえ
- B. はい
正解:A
解説:
Explanation
Don't use a VM, instead create an Azure Function App that uses an Azure Service Bus Queue trigger.
Reference:
https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-storage-queue-triggered-function
質問 # 120
次のユースケースをサポートする病院向けのソリューションを開発しています。
*異なる場所にいる複数のユーザーが患者の記録を更新した場合でも、最新の患者ステータスの詳細を取得する必要があります。
*取得される患者の健康モニタリングデータは、現在のバージョンまたは以前のバージョンである必要があります。
*患者が退院し、すべての料金が評価された後、患者の請求記録には最終料金が含まれます。
Cosmos DB NoSQLデータベースをプロビジョニングし、データベースアカウントのデフォルトの整合性レベルを強力に設定します。インデックス作成モードの値を一貫性のある値に設定します。
レイテンシとソリューションの可用性への影響を最小限に抑える必要があります。シナリオに必要な一貫性の保証を満たすには、クエリレベルでデフォルトの一貫性レベルを上書きする必要があります。
どの整合性レベルを実装する必要がありますか?回答するには、適切な整合性レベルを正しい要件にドラッグします。各整合性レベルは、1回、複数回、またはまったく使用しない場合があります。コンテンツを表示するには、ペイン間で分割バーをドラッグするか、スクロールする必要がある場合があります。
注:それぞれの正しい選択は1ポイントの価値があります。
正解:
解説:
Explanation
Box 1: Strong
Strong: Strong consistency offers a linearizability guarantee. The reads are guaranteed to return the most recent committed version of an item. A client never sees an uncommitted or partial write. Users are always guaranteed to read the latest committed write.
Box 2: Bounded staleness
Bounded staleness: The reads are guaranteed to honor the consistent-prefix guarantee. The reads might lag behind writes by at most "K" versions (that is "updates") of an item or by "t" time interval. When you choose bounded staleness, the "staleness" can be configured in two ways:
The number of versions (K) of the item
The time interval (t) by which the reads might lag behind the writes
Box 3: Eventual
Eventual: There's no ordering guarantee for reads. In the absence of any further writes, the replicas eventually converge.
質問 # 121
ContentReviewロールを実装するには、AM04行にマークアップを追加する必要があります。
マークアップをどのように完了する必要がありますか?答えるには、適切なjsonセグメントを正しい場所にドラッグします。各jsonセグメントは、1回使用することも、複数回使用することも、まったく使用しないこともできます。コンテンツを表示するには、分割バーをペイン間でドラッグするか、スクロールする必要がある場合があります。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:
解説:
Reference:
https://docs.microsoft.com/en-us/graph/api/resources/approle
質問 # 122
ASP.NET Core Web APIWebサービスを開発しています。 Webサービスは、すべてのテレメトリと依存関係の追跡にAzure ApplicationInsightsを使用します。 Webサービスは、Microsoft SQLServer以外のデータベースに対してデータの読み取りと書き込みを行います。
サードパーティデータベースへの呼び出しに対して依存関係の追跡が機能することを確認する必要があります。
データベースに保存する必要がある2つの依存関係テレメトリプロパティはどれですか?それぞれの正解は、解決策の一部を示しています。
注:正しい選択はそれぞれ1ポイントの価値があります。
- A. Telemetry.Id
- B. Telemetry.Context.Operation.Id
- C. Tetemetry.Context.Cloud.Rolelnstance
- D. Telemetry.Name
- E. Telemetry.ContextSession.Id
正解:A、B
解説:
Example:
public async Task Enqueue(string payload)
{
// StartOperation is a helper method that initializes the telemetry item
// and allows correlation of this operation with its parent and children.
var operation = telemetryClient.StartOperation<DependencyTelemetry>("enqueue " + queueName); operation.Telemetry.Type = "Azure Service Bus"; operation.Telemetry.Data = "Enqueue " + queueName; var message = new BrokeredMessage(payload);
// Service Bus queue allows the property bag to pass along with the message.
// We will use them to pass our correlation identifiers (and other context)
// to the consumer.
message.Properties.Add("ParentId", operation.Telemetry.Id);
message.Properties.Add("RootId", operation.Telemetry.Context.Operation.Id); Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/custom-operations-tracking
https://docs.microsoft.com/en-us/azure/azure-monitor/app/custom-operations-tracking
質問 # 123
いくつかの既存のロジックアプリを管理します。
定義を変更し、新しいロジックを追加し、これらのアプリを定期的に最適化する必要があります。
何を使うべきですか?答えるには、適切なツールを正しい機能にドラッグします。各ツールは、1回使用することも、複数回使用することも、まったく使用しないこともできます。コンテンツを表示するには、分割バーをペイン間でドラッグするか、スクロールする必要がある場合があります。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:
解説:
Explanation
Box 1: Enterprise Integration Pack
After you create an integration account that has partners and agreements, you are ready to create a business to business (B2B) workflow for your logic app with the Enterprise Integration Pack.
Box 2: Code View Editor
To work with logic app definitions in JSON, open the Code View editor when working in the Azure portal or in Visual Studio, or copy the definition into any editor that you want.
Box 3: Logical Apps Designer
You can build your logic apps visually with the Logic Apps Designer, which is available in the Azure portal through your browser and in Visual Studio.
References:
https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-enterprise-integration-b2b
https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-author-definitions
https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-overview
質問 # 124
AzureLogicアプリのエラーメッセージを修正する必要があります。
どの構成値を使用する必要がありますか?回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:
解説:
Explanation
Scenario: You test the Logic app in a development environment. The following error message displays:
'400 Bad Request'
Troubleshooting of the error shows an HttpTrigger action to call the RequestUserApproval function.
Note: If the inbound call's request body doesn't match your schema, the trigger returns an HTTP 400 Bad Request error.
Box 1: function
If you have an Azure function where you want to use the system-assigned identity, first enable authentication for Azure functions.
Box 2: system-assigned
Your logic app or individual connections can use either the system-assigned identity or a single user-assigned identity, which you can share across a group of logic apps, but not both.
Reference:
https://docs.microsoft.com/en-us/azure/logic-apps/create-managed-service-identity
質問 # 125
......
Microsoft Azure無料認定試験材料はFast2testが提供された375問題:https://jp.fast2test.com/AZ-204J-premium-file.html