
Microsoft Developing Solutions for Microsoft Azure (AZ-203日本語版) - AZ-203日本語 Exam Questions
QUESTION NO: 1
Shipping Functionアプリを保護する必要があります。
アプリをどのように構成する必要がありますか? 回答するには、回答エリアで適切なオプションを選択します。
注:それぞれの正しい選択には1ポイントの価値があります。

Shipping Functionアプリを保護する必要があります。
アプリをどのように構成する必要がありますか? 回答するには、回答エリアで適切なオプションを選択します。
注:それぞれの正しい選択には1ポイントの価値があります。

Correct Answer:

Explanation

Scenario: Shipping Function app: Implement secure function endpoints by using app-level security and include Azure Active Directory (Azure AD).
Box 1: Function
Box 2: JSON based Token (JWT)
Azure AD uses JSON based tokens (JWTs) that contain claims
Box 3: HTTP
How a web app delegates sign-in to Azure AD and obtains a token
User authentication happens via the browser. The OpenID protocol uses standard HTTP protocol messages.
References:
https://docs.microsoft.com/en-us/azure/active-directory/develop/authentication-scenarios
QUESTION NO: 2
Shipping Webサイトのエラーを解決する必要があります。
Azure Table Storageサービスをどのように構成する必要がありますか? 答えるには、適切なオプションを選択します
回答エリア。
注:それぞれの正しい選択には1ポイントの価値があります。

Shipping Webサイトのエラーを解決する必要があります。
Azure Table Storageサービスをどのように構成する必要がありますか? 答えるには、適切なオプションを選択します
回答エリア。
注:それぞれの正しい選択には1ポイントの価値があります。

Correct Answer:

Explanation

Box 1: AllowedOrigins
A CORS request will fail if Access-Control-Allow-Origin is missing.
Scenario:
The following error message displays while you are testing the website:

Box
2: http://test-shippingapi.wideworldimporters.com
Syntax: Access-Control-Allow-Origin: *
Access-Control-Allow-Origin: <origin>
Access-Control-Allow-Origin: null
<origin> Specifies an origin. Only a single origin can be specified.
Box 3: AllowedOrigins
Box 4: POST
The only allowed methods are GET, HEAD, and POST. In this case POST is used.
"<Corsrule>" "allowedmethods" Failed to load no "Access-control-Origin" header is present References:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin
Topic 2, Coho Winery
Case Study:
Overview
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 infonnation 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, dick 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. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.
LabelMaker app
Coho Winery produces, bottles, and distributes a variety of wines globally. You are a developer implementing highly scalable and resilient applications to support online order processing by using Azure solutions.
Coho Winery has a LabelMaker application that prints labels for wine bottles. The application sends data to several printers. The application consists of five modules that run independently on virtual machines (VMs).
Coho Winery plans to move the application to Azure and continue to support label creation.
External partners send data to the LabelMaker application to include artwork and text for custom label designs.
Requirements
Data
You identify the following requirements for data management and manipulation:
* Order data is stored as nonrelational JSON and must be queried using Structured Query Language (SQL).
* Changes to the Order data must reflect immediately across all partitions. All reads to the Order data must fetch the most recent writes.
Security
You have the following security requirements:
* Users of Coho Winery applications must be able to provide access to documents, resources, and applications to external partners.
* External partners must use their own credentials and authenticate with their organization's identity management solution.
* External partner logins must be audited monthly for application use by a user account administrator to maintain company compliance.
* Storage of e-commerce application settings must be maintained in Azure Key Vault.
* E-commerce application sign-ins must be secured by using Azure App Service authentication and Azure Active Directory (AAD).
* Conditional access policies must be applied at the application level to protect company content.
* The LabelMaker application must be secured by using an AAD account that has full access to all namespaces of the Azure Kubernetes Service (AKS) cluster.
LabelMaker app
Azure Monitor Container Health must be used to monitor the performance of workloads that are deployed to Kubernetes environments and hosted on Azure Kubernetes Service (AKS).
You must use Azure Container Registry to publish images that support the AKS deployment.
Architecture

Issues
Calls to the Printer API App fall periodically due to printer communication timeouts.
Printer communication timeouts occur after 10 seconds. The label printer must only receive up to 5 attempts within one minute The order workflow fails to run upon initial deployment to Azure.
Order.Json
Relevant portions oi the app files are shown below. Line numbers are included for reference only. The JSON file contains a representation of the data for an order that includes a single item.


