AZ-204日本語試験無料問題集「Microsoft Developing Solutions for Microsoft Azure (AZ-204日本語版) 認定」

ユーザー以外のアクションにはテレメトリを実装する必要があります。
Filterクラスをどのように完了する必要がありますか?答えるには、適切なコードセグメントを正しい場所にドラッグします。各コードセグメントは、1回使用することも、複数回使用することも、まったく使用しないこともできます。コンテンツを表示するには、分割バーをペイン間でドラッグするか、スクロールする必要がある場合があります。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:

Explanation:

Scenario: Exclude non-user actions from Application Insights telemetry.
Box 1: ITelemetryProcessor
To create a filter, implement ITelemetryProcessor. This technique gives you more direct control over what is included or excluded from the telemetry stream.
Box 2: ITelemetryProcessor
Box 3: ITelemetryProcessor
Box 4: RequestTelemetry
Box 5: /health
To filter out an item, just terminate the chain.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/api-filtering-sampling
Topic 5, Litware 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 Litware Inc., a SaaS company that provides a solution for managing employee expenses. The solution consists of an ASP.NET Core Web API project that is deployed as an Azure Web App.
Overall architecture
Employees upload receipts for the system to process. When processing is complete, the employee receives a summary report email that details the processing results. Employees then use a web application to manage their receipts and perform any additional tasks needed for reimbursement.
Receipt processing
Employees may upload receipts in two ways:
* Uploading using an Azure Files mounted folder
* Uploading using the web application
Data Storage
Receipt and employee information is stored in an Azure SQL database.
Documentation
Employees are provided with a getting started document when they first use the solution. The documentation includes details on supported operating systems for Azure File upload, and instructions on how to configure the mounted folder.
Solution details
Users table

Web Application
You enable MSI for the Web App and configure the Web App to use the security principal name WebAppIdentity.
Processing
Processing is performed by an Azure Function that uses version 2 of the Azure Function runtime. Once processing is completed, results are stored in Azure Blob Storage and an Azure SQL database. Then, an email summary is sent to the user with a link to the processing report. The link to the report must remain valid if the email is forwarded to another user.
Logging
Azure Application Insights is used for telemetry and logging in both the processor and the web application.
The processor also has TraceWriter logging enabled. Application Insights must always contain all log messages.
Requirements
Receipt processing
Concurrent processing of a receipt must be prevented.
Disaster recovery
Regional outage must not impact application availability. All DR operations must not be dependent on application running and must ensure that data in the DR region is up to date.
Security
* User's SecurityPin must be stored in such a way that access to the database does not allow the viewing of SecurityPins. The web application is the only system that should have access to SecurityPins.
* All certificates and secrets used to secure data must be stored in Azure Key Vault.
* You must adhere to the principle of least privilege and provide privileges which are essential to perform the intended function.
* All access to Azure Storage and Azure SQL database must use the application's Managed Service Identity (MSI).
* Receipt data must always be encrypted at rest.
* All data must be protected in transit.
* User's expense account number must be visible only to logged in users. All other views of the expense account number should include only the last segment, with the remaining parts obscured.
* In the case of a security breach, access to all summary reports must be revoked without impacting other parts of the system.
Issues
Upload format issue
Employees occasionally report an issue with uploading a receipt using the web application. They report that when they upload a receipt using the Azure File Share, the receipt does not appear in their profile. When this occurs, they delete the file in the file share and use the web application, which returns a 500 Internal Server error page.
Capacity issue
During busy periods, employees report long delays between the time they upload the receipt and when it appears in the web application.
Log capacity issue
Developers report that the number of log messages in the trace output for the processor is too high, resulting in lost log messages.
Application code
Processing.cs

Database.cs

ReceiptUploader.cs

ConfigureSSE.ps1
注:この質問は、同じシナリオを提示する一連の質問の一部です。シリーズの各質問には、固有のソリューションが含まれています。ソリューションが指定された目標を満たしているかどうかを判断します。
複数のASP.Net Webアプリケーションを開発してAzure App Serviceにデプロイします。セッション状態情報とHTML出力を保存する予定です。次の要件を持つストレージメカニズムを使用する必要があります。
*すべてのASP.NET Webアプリケーション間でセッション状態を共有する
*複数のリーダーと単一のライターの同じセッション状態データへの制御された同時アクセスをサポート
*同時リクエストの完全なHTTP応答を保存する
情報を保存する必要があります。
提案されたソリューション:Azure Cache for Redisをデプロイして構成します。 Webアプリケーションを更新します。

