Microsoft AZ-204日本語テストエンジン問題集トレーニングには325問あります
AZ-204日本語問題一発合格させる問題集はMicrosoft Azure認定
質問 154
チームがAzure Searchサービスでインデックスを作成しました。インデックスにデータをアップロードする必要があります。 .Netプログラムから実行する次の手順を提案します。
-検索インデックスに接続するためのSearchlndexClientオブジェクトを作成します
-追加する必要があるドキュメントを含むIndexBatchを作成します。
-SearchlndexClientのDocuments.Indexメソッドを呼び出し、IndexBatchを渡します。
ステップのリストは要件を満たしていますか?
- A. はい
- B. いいえ
正解: A
解説:
https://docs.microsoft.com/en-us/azure/search/search-import-data-dotnet
質問 155
AzureFrontDoorを使用するASP.NETCoreWebサイトを開発しています。このWebサイトは、研究者向けのカスタム気象データセットを構築するために使用されます。データセットは、ユーザーによってコンマ区切り値(CSV)ファイルとしてダウンロードされます。データは10時間ごとに更新されます。
特定のファイルは、応答ヘッダー値に基づいてFrontDoorキャッシュからパージする必要があります。
フロントドアキャッシュから個々のアセットを削除する必要があります。
どのタイプのキャッシュパージを使用する必要がありますか?
- A. ワイルドカード
- B. シングルパス
- C. ルートドメイン
正解: B
解説:
Explanation
These formats are supported in the lists of paths to purge:
Single path purge: Purge individual assets by specifying the full path of the asset (without the protocol and domain), with the file extension, for example, /pictures/strasbourg.png; Wildcard purge: Asterisk (*) may be used as a wildcard. Purge all folders, subfolders, and files under an endpoint with /* in the path or purge all subfolders and files under a specific folder by specifying the folder followed by /*, for example, /pictures/*.
Root domain purge: Purge the root of the endpoint with "/" in the path.
Reference:
https://docs.microsoft.com/en-us/azure/frontdoor/front-door-caching
質問 156
Order.jsonからすべての注文ラインアイテムを取得し、都市のアルファベット順にデータを並べ替える必要があります。
コードをどのように完成させる必要がありますか?回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:
解説:
質問 157
ホットスポットの質問
Azureストレージキューを使用するアプリケーションを開発しています。
次のコードがあります。
次の各ステートメントについて、ステートメントがtrueの場合は[はい]を選択します。それ以外の場合は、[いいえ]を選択します。
注:それぞれの正しい選択は1ポイントの価値があります。
正解:
解説:
Explanation:
Box 1: No
The QueueDescription.LockDuration property gets or sets the duration of a peek lock; that is, the amount of time that the message is locked for other receivers.
The maximum value for LockDuration is 5 minutes; the default value is 1 minute.
Box 2: Yes
You can peek at the message in the front of a queue without removing it from the queue by calling the PeekMessage method.
Box 3: Yes
Reference:
https://docs.microsoft.com/en-us/azure/storage/queues/storage-dotnet-how-to-use-queues
https://docs.microsoft.com/en-
us/dotnet/api/microsoft.servicebus.messaging.queuedescription.lockduration
質問 158
ビデオオンデマンドストリーミングメディアを配信するために、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ポイントの価値があります。
正解:
解説:
Explanation
Box 1: Override
Override: Ignore origin-provided cache duration; use the provided cache duration instead. This will not override cache-control: no-cache.
Set if missing: Honor origin-provided cache-directive headers, if they exist; otherwise, use the provided cache duration.
Incorrect:
Bypass cache: Do not cache and ignore origin-provided cache-directive headers.
Box 2: 1 hour
All media content must expire from the cache after one hour.
Box 3: Cache every unique URL
Cache every unique URL: In this mode, each request with a unique URL, including the query string, is treated as a unique asset with its own cache. For example, the response from the origin server for a request for example.ashx?q=test1 is cached at the POP node and returned for subsequent caches with the same query string. A request for example.ashx?q=test2 is cached as a separate asset with its own time-to-live setting.
Reference:
https://docs.microsoft.com/en-us/azure/cdn/cdn-query-string
質問 159
モバイルアプリとのユーザーインタラクションの有意義な分析を提供するには、Azure Mobile AppsSDKを利用してApplicationInsightsインストルメンテーション機能を実装する必要があります。
ApplicationInsightsのUsageAnalytics機能を実装するために必要なデータをキャプチャする必要があります。キャプチャする必要がある3つのデータ値はどれですか?それぞれの正解は解決策の一部を示しています注:それぞれの正しい選択は1ポイントの価値があります。
- A. セッションID
- B. 例外
- C. イベント
- D. トレース
- E. ユーザーID
正解: C,D,E
解説:
Explanation
Application Insights is a service for monitoring the performance and usage of your apps. This module allows you to send telemetry of various kinds (events, traces, etc.) to the Application Insights service where your data can be visualized in the Azure Portal.
Application Insights manages the ID of a session for you.
References:
https://github.com/microsoft/ApplicationInsights-Android
質問 160
AzureWebJobsを開発しています。
シナリオごとにWebJobタイプを推奨する必要があります。
どのWebJobタイプをお勧めしますか?答えるには、適切なWebJobタイプを正しいシナリオにドラッグします。各WebJobタイプは、1回使用することも、複数回使用することも、まったく使用しないこともできます。コンテンツを表示するには、分割バーをペイン間でドラッグするか、スクロールする必要がある場合があります。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:
解説:
References:
https://docs.microsoft.com/en-us/azure/app-service/web-sites-create-web-jobs
質問 161
要件に応じてContentUploadServiceを監視する必要があります。
どのコマンドを使用する必要がありますか?
- A. az monitor metrics alert create -n alert -g ... - -scopes ... - -condition "CPU Usage > 8"
- B. az monitor metrics alert create -n alert -g ... - -scopes ... - -condition "avg Percentage CPU > 8"
- C. az monitor metrics alert create -n alert -g ... - -scopes ... - -condition "avg Percentage CPU > 800"
- D. az monitor metrics alert create -n alert -g ... - -scopes ... - -condition "CPU Usage > 800"
正解: C
解説:
Explanation
Scenario: An alert must be raised if the ContentUploadService uses more than 80 percent of available CPU-cores Reference:
https://docs.microsoft.com/sv-se/cli/azure/monitor/metrics/alert
Topic 1, Contoso, Ltd
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 Overview You are a developer for Contoso, Ltd. The company has a social networking website that is developed as a Single Page Application (SPA). The main web application for the social networking website loads user uploaded content from blob storage.
You are developing a solution to monitor uploaded data for inappropriate content. The following process occurs when users upload content by using the SPA:
* Messages are sent to ContentUploadService.
* Content is processed by ContentAnalysisService.
* After processing is complete, the content is posted to the social network or a rejection message is posted in its place.
The ContentAnalysisService is deployed with Azure Container Instances from a private Azure Container Registry named contosoimages.
The solution will use eight CPU cores.
Azure Active Directory
Contoso, Ltd. uses Azure Active Directory (Azure AD) for both internal and guest accounts.
Requirements
ContentAnalysisService
The company's data science group built ContentAnalysisService which accepts user generated content as a string and returns a probable value for inappropriate content. Any values over a specific threshold must be reviewed by an employee of Contoso, Ltd.
You must create an Azure Function named CheckUserContent to perform the content checks.
Costs
You must minimize costs for all Azure services.
Manual review
To review content, the user must authenticate to the website portion of the ContentAnalysisService using their Azure AD credentials. The website is built using React and all pages and API endpoints require authentication.
In order to review content a user must be part of a ContentReviewer role. All completed reviews must include the reviewer's email address for auditing purposes.
High availability
All services must run in multiple regions. The failure of any service in a region must not impact overall application availability.
Monitoring
An alert must be raised if the ContentUploadService uses more than 80 percent of available CPU cores.
Security
You have the following security requirements:
* Any web service accessible over the Internet must be protected from cross site scripting attacks.
* All websites and services must use SSL from a valid root certificate authority.
* Azure Storage access keys must only be stored in memory and must be available only to the service.
* All Internal services must only be accessible from internal Virtual Networks (VNets).
* All parts of the system must support inbound and outbound traffic restrictions.
* All service calls must be authenticated by using Azure AD.
User agreements
When a user submits content, they must agree to a user agreement. The agreement allows employees of Contoso, Ltd. to review content, store cookies on user devices, and track user's IP addresses.
Information regarding agreements is used by multiple divisions within Contoso, Ltd.
User responses must not be lost and must be available to all parties regardless of individual service uptime.
The volume of agreements is expected to be in the millions per hour.
Validation testing
When a new version of the ContentAnalysisService is available the previous seven days of content must be processed with the new version to verify that the new version does not significantly deviate from the old version.
Issues
Users of the ContentUploadService report that they occasionally see HTTP 502 responses on specific pages.
Code
ContentUploadService

質問 162
Contoso、Ltd。は、Azure API Management(APIM)を使用してお客様にAPIを提供しています。 APIは、JWTトークンを使用してユーザーを承認します。
APIMゲートウェイの応答キャッシュを実装する必要があります。キャッシュメカニズムは、特定の場所のデータにアクセスするクライアントのユーザーIDを検出し、そのユーザーIDの応答をキャッシュする必要があります。
次のポリシーをポリシーファイルに追加する必要があります。
*検出されたユーザーIDを保存するためのセット変数ポリシー
*キャッシュルックアップ値ポリシー
*キャッシュストア値ポリシー
*応答本文をユーザープロファイル情報で更新するための検索と置換のポリシーどのポリシーセクションにポリシーを追加する必要がありますか?回答するには、適切なセクションを正しいポリシーにドラッグします。各セクションは、1回使用することも、複数回使用することも、まったく使用しないこともできます。コンテンツを表示するには、ペイン間で分割バーをドラッグするか、スクロールする必要がある場合があります注:正しい選択はそれぞれ1ポイントの価値があります
正解:
解説:
Explanation
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
質問 163
Azure App ServiceでAzure Webアプリ関連のサービスを作成する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
質問 164
関数にはいくつのトリガーが必要ですか?
- A. 0
- B. 1つ
- C. ゼロ
正解: B
質問 165
AzureWebJobsを開発しています。
シナリオごとにWebJobタイプを推奨する必要があります。
どのWebJobタイプをお勧めしますか?答えるには、適切なWebJobタイプを正しいシナリオにドラッグします。各WebJobタイプは、1回使用することも、複数回使用することも、まったく使用しないこともできます。コンテンツを表示するには、分割バーをペイン間でドラッグするか、スクロールする必要がある場合があります。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:
解説:
Explanation
Box 1: Continuous
Continuous runs on all instances that the web app runs on. You can optionally restrict the WebJob to a single instance.
Box 2: Triggered
Triggered runs on a single instance that Azure selects for load balancing.
Box 3: Continuous
Continuous supports remote debugging.
Note:
The following table describes the differences between continuous and triggered WebJobs.
References:
https://docs.microsoft.com/en-us/azure/app-service/web-sites-create-web-jobs
質問 166
テストエラーを解決するには、APIを更新する必要があります。
Azure CLIコマンドをどのように完了する必要がありますか?回答するには、回答領域で適切なオプションを選択します。
注:それぞれの正しい選択は1ポイントの価値があります。
正解:
解説:
Explanation
Enable Cross-Origin Resource Sharing (CORS) on your Azure App Service Web App.
Enter the full URL of the site you want to allow to access your WEB API or * to allow all domains.
Box 1: cors
Box 2: add
Box 3: allowed-origins
Box
4: http://testwideworldimporters.com/
References:
http://donovanbrown.com/post/How-to-clear-No-Access-Control-Allow-Origin-header-error-wit h-Azure-App-Service
質問 167
外部の関係者がPersonテーブルのSSN列のデータにアクセスできないようにする必要があります。
それぞれの保護方法は要件を満たしていますか?答えるには、適切な応答を正しい保護方法にドラッグします。各応答は、1回使用することも、複数回使用することも、まったく使用しないこともできます。コンテンツを表示するには、分割バーをペイン間でドラッグするか、スクロールする必要がある場合があります。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:
解説:
Explanation:
Box 1: Yes
You can configure Always Encrypted for individual database columns containing your sensitive data. When setting up encryption for a column, you specify the information about the encryption algorithm and cryptographic keys used to protect the data in the column.
Box 2: No
Box 3: Yes
In SQL Database, the VIEW permissions are not granted by default to the public fixed database role. This enables certain existing, legacy tools (using older versions of DacFx) to work properly. Consequently, to work with encrypted columns (even if not decrypting them) a database administrator must explicitly grant the two VIEW permissions.
Box 4: No
All cryptographic keys are stored in an Azure Key Vault.
References:
https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-database-engine
質問 168
Webサービスは、eコマースパートナーに顧客の概要情報を提供します。 Webサービスは、HTTPトリガーを備えたAzureFunctionアプリとして実装されます。 APIへのアクセスは、Azure APIManagementインスタンスによって提供されます。 API管理インスタンスは、消費計画モードで構成されます。すべてのAPI呼び出しは、OAuthを使用して認証されます。
API呼び出しはキャッシュする必要があります。顧客は、他の顧客のキャッシュデータを表示できないようにする必要があります。
キャッシュ用のAPI管理ポリシーを構成する必要があります。
ポリシーステートメントをどのように完成させる必要がありますか?
正解:
解説:
Explanation
Box 1: internal
caching-type
Choose between the following values of the attribute:
* internal to use the built-in API Management cache,
* external to use the external cache as Azure Cache for Redis
* prefer-external to use external cache if configured or internal cache otherwise.
Box 2: private
downstream-caching-type
This attribute must be set to one of the following values.
* none - downstream caching is not allowed.
* private - downstream private caching is allowed.
* public - private and shared downstream caching is allowed.
Box 3: Authorization
<vary-by-header>Authorization</vary-by-header>
<!-- should be present when allow-private-response-caching is "true"--> Note: Start caching responses per value of specified header, such as Accept, Accept-Charset, Accept-Encoding, Accept-Language, Authorization, Expect, From, Host, If-Match Reference:
https://docs.microsoft.com/en-us/azure/api-management/api-management-caching-policies
質問 169
AzureSearchインデクサーの構成を検証しています。
このサービスは、[データのインポート]オプションを使用するインデクサーで構成されています。インデックスは、インデックス構成の展示に示されているオプションを使用して構成されます。 ([インデックス構成]タブをクリックします。)
インポート操作のデータソースとしてAzureテーブルを使用します。このテーブルには、ストレージデータ展示のフィールドと一致するアイテム在庫データを含む3つのレコードが含まれています。これらのレコードは、インデックスの作成時にインポートされました。 ([ストレージデータ]タブをクリックします。)ユーザーがフィルターなしで検索すると、3つのレコードすべてが表示されます。

ユーザーが説明でアイテムを検索すると、検索エクスプローラーはレコードを返しません。検索エクスプローラーの展示には、テストのクエリと結果が表示されます。テストでは、ユーザーは、bagという単語を含む説明を持つテーブル内のすべてのアイテムを検索しようとしています。 ([検索エクスプローラー]タブをクリックします。)問題を解決する必要があります。
次の各ステートメントについて、ステートメントがtrueの場合は、[はい]を選択します。それ以外の場合は、[いいえ]を選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:
解説:
Reference:
https://docs.microsoft.com/en-us/azure/search/search-what-is-an-index
https://docs.microsoft.com/en-us/azure/search/search-indexer-overview
質問 170
企業のWebサイトファイルのセキュリティとコンプライアンスを構成する必要があります。
どのAzureBlobストレージ設定を使用する必要がありますか?回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:
解説:
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-introduction
https://docs.microsoft.com/en-us/azure/storage/files/storage-files-monitoring
質問 171
合併後のカメラ会社では、レンズの品質管理手順にどのテクノロジーを使用しますか?
- A. Azure App Service WebJobs
- B. Microsoft Power Automate
- C. Azure関数
- D. Azure Logic Apps
正解: D
質問 172
Azure StorageQueuesを使用するアプリケーションを開発しています。
次のコードがあります。
次の各ステートメントについて、ステートメントがtrueの場合は、[はい]を選択します。それ以外の場合は、[いいえ]を選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:
解説:
Explanation
Box 1: No
The QueueDescription.LockDuration property gets or sets the duration of a peek lock; that is, the amount of time that the message is locked for other receivers. The maximum value for LockDuration is 5 minutes; the default value is 1 minute.
Box 2: Yes
You can peek at the message in the front of a queue without removing it from the queue by calling the PeekMessage method.
Box 3: Yes
Reference:
https://docs.microsoft.com/en-us/azure/storage/queues/storage-dotnet-how-to-use-queues
https://docs.microsoft.com/en-us/dotnet/api/microsoft.servicebus.messaging.queuedescription.lockduration
質問 173
ホットスポットの質問
Webサービス会社向けのソフトウェアソリューションを開発します。次のコードがあります。 (行番号は参照用です。)
会社のWebサイトに即時対応のカスタマーサポートソリューションを実装する必要があります。
次の各ステートメントについて、ステートメントがtrueの場合は[はい]を選択します。それ以外の場合は、[いいえ]を選択します。
注:それぞれの正しい選択は1ポイントの価値があります。
正解:
解説:
質問 174
Cassandraを使用してキーと値のデータを格納するJavaアプリケーションを開発しています。アプリケーションで新しいAzureCosmosDBリソースとCassandraAPIを使用することを計画しています。 Cosmos DBCreatorsという名前のAzureActive Directory(Azure AD)グループを作成して、Azure Cosmosアカウント、データベース、およびコンテナーのプロビジョニングを有効にします。
Azure ADグループは、データへのアクセスに必要なキーにアクセスできないようにする必要があります。
AzureADグループへのアクセスを制限する必要があります。
どの役割ベースのアクセス制御を使用する必要がありますか?
- A. CosmosDBオペレーター
- B. CosmosDBアカウントリーダー
- C. コスモスバックアップオペレーター
- D. DocumentDBアカウントコントリビューター
正解: A
解説:
Explanation
Azure Cosmos DB now provides a new RBAC role, Cosmos DB Operator. This new role lets you provision Azure Cosmos accounts, databases, and containers, but can't access the keys that are required to access the data. This role is intended for use in scenarios where the ability to grant access to Azure Active Directory service principals to manage deployment operations for Cosmos DB is needed, including the account, database, and containers.
Reference:
https://azure.microsoft.com/en-us/updates/azure-cosmos-db-operator-role-for-role-based-access-control-rbac-is-n
質問 175
......
AZ-204日本語練習テストPDF試験材料:https://www.passtest.jp/Microsoft/AZ-204J-shiken.html