QUESTION NO: 3
注:この質問は同じシナリオを提示する一連の質問の一部です。叫び声の各質問は、述べられた目標を満たすかもしれないユニークな解決策を含みます。他の人が正しい解決策を持っていないかもしれない間、いくつかの質問セットは複数の正しい解決策を持つかもしれません。
このセクションで質問に答えた後は、それに戻ることはできません。その結果、これらの質問はレビュー画面に表示されません。
Margie's Travelは、海外旅行および予約管理サービスです。同社はレストランの予約へと拡大している。ソリューションに記載されているレストランにAzure Searchを実装するのはあなたです。
Azure Searchでインデックスを作成します。
Azure Search .NET SDKを使用して、レストランのデータをAzure Searchサービスにインポートする必要があります。
溶液:
1.検索インデックスに接続するためのSearchIndexClientオブジェクトを作成します。
2.追加する必要があるドキュメントを含むDataContainerを作成します。
3.DataSourceインスタンスを作成し、そのContainerプロパティをDataContamerに設定します。
4.SearchIndexClientのDocuments.Suggestメソッドを呼び出して、DataSourceを渡します。
解決策は目標を満たしていますか?
注:この質問は同じシナリオを提示する一連の質問の一部です。叫び声の各質問は、述べられた目標を満たすかもしれないユニークな解決策を含みます。他の人が正しい解決策を持っていないかもしれない間、いくつかの質問セットは複数の正しい解決策を持つかもしれません。
このセクションで質問に答えた後は、それに戻ることはできません。その結果、これらの質問はレビュー画面に表示されません。
Margie's Travelは、海外旅行および予約管理サービスです。同社はレストランの予約へと拡大している。ソリューションに記載されているレストランにAzure Searchを実装するのはあなたです。
Azure Searchでインデックスを作成します。
Azure Search .NET SDKを使用して、レストランのデータをAzure Searchサービスにインポートする必要があります。
溶液:
1.検索インデックスに接続するためのSearchIndexClientオブジェクトを作成します。
2.追加する必要があるドキュメントを含むDataContainerを作成します。
3.DataSourceインスタンスを作成し、そのContainerプロパティをDataContamerに設定します。
4.SearchIndexClientのDocuments.Suggestメソッドを呼び出して、DataSourceを渡します。
解決策は目標を満たしていますか?
Correct Answer: B
QUESTION NO: 4
Microsoft Azure App ServiceのWebアプリ機能を使用して、ティアD1アプリサービスプランを使用するWebアプリを開発します。
トラフィックの急増により、ページの読み込み時間が長くなりました。
CPU負荷が約85%のときにWebアプリケーションが自動的に拡張され、コストが最小限に抑えられるようにする必要があります。
どの4つのアクションを順番に実行しますか?答えるには、適切な行動を行動のリストから回答領域に移動し、正しい順序で並べます。

Microsoft Azure App ServiceのWebアプリ機能を使用して、ティアD1アプリサービスプランを使用するWebアプリを開発します。
トラフィックの急増により、ページの読み込み時間が長くなりました。
CPU負荷が約85%のときにWebアプリケーションが自動的に拡張され、コストが最小限に抑えられるようにする必要があります。
どの4つのアクションを順番に実行しますか?答えるには、適切な行動を行動のリストから回答領域に移動し、正しい順序で並べます。

Correct Answer:

Explanation

Step 1: Configure the web app to the Standard App Service Tier
The Standard tier supports auto-scaling, and we should minimize the cost.
Step 2: Enable autoscaling on the web app
First enable autoscale
Step 3: Add a scale rule
Step 4: Add a Scale condidation
References:
https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-autoscale-get-started
https://azure.microsoft.com/en-us/pricing/details/app-service/plans/
QUESTION NO: 5
注:この質問は同じシナリオを提示する一連の質問の一部です。連載の各質問には、記載されている目標を達成できる可能性のある固有の解決策が含まれています。他の人が正しい解決策を持っていないかもしれない間、いくつかの質問セットは複数の正しい解決策を持つかもしれません。
このセクションで質問に回答した後は、それに戻ることはできません。その結果、これらの質問はレビュー画面に表示されません。
認証イベントがポリシーに従って起動され処理されるようにする必要があります。
解決策:新しいAzure Event Gridトピックを作成してイベントの購読を追加します。
解決策は目標を満たしていますか?
注:この質問は同じシナリオを提示する一連の質問の一部です。連載の各質問には、記載されている目標を達成できる可能性のある固有の解決策が含まれています。他の人が正しい解決策を持っていないかもしれない間、いくつかの質問セットは複数の正しい解決策を持つかもしれません。
このセクションで質問に回答した後は、それに戻ることはできません。その結果、これらの質問はレビュー画面に表示されません。
認証イベントがポリシーに従って起動され処理されるようにする必要があります。
解決策:新しいAzure Event Gridトピックを作成してイベントの購読を追加します。
解決策は目標を満たしていますか?
Correct Answer: B
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 6
Logポリシーがすべてのサービスに適用されるようにするには、EventGridController.csのEG15行目にコードを追加する必要があります。
どのようにしてコードを完成させるべきですか?回答するには、適切なコードセグメントを正しい場所にドラッグします。
各コードセグメントは、1回、2回以上、またはまったく使用されない可能性があります。コンテンツを表示するには、ペイン間の分割バーをドラッグするか、スクロールする必要があります。
注:それぞれ正しい選択は1ポイントの価値があります。