ソリューションは目標を達成していますか?

解説: (GoShiken メンバーにのみ表示されます)
注:この質問は、同じシナリオを提示する一連の質問の一部です。シリーズの各質問には、述べられた目標を達成する可能性のある独自の解決策が含まれています。一部の質問セットには複数の正しい解決策がある場合がありますが、他の質問セットには正しい解決策がない場合があります。
このセクションの質問に回答した後は、その質問に戻ることはできません。その結果、これらの質問はレビュー画面に表示されません。
AzureWebアプリとして実行されるWebサイトを開発しています。ユーザーは、Azure Active Directory(Azure AD)資格情報を使用して認証します。
Webサイトに対して、管理者、通常、および読者のいずれかのアクセス許可レベルをユーザーに割り当てることを計画しています。ユーザーのAzureADグループメンバーシップを使用して、アクセス許可レベルを決定する必要があります。
承認を設定する必要があります。
解決:
* Webサイトで統合Windows認証を構成して使用します。
* Webサイトで、Microsoft Graph APIにクエリを実行して、ユーザーがメンバーになっているグループをロードします。
ソリューションは目標を達成していますか?

解説: (GoShiken メンバーにのみ表示されます)
あなたはContoso、Ltdで働いています。
次のXMLマークアップを使用して、APIポリシーオブジェクトを定義します。

次の各ステートメントについて、ステートメントがtrueの場合は、[はい]を選択します。それ以外の場合は、[いいえ]を選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:

Explanation:

Box 1: Yes
Use the set-backend-service policy to redirect an incoming request to a different backend than the one specified in the API settings for that operation. Syntax: <set-backend-service base-url="base URL of the backend service" /> Box 2: No The condition is on 512k, not on 256k.
Box 3: No
The set-backend-service policy changes the backend service base URL of the incoming request to the one specified in the policy.
Reference:
https://docs.microsoft.com/en-us/azure/api-management/api-management-transformation-policies
請求、在庫、出荷の更新など、何百ものイベントの種類を含めるために、いくつかの Azure Grid を開発します。
Azure Functions アプリが処理するには、イベントを 1 つのエンドポイントに送信する必要があります。イベントは、処理する前にイベント タイプ別にフィルター処理する必要があります。イベント データを受信するには、テナントを分割するための承認と認証の制御が必要です。
Azure Event Grid を構成する必要があります。
どの構成を使用する必要がありますか? 回答するには、回答エリアで適切な値を選択します。
注: それぞれの正しい選択は 1 ポイントの価値があります。
正解:

Explanation:
ソリューションがポリシーサービスのスケーリング要件を満たしていることを確認する必要があります。
どのAzureApplication Insightsデータモデルを使用する必要がありますか?

解説: (GoShiken メンバーにのみ表示されます)
CosmosDBをデータストアとして使用するAzureWebアプリがあります。次のPowerShellスクリプトを実行して、CosmosDBコンテナーを作成します。
$ resourceGroupName = "testResourceGroup"
$ accountName = "testCosmosAccount"
$ databaseName = "testDatabase"
$ containerName = "testContainer"
$ partitionKeyPath = "/ EmployeeId"
$ autoscaleMaxThroughput = 5000
New-AzCosmosDBSqlContainer
-ResourceGroupName $resourceGroupName
-AccountName $accountName
-DatabaseName $databaseName
-Name $containerName
-PartitionKeyKind Hash
-PartitionKeyPath $ partitionKeyPath
-AutoscaleMaxThroughput $ autoscaleMaxThroughput
コンテナを対象とする次のクエリを作成します。
SELECT * FROM c WHERE c.EmployeeId > '12345'
SELECT * FROM c WHERE c.UserID = '12345'
次の各ステートメントについて、ステートメントがtrueの場合は、[はい]を選択します。それ以外の場合は、[いいえ]を選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:

Explanation:

