注:この質問は同じシナリオを提示する一連の質問の一部です。連載の各質問には、記載されている目標を達成できる可能性のある固有の解決策が含まれています。他の人が正しい解決策を持っていないかもしれない間、いくつかの質問セットは複数の正しい解決策を持つかもしれません。
この質問で質問に答えた後は、それに戻ることはできません。その結果、これらの質問はレビュー画面に表示されません。
Margie's Travelは、海外旅行および予約管理サービスです。同社はレストランの予約へと拡大している。ソリューションに記載されているレストランにAzure Searchを実装するのはあなたです。
Azure Searchでインデックスを作成します。
Azure Search .NET SDKを使用して、レストランのデータをAzure Searchサービスにインポートする必要があります。
溶液:
1. SearchServiceClientオブジェクトを作成して検索インデックスに接続します。
2. 追加する必要があるドキュメントを含むDataContainerを作成します。
3. DataSourceインスタンスを作成し、そのContainerプロパティをDataContainerに設定します。
4. SearchServiceClientのDataSourcesプロパティを設定します。
解決策は目標を満たしていますか?
C#を使用して、Azure App ServiceがホストするASP.NET Core APIアプリを開発しています。 APIアプリにより、ユーザーはTwitterとAzure Active Directory(Azure AD)を使用して認証できます。
APIメソッドを呼び出す前に、ユーザーを認証する必要があります。各メソッド呼び出しのユーザー名を記録する必要があります。
APIメソッド呼び出しを構成する必要があります。
どの値を使用する必要がありますか?回答するには、回答エリアで適切なオプションを選択します。
注:それぞれの正しい選択には1ポイントの価値があります。


Explanation

+ Explanation:
Box 1: Authorize
Box 2: X-MS-CLIENT-PRINCIPAL-NAME
App Service passes user claims to your application by using special headers. External requests aren't allowed to set these headers, so they are present only if set by App Service. Some example headers include:
X-MS-CLIENT-PRINCIPAL-NAME
X-MS-CLIENT-PRINCIPAL-ID
Here's the set of headers you get from Easy Auth for a Twitter authenticated user:
{
"cookie": "AppServiceAuthSession=Lx43...xHDTA==",
"x-ms-client-principal-name": "evilSnobu",
"x-ms-client-principal-id": "35....",
"x-ms-client-principal-idp": "twitter",
"x-ms-token-twitter-access-token": "35...Dj",
"x-ms-token-twitter-access-token-secret": "OK3...Jx",
}
References:
https://docs.microsoft.com/en-us/azure/app-service/app-service-authentication-how-to
Azure App Service Web App for Containerを使用してDocker / Goを開発しています。あなたはLinux上のApp Serviceでコンテナを実行することを計画しています。使用するDockerコンテナーイメージを特定します。
現在のリソースグループはどれも、Linuxをサポートする場所にはありません。必要なリソースグループの数を最小限に抑える必要があります。
アプリケーションを作成して初期デプロイを実行する必要があります。
ソリューションを開発するためにどの3つのAzure CLIコマンドを使用する必要がありますか?回答するには、適切なコマンドをコマンドのリストから回答領域に移動して、正しい順序に並べます。


Explanation

You can host native Linux applications in the cloud by using Azure Web Apps. To create a Web App for Containers, you must run Azure CLI commands that create a group, then a service plan, and finally the web app itself.
Step 1: az group create
In the Cloud Shell, create a resource group with the az group create command.
Step 2: az appservice plan create
In the Cloud Shell, create an App Service plan in the resource group with the az appservice plan create command.
Step 3: az webapp create
In the Cloud Shell, create a web app in the myAppServicePlan App Service plan with the az webapp create command. Don't forget to replace with a unique app name, and <docker-ID> with your Docker ID.
References:
https://docs.microsoft.com/mt-mt/azure/app-service/containers/quickstart-docker-go?view=sql-server-ver15
都市でアルファベット順に並べ替えられているすべての注文明細を取得する必要があります。
どのようにしてコードを完成させるべきですか?回答するには、回答エリアで適切なオプションを選択してください。
注:それぞれ正しい選択は1ポイントの価値があります。


Explanation