Logポリシーがすべてのサービスに適用されるようにするには、EventGridController.csのEG15行目にコードを追加する必要があります。
どのようにしてコードを完成させるべきですか?回答するには、適切なコードセグメントを正しい場所にドラッグします。
各コードセグメントは、1回、2回以上、またはまったく使用されない可能性があります。コンテンツを表示するには、ペイン間の分割バーをドラッグするか、スクロールする必要があります。
注:それぞれ正しい選択は1ポイントの価値があります。

Correct Answer:

Explanation

Box 1: Status
Box 2: Succeded
Box 3: operationName
Scenario: 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.
QUESTION NO: 7
あなたの会社はアプリケーションをAzureに移行しています。 IT部門は、社内の開発者がマイクロソフトのサポートと連絡できるようにする必要があります。
IT部門のサービス担当者は、表示リソースのみを持ち、すべての契約に対してサポートチケットのアクセス許可を作成する必要があります。デフォルトのロール定義を再利用し、権限を変更して、新しいカスタムロールを作成する必要があります。
カスタムロールを作成する必要があります。
回答するには、回答領域で適切なオプションを選択します。
注:それぞれ正しい選択は1ポイントの価値があります。

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

Correct Answer:

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
QUESTION NO: 8
Azure Cosmos DBを構成する必要があります。
どの設定を使うべきですか?回答するには、回答領域で適切なオプションを選択します。
注:それぞれ正しい選択は1ポイントの価値があります。

Azure Cosmos DBを構成する必要があります。
どの設定を使うべきですか?回答するには、回答領域で適切なオプションを選択します。
注:それぞれ正しい選択は1ポイントの価値があります。

Correct Answer:

Explanation

Box 1: Strong
When the consistency level is set to strong, the staleness window is equivalent to zero, and the clients are guaranteed to read the latest committed value of the write operation.
Scenario: Changes to the Order data must reflect immediately across all partitions. All reads to the Order data must fetch the most recent writes.
Note: You can choose from five well-defined models on the consistency spectrum. From strongest to weakest, the models are: Strong, Bounded staleness, Session, Consistent prefix, Eventual Box 2: SQL Scenario: You identify the following requirements for data management and manipulation:
Order data is stored as nonrelational JSON and must be queried using Structured Query Language (SQL).
QUESTION NO: 9
ログ容量の問題を解決する必要があります。
あなたは何をするべきか?
ログ容量の問題を解決する必要があります。
あなたは何をするべきか?
Correct Answer: C
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 10
ProcessingクラスのGetCredentialsメソッドを実装するには、Processing.esのPC32行でコードを追加する必要があります。
どのようにしてコードを完成させるべきですか?回答するには、適切なコードセグメントを正しい場所にドラッグします。
各コードセグメントは、1回、2回以上、またはまったく使用されない可能性があります。コンテンツを表示するには、ペイン間の分割バーをドラッグするか、スクロールする必要があります。
注:それぞれ正しい選択は1ポイントの価値があります。

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

Correct Answer:

Explanation

Acquiring an access token is then quite easy. Example code:
private async Task<string> GetAccessTokenAsync()
{
var tokenProvider = new AzureServiceTokenProvider();
return await tokenProvider.GetAccessTokenAsync("https://storage.azure.com/");
}
References:
https://joonasw.net/view/azure-ad-authentication-with-azure-storage-and-managed-service-identity