Box 1: No
You set the highest, or maximum RU/s Tmax you don't want the system to exceed. The system automatically scales the throughput T such that 0.1* Tmax <= T <= Tmax.
In this example we have autoscaleMaxThroughput = 5000, so the minimum throughput for the container is
500 R/Us.
Box 2: No
First query: SELECT * FROM c WHERE c.EmployeeId > '12345'
Here's a query that has a range filter on the partition key and won't be scoped to a single physical partition. In order to be an in-partition query, the query must have an equality filter that includes the partition key:
SELECT * FROM c WHERE c.DeviceId > 'XMS-0001'
Box 3: Yes
Example of In-partition query:
Consider the below query with an equality filter on DeviceId. If we run this query on a container partitioned on DeviceId, this query will filter to a single physical partition.
SELECT * FROM c WHERE c.DeviceId = 'XMS-0001'
Reference:
https://docs.microsoft.com/en-us/azure/cosmos-db/how-to-choose-offer
https://docs.microsoft.com/en-us/azure/cosmos-db/how-to-query-container
組み込みの認証および承認機能を使用するAzureAPIアプリを実装しています。
すべてのアプリアクションは、現在のユーザーに関する情報に関連付ける必要があります。
現在のユーザーに関する情報を取得する必要があります。
目標を達成するための2つの可能な方法は何ですか?それぞれの正解は完全な解決策を提示します。
注:正しい選択はそれぞれ1ポイントの価値があります。

解説: (GoShiken メンバーにのみ表示されます)
ソリューションは、メッセージを受信して​​、処理できるまで保存する必要があります。名前、価格レベル、サブスクリプション、リソース グループ、および場所を指定して、Azure Service Bus インスタンスを作成します。
構成を完了する必要があります。
どの Azure CLI または PowerShell コマンドを実行する必要がありますか?

AzureStorageキューからリクエストを受信するデータ処理アプリケーションを管理します。
キューへのアクセスを管理する必要があります。次の要件があります。
他のアプリケーションにAzureキューへのアクセスを提供します。
ストレージアカウントキーを再生成せずに、キューへのアクセスを取り消すことができることを確認してください。
ストレージアカウントレベルではなく、キューレベルでアクセスを指定します。
どのタイプの共有アクセス署名(SAS)を使用する必要がありますか?

解説: (GoShiken メンバーにのみ表示されます)
AzureStorageを使用するWebアプリケーションを開発しています。古いデータは、新しいデータよりも使用頻度が低くなります。
アプリケーションのデータストレージを構成する必要があります。次の要件があります。
データのコピーを5年間保持します。
1年以上前のデータの保存に関連するコストを最小限に抑えます。
アプリケーションデータ用のゾーン冗長ストレージを実装します。
あなたは何をするべきか?回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:

Explanation:

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
強一貫性レベルとコンテナーごとに10,000リクエストユニット(RU)を使用するAzureCosmos06インスタンスがあります。<3eo-replicationが有効になっています。
インスタンスには、場所、メニュー項目、開始などのレストラン情報が格納されます。現在、1,000のレストランの場所、500のメニュー項目、および10,000のスタッフの情報を保存しています。ロケーションIDをパーティションキーとして選択します。
コンテナ用にいくつの論理パーティションが作成されますか?

あなたの会社はアプリケーションをAzureに移行しています。 IT部門は、内部開発者がMicrosoftサポートと通信できるようにする必要があります。
IT部門のサービスエージェントは、リソースを表示し、すべてのサブスクリプションに対するサポートチケットのアクセス許可を作成するだけで済みます。デフォルトのロール定義を再利用し、権限を変更して、新しいカスタムロールを作成する必要があります。
カスタムロールを作成する必要があります。
回答するには、回答領域で適切なオプションを選択します。
注:正しい選択はそれぞれ1ポイントの価値があります。
正解:

Explanation:

Box 1: Set-AzureRmRoleDefinition Input-File C:\SupportRole.json
The Set-AzureRmRoleDefinition cmdlet updates an existing custom role in Azure Role-Based Access Control. Provide the updated role definition as an input to the command as a JSON file or a PSRoleDefinition object.
The role definition for the updated custom role MUST contain the Id and all other required properties of the role even if they are not updated: DisplayName, Description, Actions, AssignableScope Box 2: "*/read*."* Microsoft.Support/*" Microsoft.Support/* Create and manage support tickets
"Microsoft.Support" role definition azure
注:この質問は、同じシナリオを提示する一連の質問の一部です。シリーズの各質問には、指定された目標を達成する可能性のある独自のソリューションが含まれています。一部の質問セットには複数の正しい解決策がある場合がありますが、他の質問セットには正しい解決策がない場合があります。
このセクションの質問に回答した後は、その質問に戻ることはできません。その結果、これらの質問はレビュー画面に表示されません。
Azureソリューションを開発します。
Azure Resource Managerの特定のリソースグループへの仮想マシン(VM)アクセスを許可する必要があります。
Azure Resource Managerアクセス​​トークンを取得する必要があります。
解決策:X.509証明書を使用して、Azure Resource ManagerでVMを認証します。
ソリューションは目標を達成していますか?

解説: (GoShiken メンバーにのみ表示されます)