Scenario:
Order data is stored as nonrelational JSON and must be queried using Structured Query Language (SQL). The Order data is stored in a Cosmos database.
認証イベントが認証イベントポリシーに従ってトリガーおよび処理されるようにする必要があります。
あなたは何をするべきか?
注:この質問は同じシナリオを提示する一連の質問の一部です。
シリーズの各質問には固有の解決策が含まれています。解決策が記載されている目標を満たしているかどうかを判断します。
仕入先通知要件を満たす必要があります。
解決策:クラウドベースのEメールサービスを使用してEメールを送信するようにDelivery APIを更新します。
解決策は目標を満たしていますか?
あなたの会社はアプリケーションをAzureに移行しています。 IT部門は、社内の開発者がマイクロソフトのサポートと連絡できるようにする必要があります。
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 API Managementインスタンスで通知を構成します。
解決策は目標を満たしていますか?
注:このセクションでは、同じシナリオと問題についての質問が1つ以上表示されます。それぞれの質問は問題に対する独自の解決策を提示します、そしてあなたは解決策が述べられた目標を満たすかどうか決定しなければなりません。複数の解決策が問題を解決するかもしれません。解決策のどれも問題を解決しないことはまた可能性のあるです。
このセクションで質問に答えた後は、それに戻ることはできません。その結果、これらの質問はレビュー画面に表示されません。
注:この質問は同じシナリオを提示する一連の質問の一部です。シリーズの各質問には固有の解決策が含まれています。解決策が記載されている目標を満たしているかどうかを判断します。
LabelMakerのアプリケーションセキュリティ要件を満たす必要があります。
解決策:RoleBindingを作成してAzure ADアカウントに割り当てます。
解決策は目標を満たしていますか?
注:この質問は、同じシナリオを提示する一連の質問の一部です。シリーズの各質問には、独自のソリューションが含まれています。ソリューションが規定の目標を満たしているかどうかを判断します。
いくつかのASP.Net Webアプリケーションを開発し、Azure App Serviceにデプロイしています。セッション状態情報とHTML出力を保存する予定です。次の要件を持つストレージメカニズムを使用する必要があります。
*すべてのASP.NET Webアプリケーションでセッション状態を共有する
*複数のリーダーと単一のライターの同じセッション状態データへの制御された同時アクセスをサポート
*同時リクエストの完全なHTTP応答を保存する
情報を保存する必要があります。
提案されたソリューション:Application Request Routing(ARR)を有効にする
ソリューションは目標を達成していますか?
Azure App Services Webアプリがあります。 Azure SQL Databaseインスタンス。 リソースグループ内のAzureストレージアカウントとAzure Redis Cacheインスタンス。
開発者は、コードをWebアプリに公開できる必要があります。 開発者にWebアプリへのContributeロールを付与する必要があります。ロールを付与する必要があります。
どの2つのコマンドを使用できますか? それぞれの正解は完全な解決策を提示します。
注:それぞれの正しい選択には1ポイントの価値があります。
Shipping Webサイトのエラーを解決する必要があります。
Azure Table Storageサービスをどのように構成する必要がありますか? 答えるには、適切なオプションを選択します
回答エリア。
注:それぞれの正しい選択には1ポイントの価値があります。


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.


ある会社がゲームプラットフォームを開発しています。ユーザーはチームに参加してオンラインでプレーしたり、選手の統計を含むリーダーボードを見ることができます。このソリューションには、Teamという名前のエンティティが含まれています。
ほとんど変更されないエンティティのデータ操作の効率を向上させるために、Azure Redis Cacheインスタンスを実装する予定です。
チームデータが変更されたときにキャッシュを無効にする必要があります。
どのようにしてコードを完成させるべきですか?回答するには、回答領域で適切なオプションを選択します。
注:それぞれ正しい選択は1ポイントの価値があります。


Explanation

Box 1: IDatabase cache = connection.GetDatabase();
Connection refers to a previously configured ConnectionMultiplexer.
Box 2: cache.StringSet("teams",")
To specify the expiration of an item in the cache, use the TimeSpan parameter of StringSet.
cache.StringSet("key1", "value1", TimeSpan.FromMinutes(90));
References:
https://azure.microsoft.com/sv-se/blog/lap-around-azure-redis-cache-preview/
あなたは自律輸送システムのためのソフトウェアソリューションを開発しています。このソリューションでは、大規模なデータセットとAzureバッチ処理を使用して、車両全体のナビゲーションセットをシミュレートします。
Azure Batchでソリューション用の計算ノードを作成する必要があります。
あなたは何をするべきか?